Trying to compile Squid 2.4.PRE-STABLE on Linux Red Hat 7.0
The configure parameters were these:
[root@stantz squid-2.4.PRE-STABLE]# ./configure
--prefix=/usr/local/squid --bindir=/usr/local/squid/usr/sbin
--libexecdir=/usr/local/squid/usr/lib/squid
--localstatedir=/usr/local/squid/var
--sysconfdir=/usr/local/squid/etc/squid --enable-poll --enable-snmp
--enable-removal-policies --enable-delay-pools --enable-icmp
--enable-store-io=ufs,null,diskd
(you might notice a weird directory structure, but i'm doing this for
preparing a binary package, and i have to do some tests in an isolated
directory tree)
When i "make install" i got this error:
mkdir /usr/local/squid
mkdir /usr/local/squid/usr/sbin
mkdir: cannot create directory `/usr/local/squid/usr/sbin': No such file
or directory
make[1]: *** [install] Error 255
make[1]: Leaving directory `/root/work/squid-2.4.PRE-STABLE/scripts'
make: *** [install] Error 1
Probably "mkdir -p" should be used instead.
After manually creating missing parent director (/usr/local/squid/usr),
the child director was created fine. But then i got another error:
/usr/bin/install -c -m 644 ./mib.txt /usr/local/squid/etc/squid/mib.txt
/usr/bin/install: cannot create regular file
`/usr/local/squid/etc/squid/mib.txt': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/root/work/squid-2.4.PRE-STABLE/src'
make: *** [install] Error 1
After manually creating /usr/local/squid/etc/squid all errors were
gone. However, i really think the installer must be corrected.
-- Florin Andrei -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Tue Jan 16 2001 - 13:43:32 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:28 MST