Re: [squid-users] Failure to compile Squid3 Port on FreeBSD 6.2-STABLE

From: Washington Odhiambo <odhiambo@dont-contact.us>
Date: Thu, 27 Sep 2007 13:10:25 +0300

I have textproc/expat2, so I don't think this is the issue.
What else should I check?

On 9/27/07, Amos Jeffries <squid3@treenet.co.nz> wrote:
> > Washington Odhiambo wrote:
> >> Hello pple,
> >>
> >> I am using the ports to install squid3. below is how it fails.
> >>
> >>
> >>
> >> <snip>
> >> c++ -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments
> >> -D_REENTRANT -O2 -fno-strict-aliasing -pipe -I/usr/include -g
> >> -rpath=/usr/lib:/usr/local/lib -o cf_gen cf_gen.o debug.o time.o
> >> globals.o -L/usr/lib
> >> ./.libs/libsquid.a ./.libs/libauth.a
> >> -L/usr/ports/www/squid30/work/squid-3.0.PRE6/lib -lmiscutil -lexpat
> >> -lxml2 -lpthread -lm
> >> /usr/bin/ld: cannot find -lexpat
> >> What do I need to do prior to the installation so that the compile
> >> succeeds?
> >>
> > Looks like you need to install the textproc/expat2 package. It seems
> > odd that expat2 isn't an explicit dependency in the port...
> >
>
> Follow that by using the PRE7 code instead of PRE6. There are literally
> hundreds of fixes between the two.
>
> Amos
>
>
Received on Thu Sep 27 2007 - 04:10:29 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT