なるほど。 @${ECHO} "* This program has know security problems which may allow a remote *" @${ECHO} "* attacker to take control of your machine. *" @${ECHO} "* See FreeBSD security advisory 00:04 for more information. *" @${ECHO} "* *" @${ECHO} "* It is strongly recommended that you avoid using this program. *" @${ECHO} "* *" @${ECHO} "* If you would like to use this program despite the danger, run *" @${ECHO} "* make with ``FORCE_BUILD=YES'' *" って事なのね。
I have seen http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/29137 and security/tripwire seems to have been repo-copied to security/tripwire12. But security/tripwire heven't been updated yet. Why don't you update security/tripwire to the newest one we can get from sourceforge.net?
--- Makefile-4.4.orig Sun Jan 13 05:02:58 2002 +++ Makefile-4.4 Sun Jan 13 05:11:43 2002 @@ -29,7 +29,7 @@ -[ ! -d $(ROOTDIR) ] && mkdir $(ROOTDIR) -for f in $(INITDIRS); do [ ! -d $(ROOTDIR)$$f ] && mkdir $(ROOTDIR)$$f ; done chmod 777 $(ROOTDIR)/tmp - -for f in $(COPYFILES); do (cd / ; tar cpf - `echo $$f | sed -e 's/^////'` ) | tar xpvf - -C $(ROOTDIR) ; done + -for f in $(COPYFILES); do tar cpf - $$f | tar xpvf - -C $(ROOTDIR) ; done
/usr/lib/libc.so.4: WARNING! setkey(3) not present in the system! /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! ../libmsn/libmsn.a(msn_commands.o): In function `MsnConvertMessage': msn_commands.o(.text+0xc82): undefined reference to `iconv_open' msn_commands.o(.text+0xd32): undefined reference to `iconv' msn_commands.o(.text+0xd9b): undefined reference to `iconv_close' gmake[1]: *** [everybuddy] エラー 1 gmake[1]: 出ます ディレクトリ `/usr/home/*/everybuddy/work/everybuddy-0.2.1beta6/src' gmake: *** [all-recursive] エラー 1 *** Error code 2
cat /usr/ports/mail/courier-imap/pkg-comment IMAP (and POP3) server that provides access to Maildir mailboxes と cat /usr/ports/mail/courier/pkg-comment Courier SMTP IMAP POP3 HTTP mail server suite
まあ、難しいことを考えないのなら、 ftp://ftp?.jp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4-stable/emulators/linux_base-7.1.tgz をインストールすりゃいいんだろうけど、多分4.4-RELEASE以前だと うまく動かないと思う。 だから、cvsup & make world で最新の-stableに上げる or 4.5-RC2を入れる or 今月末には出るであろう4.5-RELEASEを入れる必要もアリ。
> comm_open: socket failure: (55) No buffer space available
netstat -m の結果 > 1/272/2560 mbufs in use (current/peak/max): > 1 mbufs allocated to data > 0/192/640 mbuf clusters in use (current/peak/max) > 452 Kbytes allocated to network (23% of mb_map in use) > 0 requests for memory denied > 0 requests for memory delayed > 0 calls to protocol drain routines
(1) 33:#include <iconv.h> (2) 64:#include <iconv.h> (3) #make > logfile #grep -n iconv logfile | grep -v lgiconv をしましたが、何もえでませんでした。 ちなみにmakeのエラーは、 sound.o: In function `playsoundfile': sound.o(.text+0x571): warning: tempnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: WARNING! setkey(3) not present in the system! /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so.4: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so.4: WARNING! des_cipher(3) not present in the system! ../libmsn/libmsn.a(msn_commands.o): In function `MsnConvertMessage': msn_commands.o(.text+0xc82): undefined reference to `iconv_open' msn_commands.o(.text+0xd32): undefined reference to `iconv' msn_commands.o(.text+0xd9b): undefined reference to `iconv_close' gmake[1]: *** [everybuddy] エラー 1 gmake[1]: 出ます ディレクトリ `/usr/home/mako/ja-everybuddy/work/everybuddy-0.2.1beta6/src' gmake: *** [all-recursive] エラー 1 *** Error code 2
Stop in /usr/home/mako/ja-everybuddy. *** Error code 1
Stop in /usr/home/mako/ja-everybuddy. *** Error code 1
/usr/ports/japanese/vfghostscript55 をいれようとしてんだけど、 いっつも Attempting to fetch from ftp://ftp.kddlabs.co.jp/pub/gnu/./. fetch: gdevmjc-0.8.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.chg.ru/pub/gnu/./. fetch: gdevmjc-0.8.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.dnsbalance.ring.gr.jp/pub/GNU/./. fetch: gdevmjc-0.8.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from http://www.dnsbalance.ring.gr.jp/archives/GNU/./. fetch: gdevmjc-0.8.tar.gz: Not Found と言う感じで、いろんなサーバをたらいまわしにされます。
まず、portsは昨日 #rm -r /usr/ports してから、最新版を入れ直しました。 ので、 Make sure the Makefile and distinfo file (/usr/ports/print/ghostscript-gnu/distinfo) are up to date. は僕はパスしているはずです。
次に If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". ですが、これがいまいちわかりません。 助けて下さい。
エラー内容は、以下です。 Make sure the Makefile and distinfo file (/usr/ports/print/ghostscript-gnu/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1
POPS は、このパッケージ選びとインストールという苦痛をや藁げてくれます。 All you have to do is to run an install script. もちろん、POPSは完璧なシステムではありませんが、自分で道を切り開いて いかなければならない平均的なユーザにはとっても助けになります。
# make distclean ===> Cleaning for gettext-0.10.35_1 ===> Cleaning for gmake-3.79.1 ===> Cleaning for libtool-1.3.4_2 ===> Cleaning for jpeg-6b_1 ===> Cleaning for png-1.2.1 ===> Cleaning for ja-kochi-ttfonts-20020117 ===> Cleaning for ghostscript-gnu-6.52_4 ===> Cleaning for ghostscript-gnu-cjk-6.52 ===> Cleaning for XFree86-3.3.6_10 ===> Cleaning for ja-ghostscript-gnu-cjk-6.52 ===> Deleting distfiles for ja-ghostscript-gnu-cjk-6.52
# make fetch (単にプロンプトが帰って来る)
そして # make install してみました。
でもこのようなエラーがでます。
Make sure the Makefile and distinfo file (/usr/ports/print/ghostscript-gnu/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1
Stop in /usr/ports/print/ghostscript-gnu. *** Error code 1
Stop in /usr/ports/print/ghostscript-gnu. *** Error code 1
Stop in /usr/ports/print/ghostscript-gnu. *** Error code 1 Stop in /usr/ports/print/ghostscript-gnu. *** Error code 1
Stop in /usr/ports/print/ghostscript-gnu-cjk. *** Error code 1
Stop in /usr/ports/print/ghostscript-gnu-cjk. *** Error code 1
Stop in /usr/ports/print/ghostscript-gnu-cjk. *** Error code 1
Stop in /usr/ports/japanese/ghostscript-gnu-cjk. *** Error code 1
Stop in /usr/ports/japanese/ghostscript-gnu-cjk. *** Error code 1
zemacs で cannaを起動すると (1)(xim-xlib/warning)can't set locale Using C locale instead っていわれます。 実際はcannaはつかえるので支障はきたさないのですが、 起動時のバッファが2つに分割されるのがう財ので何とかなりませんかねぇ
$ LANG=ja_JP.SJIS perl -v perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = "ja_JP.SJIS" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
This is perl, v5.6.0 built for i386-freebsd (with 1 registered patch, see perl -V for more detail)
SiS630Eマザーなのですけど音が出なくて困ってます。 使っているのはFreeBSD 4.5RCで dmesgでは >pcm0: <SiS 7018> port 0xd000-0xd0ff mem 0xea000000-0xea000fff irq 10 at device 1.4 on pci0 として認識してます。 が、再生しようとすると >pcm0: play interrupt timeout, channel dead と言われてしまいます。 私はどうしたら良いのでしょうか?(涙
>>524 亀レスでスマソ atapci1: <Promise TX2 ATA100 controller> port 0xb000-0xb00f,0xb400-0xb403,0xb800 -0xb807,0xd000-0xd003,0xd400-0xd407 mem 0xe7000000-0xe7003fff irq 9 at device 9. 0 on pci0 ata2: at 0xd400 on atapci1 ata3: at 0xb800 on atapci1 ad0: 3079MB <QUANTUM FIREBALL ST3.2A> [6256/16/63] at ata0-master UDMA33 ad4: 76319MB <MAXTOR 4K080H4> [155061/16/63] at ata2-master UDMA100 こにゃにゃかんじ。 ちなみにカーネルはGENERICのままだよん。
IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled Kernel firewall module loaded Flushed all rules. ip_fw_ctl: invalid command ipfw: getsockopt(IP_FW_ADD) : Invalid argument 00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0 /8
00300 deny ip from 127.0.0.0 /8 to any
65000 allow ip from any to any
Firewall rules loaded, starting divert daemons: natd Jan 27 22:54:44 natd[198]: Aliasing to 192.168.80.182, mtu 1500 bytes . Additional routing options: IP gateway=YES TCP keepalive=YES
Jan 28 02:52:41 www su: hogehoge to root on /dev/ttyp2 Jan 27 18:01:00 www su: _secure_path: cannot stat /etc/login.conf: Permission denied Jan 27 18:01:00 www uustat: /etc/pwd.db: Permission denied Jan 28 03:12:48 www su: hogehoge to root on /dev/ttyp2
su-2.05a# make install clean >> kinput2-v3.1-beta2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from ftp://ftp.sra.co.jp/pub/x11/kinput2/. fetch: kinput2-v3.1-beta2.tar.gz: Connection refused >> Attempting to fetch from ftp://ring.asahi-net.or.jp/pub/FreeBSD/ports/distfiles/. fetch: kinput2-v3.1-beta2.tar.gz: File unavailable (e.g., file not found, no access) >> Couldn't fetch it - please try to retrieve this >> port manually into /usr/ports/distfiles/ and try again. *** Error code 1
# make install clean ===> Extracting for ja-man-doc-4.5 You need the Japanese manual source in "/usr/opt/doc/ja_JP.eucJP/man" in order to build this port. *** Error code 1
%bsetbg tempfile: not found bsetbg: /home/guest/.bsetbgrc not found, creating... bsetbg: checking for display... not found. bsetbg: checking for Esetroot... not found. bsetbg: checking for wmsetbg... not found. bsetbg: checking for xv... /usr/X11R6/bin/xv /usr/X11R6/bin/bsetbg: cannot create : directory nonexistent %
===> everybuddy-0.2.1b6 depends on executable: gmake - found ===> everybuddy-0.2.1b6 depends on executable: automake - found ===> everybuddy-0.2.1b6 depends on executable: autoconf - found ===> everybuddy-0.2.1b6 depends on executable: bison - found ===> everybuddy-0.2.1b6 depends on shared library: giconv.2 - found ===> everybuddy-0.2.1b6 depends on shared library: X11.6 - found ===> everybuddy-0.2.1b6 depends on shared library: glib12.3 - found ===> everybuddy-0.2.1b6 depends on shared library: gtk12.2 - found (中略) /usr/ports/net/everybuddy/work/everybuddy-0.2.1beta6: permission denied (中略) ../libmsn/libmsn.a(msn_commands.o): In function `MsnConvertMessage': msn_commands.o(.text+0xc82): undefined reference to `iconv_open' msn_commands.o(.text+0xd32): undefined reference to `iconv' msn_commands.o(.text+0xd9b): undefined reference to `iconv_close' gmake[1]: *** [everybuddy] エラー 1 gmake[1]: 出ます ディレクトリ `/usr/ports/net/everybuddy/work/everybuddy-0.2.1be ta6/src'
[root@host059]/usr/local/apache/bin/apxs -i -I/usr/local/include -L/usr/local/lib -l giconv -c mod_encoding.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include -I/usr/local/in clude -c mod_encoding.c mod_encoding.c: In function `iconv_string': mod_encoding.c:162: warning: passing arg 2 of `iconv' from incompatible pointer type mod_encoding.c: At top level: mod_encoding.c:383: warning: initialization from incompatible pointer type gcc -shared -o mod_encoding.so mod_encoding.o -L/usr/local/lib -lgiconv cp mod_encoding.so /usr/local/apache/libexec/mod_encoding.so chmod 755 /usr/local/apache/libexec/mod_encoding.so
おまけに、Apacheも起動しない。 [root@host059]/usr/local/apache/bin/apachectl configtest Syntax error on line 208 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_encoding.so into server: /usr/local/apache/libexec/mod_encoding.so: Undefin ed symbol "iconv_open"
とりあえず、iconvでもとにもどす。 [root@host059]/usr/local/apache/bin/apxs -i -I/usr/local/include -L/usr/local/lib -l iconv -c mod_encoding.c gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/local/apache/include -I/usr/local/in clude -c mod_encoding.c mod_encoding.c: In function `iconv_string': mod_encoding.c:162: warning: passing arg 2 of `iconv' from incompatible pointer type mod_encoding.c: At top level: mod_encoding.c:383: warning: initialization from incompatible pointer type gcc -shared -o mod_encoding.so mod_encoding.o -L/usr/local/lib -liconv cp mod_encoding.so /usr/local/apache/libexec/mod_encoding.so chmod 755 /usr/local/apache/libexec/mod_encoding.so
iconvにしたら、テストok [root@host059]/usr/local/apache/bin/apachectl configtest Syntax OK
pkg_info抜粋 bash-2.05 The GNU Bourne Again Shell ja-groff-1.17.2_1 Japanese enhancement of GNU groff ja-less+iso-358.254_1 Less + zcat + ISO-2022 - a pager similar to more and pg ja-ls-0.2 Japanized ls
ndtp.c: In function `command_XS': ndtp.c:1881: warning: passing arg 2 of `eb_forward_text' from incompatible pointer type ndtp.c:1896: `EB_ERR_END_OF_CONTENT' undeclared (first use in this function) ndtp.c:1896: (Each undeclared identifier is reported only once ndtp.c:1896: for each function it appears in.) *** Error code 1
Stop in /home/mona/ndtpd-3.1beta0/src. *** Error code 1
Stop in /home/mona/ndtpd-3.1beta0/src. *** Error code 1
Stop in /home/mona/ndtpd-3.1beta0. *** Error code 1
どうすれば上手くmakeが通るか教えてください。 FreeBSD4.5Rです。
891 名前: 890 投稿日: 02/02/02 15:13
もし、出したログの部分が的外れだっら指摘してください。 行が長過ぎると怒られたのでndtp.c: In function `command_XS': より上は割愛しました。
% make gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -g -O2 -c eblook.c eblook.c:221: `EB_HOOK_STOP_CODE' undeclared here (not in a function) eblook.c:221: initializer element is not constant eblook.c:221: (near initialization for `text_hooks[4].code') eblook.c: In function `hook_stopcode': eblook.c:1646: `EB_ERR_STOP_CODE' undeclared (first use in this function) eblook.c:1646: (Each undeclared identifier is reported only once eblook.c:1646: for each function it appears in.) *** Error code 1
Stop in /home/naoya/eblook-1.5.
となってしまいました。 ./configureの時に
checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing