【Squid FAQ】 最終更新日:2003-04-18
【D-netプランページへ】【Squid Homeへ】 【FAQトップへ】
# tar xzf squid-1.1.21-src.tar.gz [Enter]
# cd squid-1.1.21 [Enter]
# make [Enter]
# make install [Enter]
# tar xzf squid-2.5.STABLE2.tar.gz [Enter]
# cd squid-2.5.STABLE2 [Enter]
# ./configure --enable-err-language=Japanese [Enter]
# make [Enter]
# make install [Enter]
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local/squid]
--enable-dlmalloc[=LIB] Compile & use the malloc package by Doug Lea
--enable-gnuregex Compile GNUregex
--enable-splaytree Use SPLAY trees to store ACL lists
--enable-xmalloc-debug Do some simple malloc debugging
--enable-xmalloc-debug-trace
Detailed trace of memory allocations
--enable-xmalloc-statistics
Show malloc statistics in status page
--enable-carp Enable CARP support
--enable-async-io Do ASYNC disk I/O using threads
--enable-icmp Enable ICMP pinging
--enable-delay-pools Enable delay pools to limit bandwith usage
--enable-mem-gen-trace Do trace of memory stuff
--enable-useragent-log Enable logging of User-Agent header
--enable-kill-parent-hack
Kill parent on shutdown
--enable-snmp Enable SNMP monitoring
--enable-cachemgr-hostname[=hostname]
Make cachemgr.cgi default to this host
--enable-arp-acl Enable use of ARP ACL lists (ether address)
--enable-htpc Enable HTCP protocol
--enable-forw-via-db Enable Forw/Via database
--enable-cache-digests Use Cache Digests
see http://www.squid-cache.org/Doc/FAQ/FAQ-16.html
--enable-err-language=lang
Select language for Error pages (see errors dir)
あなたのシステムの中にGNU CコンパイラとPerlはインストール済みですか? コンパイルにはPerlも必要です。
bind8をシステムにインストールしてある場合、DNSライブラリの中には、Squidとの組み合わせが悪いバージョンがあります。
あなたシステムのGCCが古くないですか?
% gcc -v [Enter]
を実行してGCCのバージョンを確認してください。
2.7.2より古いものを使っているならGCCをバージョンアップしてください。
SolarisのCがインストールされていないシステムでGCCでSquidをコンパイルすると、エラーとなる
/usr/bin/rm -f libmiscutil.a
/usr/bin/false r libmiscutil.a rfc1123.o rfc1738.o util.o ...
make[1]: *** [libmiscutil.a] Error 255
make[1]: Leaving directory `/tmp/squid-1.1.11/lib'
make: *** [all] Error 1
2行目の /usr/bin/false で ar を利用しています。 arが発見できなかったことによるエラーです。
以下のどちらかの方法で対応してください。
・/usr/ccs/bin をPATHに加えて下さい。もしこのディレクトリにarが存在しないなら、合わせて SUNWbtool をインストールしてください。
・GNUのFTPサイトから binutils パッケージを入手してインストールしてください。 このパッケージの中にはar, as, ldが組み込まれています。
【D-netプランページへ】【Squid Homeへ】 【FAQトップへ】
Copyright© 1998-2003 ROBATA.ORG