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

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 27 Sep 2007 17:11:46 +1200 (NZST)

> 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 Wed Sep 26 2007 - 23:12:07 MDT

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