Search squid archive

Failure to compile Squid3 Port on FreeBSD 6.2-STABLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello pple,

I am using the ports to install squid3. below is how it fails.



<snip>
ar cru .libs/libauth.a .libs/AuthConfig.o .libs/AuthScheme.o
.libs/AuthUser.o .libs/AuthUserRequest.o
ranlib .libs/libauth.a
creating libauth.la
(cd .libs && rm -f libauth.la && ln -s ../libauth.la libauth.la)
/bin/sh /usr/local/bin/libtool --tag=CXX --mode=link 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
-L/usr/lib -o cf_gen  cf_gen.o debug.o time.o globals.o libsquid.la
libauth.la -
L../lib -lmiscutil  -lexpat -lxml2 -lpthread -lm
c++ -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-D_REENTRANT -O2 -fno-strict-aliasing -pipe -I/usr/include -g
-rpath=/usr/lib:/usr/l
ocal/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.PRE
6/lib -lmiscutil -lexpat -lxml2 -lpthread -lm
/usr/bin/ld: cannot find -lexpat
*** Error code 1

Stop in /usr/ports/www/squid30/work/squid-3.0.PRE6/src.
*** Error code 1

Stop in /usr/ports/www/squid30/work/squid-3.0.PRE6.
*** Error code 1

Stop in /usr/ports/www/squid30.
*** Error code 1

Stop in /usr/ports/www/squid30.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall.56923.0 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! www/squid30   (unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
</snip>


What do I need to do prior to the installation so that the compile succeeds?


./Wash

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux