On Thu, 31 Aug 2000, Todd Caine wrote:

> Hi, folks.
> 
> I'm having a problem building a statically linked perl (yes,
> I know, but I
> need it for XS debugging).  MakeMaker is trying to link the
> static binary
> with libapreq.a, which is okay, but libapreq.a doesn't
> export a bootstrap
> symbol boot_libapreq().  The perlmain.c generated by by
> Makefile.aperl
> contains a call to the boot_libapreq() function.
> 
> I assume this is because libapreq.a is found in the
> 5.6.0/auto directory.
> A quick check shows this is the only .a file in that
> directory.  libapreq
> appears to be related to Apache and/or mod_perl (APache
> REQuest).
> 
> I can build the static perl successfully if I manually
> delete the call in
> perlmain.c to boot_libapreq().  However, it's inconvenient
> and clearly
> bogus to have to do this every time.

you either have to do that or just delete:
 
> /usr/local/lib/perl5/site_perl/5.6.0/sun4-solaris/auto/libapreq/libapreq.a

it's only installed for C modules to link against, but the next version of
libapreq will probably not do that, since there is autoconf support in
place for C module authors.

Reply via email to