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

From: Guy Helmer <ghelmer@dont-contact.us>
Date: Thu, 27 Sep 2007 08:33:43 -0500

Washington Odhiambo wrote:
> 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
>>
>>
I just built the www/squid30 port (updated Monday, Sept 24 to PRE7)
without any problems. When it built cf_gen, it didn't link with -lexpat
nor -lxml2. What is in your /var/db/port/squid30/options file?

Guy
Received on Thu Sep 27 2007 - 07:34:01 MDT

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