# apr-config --link-ld --libs -L/usr/lib -lapr-0 -lrt -lm -lcrypt -lnsl -ldl # apu-config --link-ld --libs -L/usr/lib -laprutil-0 -lgdbm -ldb -lexpat
This is good.
chroot [EMAIL PROTECTED] // # grep LIBS
/usr/src/packages/BUILD/mod_perl-1.99_09_20030803/xs/APR/APR/Makefile
# LIBS => [q[]]
$(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o
$@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST)
$(INST_DYNAMIC_FIX)
$(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
Now can you check why xs/APR/APR/Makefile.PL passes an empty LIBS string.
my guess is that "$prefix/bin/apr-config" is not the location of apr-config, so it fails. where your apr-config is?
what do you get when you run:
apxs -q PREFIX
The problem is that you use httpd install that spreads the bits all over the system, rather than keeping them under one tree, so it can find the apr-config. apxs gives no hint where to find them.
I'm working on rectifying this problem, will keep you posted.
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
