Stuggling with 3.5.16 on FreeBSD-9.3

Odhiambo Washington odhiambo at gmail.com
Wed Apr 13 18:09:18 UTC 2016


On 13 April 2016 at 20:06, Charles Swiger <cswiger at mac.com> wrote:

> On Apr 13, 2016, at 7:54 AM, Odhiambo Washington <odhiambo at gmail.com>
> wrote:
> > I am struggling to compile squid-3.5.16. I just have to find a way to
> make
> > it compile and run, by all means.
>
> Using the FreeBSD port would likely save time.  Failing that, install the
> squid port which came with the FreeBSD 9.3 ISO image.
>
> A quick check suggests a mirror is here:
>
>
> http://flashback.sorbs.net/packages/pub/FreeBSD/ports/amd64/packages-9.3-release/www/squid-3.5.6.tbz
>
> ...since it looks like the precompiled packages for 9.3 are gone from the
> FreeBSD site from:
>
>   ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/
>
> Regards,
> --
> -Chuck
>

The ports has squid-3.3.x  instead of 3.5.16.
And I don't like the precompiled packages because the options used quite
often doesn't match what I want.

The best option would be me to get past whatever is the show-stopper with
my building-by-hand process.

Having updated FreeBSD from 8.4->9.3 using the guidelines from:*
https://people.freebsd.org/~rse/upgrade/freebsd-upgrade-8x-9x.txt
<https://people.freebsd.org/~rse/upgrade/freebsd-upgrade-8x-9x.txt>*, I am
left wondering how I need to get rid of all the old libs lying around, like
the gssapi types gssapi-krb5, etc.. How do I update these to the current
versions or get rid of the archaic versions?
make delete-old & make-delete-old-libs do it.

The following snippets of the guide should have done that:

$ ( for dir in /lib /usr/lib; do \
      find $dir -mtime +2 -type f -xdev -print; \
      find $dir -mtime +2 -type l -xdev -print; \
      done ) | grep -v /usr/lib/compat >/tmp/move
  $ vi /tmp/move
  # REVIEW FILES TO MOVE MANUALLY
  $ for x in `cat /tmp/move`; do chflags noschg $x; mv $x /usr/lib/compat/; done
  $ cd /usr/src; make BATCH_DELETE_OLD_FILES=YES delete-old delete-old-libs

 But I still see old libs and header files still lying around.






-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


More information about the freebsd-questions mailing list