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.