gcc -DHAVE_CONFIG_H -I. -I. -I../../libgphoto2 -I../../libgphoto2_port/libgphoto2_port -I../../libgphoto2 -g -O2 -g -Wall -Wmissing-declarations -Wmissing-prototypes -c ptp.c -Wp,-MD,.deps/ptp.TPlo -fPIC -DPIC -o .libs/ptp.lo In file included from ptp.c:22: ptp.h:139: syntax error before `__u32' ptp.c:179: warning: no previous prototype for `ptp_transaction' ptp.c:360: warning: no previous prototype for `ptp_deleteobject' ptp.c: In function `ptp_getobjectfilename': ptp.c:376: structure has no member named `filenamelen' ptp.c: In function `ptp_getobjectcapturedate': ptp.c:384: structure has no member named `filenamelen' ptp.c: At top level: ptp.c:52: warning: `ptp_debug' defined but not used gmake[2]: *** [ptp.lo] エラー 1 gmake[2]: 出ます ディレクトリ `/root/gphoto2/camlibs/ptp' gmake[1]: *** [all-recursive] エラー 1 gmake[1]: 出ます ディレクトリ `/root/gphoto2/camlibs' gmake: *** [all-recursive] エラー 1
pci0: <S3 model 8c12 graphics accelerator> at 4.0 irq 11 ata0: at 0x1f0 irq 14 on atapci0 ohci0: <AcerLabs M5237 (Aladdin-V) USB controller> mem 0xdfffe000-0xdfffefff irq 10 at device 20.0 on pci0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio1: configred irq 3 not in bitmap of probed irqs 0
>>165 /usr/ports/japanese/{gnome,kde2}/pkg-descrの Use this port before using /usr/ports/x11/{gnome,kde2}. Use the packages from this port after the original packages. もいかがなものかと思いますな。(しょうがないんだけど)
>>167 それには同意。極端に言えば.gr.jpの連中の.orgへのコミットが浅いのが原因かも。 ただ、 > Use this port before using /usr/ports/x11/{gnome,kde2}. > Use the packages from this port after the original packages. この問題はちょっと違ってて(ゴメン)、/usr/ports/x11/{gnome,kde2}がdepend してるパッケージに/usr/ports/japanese/{gnome,kde2}でもdependしちゃえば 順番に気を使う必要がなくて、よりfool proofなんじゃないかなってこと。 Linuxだと何も考えなくてもいいのにFreeBSDに来た途端↓みたいなことに なったらお客さん逃げちゃうよ。
old format database is present; use --rebuilddb to generate a new format database エラー: cannot open /compat/linux/var/lib/rpm/packages.rpm *** Error code 1
Stop in /usr/ports/devel/linux-libglade. *** Error code 1
# make >> communicator-v478-us.x86-unknown-freebsd.tar.gz is not in /usr/ports/www/netscape47-communicator/../netscape4-communicator/distinfo. >> Either /usr/ports/www/netscape47-communicator/../netscape4-communicator/distinfo is out of date, or >> communicator-v478-us.x86-unknown-freebsd.tar.gz is spelled incorrectly. *** Error code 1
Stop in /usr/ports/www/netscape47-communicator. *** Error code 1
>>179 あれ? うちだと % pwd /usr/ports/www/netscape47-communicator % make ===> netscape-communicator-4.76 is forbidden: Has a serious security hole, use 4.77 or later instead. (These ports are available only for linux version and alpha arch. Looks Netscape has stopped to release new FreeBSD native binary). こうなるよ。Makefileは4.4.0-RELEASEから変更されてないみたい。 >>177が、存在するはずのないx86用の4.78をfetchしようとしてるところが気になる。
# cd /usr/ports/www/linux-netscape47-communicator # make # make install ===> Installing for linux-netscape-communicator-4.78 ===> linux-netscape-communicator-4.78 depends on file: /compat/linux/lib/ld.so - found ===> linux-netscape-communicator-4.78 depends on executable: netscape - found ===> linux-netscape-communicator-4.78 depends on shared library: X11.6 - found ELF binary type "0" not known. *** Signal 6
Stop in /usr/ports/www/linux-netscape47-communicator. *** Error code 1
Stop in /usr/ports/www/linux-netscape47-communicator. *** Error code 1
Stop in /usr/ports/www/linux-netscape47-communicator. #
/usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider using mkstemp() configure:9951: checking for langinfo.h configure:9961: cc -E -I/usr/local/include -D_THREAD_SAFE -I/usr/X11R6/include/gtk12 -I/usr/local/in clude/glib12 -I/usr/local/include -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out configure:9957: langinfo.h: No such file or directory configure: failed program was: #line 9956 "configure" #include "confdefs.h" #include <langinfo.h> configure:9992: checking for giconv.h configure:10002: cc -E -I/usr/local/include -D_THREAD_SAFE -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out configure:10033: checking for libxml (aka gnome-xml) libraries 1.8.14 <= version < 2.0.0 configure:10056: checking for perl configure:10085: checking for perl ExtUtils::Embed module configure:10140: checking for python configure:10190: checking if we can build a shared library depending on libpython configure:10234: checking for libole2 >= 0.2.4 (end of "config.log") *** Error code 1
Stop in /usr/ports/japanese/gnumeric. *** Error code 1
Stop in /usr/ports/japanese/gnumeric. *** Error code 1
>>214 man xhost ぐらいすれ。 ちなみに xhost localhost すると、localhost のユーザーなら 誰でもあんたのみている画面にいたずらできるぞ。 while true; do xsetroot -solid red xsetroot -solid blue done なんてやられた日には、泡吹いて気絶だ… (部屋は暗くしてみてね)
sc0: <System consoke> at flags 0*100 on isa0 sc0 VGA<16 virtual consoles, flags 0*10 on isa0 sio0 at port 0*3f8-0*3ff irq 4 flags 0*10 on isa0 sio0: type 16550A sio1 at port 0*2f8-0*2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0*378-0*37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 Lpt0: <Printer> on ppbus0 Lpt0: Interrupt-driven port ppi0: <parallel I/O> on ppbus0 ad0: 19623MB <IBM-DTLA-305020> [39870/16/63] at ata0-master UDMA100 acd0: CD-RW<DVD/CDRW RW9120> at ata1-master using PIO4 Mounting root from ufs:/dev/ad0s1a WARNING: /mnt was not properly dismounted swapon: adding /dev/ad0s1b as swap device Automatic boot in progress... /dev/ad0s1a: LINK COUNT FILE I=6273 OWNER=root MODE=20640 /dev/ad0s1a SIZE=0 MTIME=Dec 25 06:12 2001 COUNT 1 SHOULD BE 2 /dev/ad0s1a LINK COUNT INCREASING /dev/ad0s1a UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Automatic file system check failed . . . help! Enter full pathname of shell or RETURN for /bin/sh:
> -mcpu=cpu type > 命 令をスケジューリングする際のマシンタイプのデフォ > ルトを設定します。 CPU TYPE の選択肢は i386, i486, > i586 (pentium), pentium, i686 (pentiumpro), および > pentiumpro です。ある CPU TYPE を選ぶと、その 特 定 > チッ プに適するようにスケジューリングを行いますが、 > -march=cpu type オプションを指定しない限り、コン パ > イ ラは i386 で実行できないようなコードは生成しませ > ん。
> -march=cpu type > マシンタイプ CPU TYPE 用に命令を生成し ま す。 CPU > TYPE の 選択肢は i386, i486, pentium, および pen- > tiumpro です。 -march=cpu type を 指 定 す >る と > -mcpu=cpu type も指定されたものとみなします。
>>393 ちなみに続けたらこうだった。 Reconnect? [yn] n Clear? [yn] n Lost cluster chain at cluster 248248 1 Cluster(s) lost Reconnect? [yn] n Clear? [yn] n 81559 files, 683984 free (567037 clusters), 1120 bad (70 clusters) ダメダメというほどじゃないけどダメじゃん...
===> Generating temporary packing list postfix: fatal: My hostname P2B-F is not a fully qualified name - set myhostname or mydomain in /usr/local/etc/postfix/main.cf *** Error code 1
>>507 たとえば、MHフォルダ~/Mail/foo/の中身を~/Maildir/.foo/に一気にコピー したいなら、 for file in ~/Mail/foo/[0-9]*; do safecat ~/Maildir/.foo/tmp ~/Maildir/.foo/new < $file done でOK。未読じゃなくて既読にしたいならnewじゃなくてcurね。
wgetが~ -> %7Eに変換してしまうのはバグに近い仕様で、今後もどう転ぶかわかりません。 src/url.cにパッチをあてて変換しないようにしてしまうのが一番楽です。 --- src/url.c.orig Mon May 28 04:35:10 2001 +++ src/url.c Thu Jun 7 15:14:34 2001 @@ -166,7 +166,7 @@ U, 0, 0, 0, 0, 0, 0, 0, /* ` a b c d e f g */ 0, 0, 0, 0, 0, 0, 0, 0, /* h i j k l m n o */ 0, 0, 0, 0, 0, 0, 0, 0, /* p q r s t u v w */ - 0, 0, 0, U, U, U, U, U, /* x y z { | } ~ DEL */ + 0, 0, 0, U, U, U, 0, U, /* x y z { | } ~ DEL */
U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U, U,
zh-big5fs-2.1_1|/usr/ports/chinese/big5fs|/usr/local|Reads Big5 filenames on Joliet, VFAT and NTFS filesystems|/usr/ ports/chinese/big5fs/pkg-descr|keith@FreeBSD.org|chinese|||
ファイルを覗いてみると #ISA Ethernet NICs. #'device ed' requires 'device miibus' device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 device ex device ep DEVice fe0 at isa? port 0x300 ←198行目
xf86Kbd.c: In function `xf86KbdGetMapping': xf86Kbd.c:242: syntax error before `keymap' xf86Kbd.c:250: `KDGKBTYPE' undeclared (first use in this function) xf86Kbd.c:250: (Each undeclared identifier is reported only once xf86Kbd.c:250: for each function it appears in.) xf86Kbd.c:250: `KB_101' undeclared (first use in this function) xf86Kbd.c:251: `KB_84' undeclared (first use in this function) xf86Kbd.c:265: `GIO_KEYMAP' undeclared (first use in this function) xf86Kbd.c:265: `keymap' undeclared (first use in this function) *** Error code 1
>>767 # cd /usr/src/sys/i386/conf # vi YOURKERNEL ------------------------------------------------------------------------ : : # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O : : ------------------------------------------------------------------------ Save... # config -r YOURKERNEL # cd ../../YOURKERNEL # make depend;make # make install # reboot
質問2: ゲートウェイでnfsdを動かして、クライアントから接続しようとした場 合、どのポートを開ける必要があるのでしょ? pass tcp from any to any to any established pass tcp from any to 10.10.10.10 22 setup deny ip from any to any の状態で、 ipfw add pass tcp from any to 10.10.10.10 2049 setup とかやってもだめでした。
FreeBSDでSCSI over IPのストレージBOX作りたいのですが、 既に誰かやっていますか?無ければ、ストレージ箱側とクライアント側 のドライバを書くつもりなのですが。
789 名前: 名無しさん@お腹いっぱい。 投稿日: 02/01/08 15:36
>>784 まず、nfsdだったらUDPの2049番もあけてやる必要があるよ。 次にipfwはファーストマッチルールなので、ルール番号を明示していない場合は 設定した順、記述した順にチェックされる。 #ipfw l でルール一覧を出したとき、tcpおよびudpの2049番を空けるルールが deny ip from any to anyより後に設定されていないか念のために見ておいた ほうがいい。
あと、ゲートウェイになるマシンならviaで内側のインタフェイス経由の 接続しか受け付けない設定にしたほうがいいと思うぞ。 allow tcp from 内側のネットワークアドレス to 10.10.10.10 2049 via 内側のインタフェイス名 みたいに設定した方が安全。
options PMAP_SHPGPERPROC=xxx この設定なんですが、値はどれくらいにすればいいんでしょうかね。 # Set the number of PV entries per process. Increasing this can # stop panics related to heavy use of shared memory. However, that can # (combined with large amounts of physical memory) cause panics at # boot time due the kernel running out of VM space. って書いてあるので、なかなか踏み切れません(サーバーはリモートで管理しているので) 1Gのメモリー積んでいます。
>>900 mount -t nfs -t msdos aho:/mnt/win /win mount: only one -t option may be specified だめみたいでした。 mount -t nfs msdos aho:/mnt/win /win これもだめでした。 なんか別にソフトが必要とかないですよね?
>>10 をみて portからeverybbudyインストールしました。 その後、起動しようとすると、 $ everybuddy Cant open old account file: No such file or directory Can't open contact file(/home/mako/.everybuddy/contacts) for reading: No such file or directory length_contact_window=16
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkEntry'
$ everybuddy Cant open old account file: No such file ordirectory Can't open contact file(/home/mako/.everybuddy/contacts) for reading: No such file ordirectory length_contact_window=16Gtk-WARNING **: invalid cast from(NULL) pointer to `GtkEntry'Gtk-CRITICAL **: file gtkentry.c: line534 (gtk_entry_get_text): assertion `entry != NULL' failed. セグメントエラー (coreを出力しました) となってしまいます。どうやったら正常に動くでしょうか? 未熟な僕におしえてください。