Re: Upgrade Version 1.1.21 to 2.1.2-4

From: A.Y. Sjarifuddin <ayip@dont-contact.us>
Date: Sat, 16 Jan 1999 18:58:26 +0700

Henrik Nordstrom wrote:
 
> Get the source SRPM.
>
> # Build RPM from SRPM
> rpm -i squid-2.1.2-4.srpm
> cd /usr/src/redhad/SPECS
> rpm -ba squid-2.1.2-4.spec
> (the spec file can be named something else.. there is not always version
> numbers in the spec file name..)
>
> # Install the freshly built RPM
> cd ../RPM/aplha/
> rpm -i squid-2.1.2-4.rpm
>

I've tried to rebuild the squid-2.1.2-4.src.rpm from
http://home.earthlink.net/~intrep/linux/

        rpm --rebuild squid-2.1.2-4.src.rpm

but I got the error message:

/usr/bin/install: anthony-xbm.gif: No such file or directory
/usr/bin/install -c -m 644 anthony-xpm.gif
/var/tmp/squid/etc/squid/icons
/usr/bin/install: anthony-xpm.gif: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/squid-2.1.PATCH2/icons'
make: *** [install] Error 1
Bad exit status from /var/tmp/rpm-tmp.25635 (%install)

what seem's to be the problem?

I'd like to be able using snmp and icmp so I edit the
/usr/src/redhat/SPECS/squid-2.1.2-4.spec:
  
%build
./configure \
  --prefix=/usr \
  --exec_prefix=/usr \
  --sysconfdir=/etc/squid
make all

becomes:
%build
./configure \
  --prefix=/usr \
  --exec_prefix=/usr \
  --sysconfdir=/etc/squid \
  --enable-snmp \
  --enable-icmp
make all

Thanks for any help.

Regards
-Ayip-
Received on Sat Jan 16 1999 - 05:08:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:03 MST