Per Einar Ellefsen wrote:
> >Try to apply patch (attached) and then build using these options:
> >
> >perl Makefile.PL APACHE_SRC=../apache_1.3.24/src USE_APACI=1 EVERYTHING=1 
> >PERL_EXTRA_CFLAGS=-DUSEIMPORTLIB DO_HTTPD=1
> >APACI_ARGS='--enable-rule=SHARED_CORE --enable-module=so'
> 
> Thanks a lot for that patch, atleast it fixed the initial problem. However, 
> when mod_perl.config.sh is called, it reports "Note (probably harmless): No 
> library found for -lperl".
> 
> Well, it is harmful :) I get tons of linking errors at compilation time 
> (undefined references). How do I get it to find the perl library, if any? 
> Or, how do I compile one if I have to?

Oh, I forgot to tell you that one more step is required:

    cd /lib/perl5/5.6.1/cygwin-multi/CORE && ln -s libperl5_6_1.a libperl.a

mod_perl requires libperl.a to be present but cygwin doesn't provide it
by default. So, here is a symbolic link and it works.

-----------------
Alexander Solovey

Reply via email to