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

From: Guy Helmer <ghelmer@dont-contact.us>
Date: Wed, 26 Sep 2007 14:34:21 -0500

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...

Hope this helps,
Guy

-- 
Guy Helmer, Ph.D.
Chief System Architect
Palisade Systems, Inc.
Received on Wed Sep 26 2007 - 13:34:36 MDT

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