Foo JH wrote:
> Hi guys,
>
> I'm using FBSD6.0. I've done the latest cvsup on the ports, installed
> apache 2.0.59 and mod_perl 2.0.2,3 and and trying to install
> libapreq2-2.0.08.
Unfortunately its something in your local setup. I do the FAMP stack ports
compile almost daily.
> cc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o
> .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o
> .libs/parser_multipart.o .libs/module.o .libs/module_custom.o
> .libs/module_cgi.o .libs/error.o -Wl,--rpath -Wl,/usr/local/lib/apache2
> -Wl,--rpath -Wl,/usr/local/lib/apache2
> /usr/local/lib/apache2/libapr-0.so
> /usr/local/lib/apache2/libaprutil-0.so -lexpat -liconv -lm -lcrypt
> -L/usr/local -Wl,-soname -Wl,libapreq2.so.8 -o .libs/libapreq2.so.8
> /usr/bin/ld: cannot find -lexpat
First of all, in FBSD libexpat ins in /usr/local which is not in the default
search path
hence:
--with-expat=/usr/local should be in your configure line.
FreeBSD ports should do this for you.
I know this version works I'm currently using it.
expat-2.0.0_1(/usr/ports/textproc/expat2)
/usr/local/include/expat.h
/usr/local/include/expat_external.h
/usr/local/lib/libexpat.a
/usr/local/lib/libexpat.la
/usr/local/lib/libexpat.so
/usr/local/lib/libexpat.so.6
I tend to compile like such:
cd /usr/ports/www/p5-libapreq2
sudo make APACHE_PORT=www/apache20WITH_PERL=yes \
WITH_MODPERL2=yes WITH_APACHE2_APR=yes \
WITH_AUTH_CATEGORY=yes \
WITH_AUTHN_CATEGORY=yes \
WITH_AUTHZ_CATEGORY=yes \
WITH_CACHE_CATEGORY=yes \
WITH_DAV_CATEGORY=yes \
WITH_LDAP_CATEGORY=yes \
WITH_MISC_CATEGORY=yes \
WITH_PROXY_CATEGORY=yes \
WITH_SSL_CATEGORY=yes \
WITH_SUEXEC_CATEGORY=yes \
which should build:
perl, httpd 2.0.x and its bundled apr/apr-util, mod_perl 2, mod_apreq2
AND all available mod_* that come bundled with httpd.
+ and dependencies.
--
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F
"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
__ ___ ___ __
/ |/ /_ __/ __/ __ \/ /
/ /|_/ / // /\ \/ /_/ / /__
/_/ /_/\_, /___/\___\_\___/
<___/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"