Hi -

Trying to build perl into apache2 via "fink install
libapache2-mod-perl2-perl586" fails for me while trying to install
mod-perl2-pm586:

#!/bin/sh -ev

        # Need full path to perl
        PERL=`which perl5.8.6`
which perl5.8.6

        # Perl's PERLPATH isn't quite right, need to replace it with
the right one
        perl -i -pe "s|sub perl_config\b|sub
perl_config_perlpath{'$PERL'}\$&|" lib/Apache2/Build.pm
/var/tmp/tmp.2.xVVVf5
#!/bin/sh -ev

        # Need full path to perl
        PERL=`which perl5.8.6`
which perl5.8.6

        # Put arch in $archname
        eval `perl5.8.6 -V:archname`
perl5.8.6 -V:archname
archname='darwin-thread-multi-2level';

        # Need to pass apxs location
        perl5.8.6 Makefile.PL PERL="$PERL" PREFIX=/sw \
                INSTALLPRIVLIB=/sw/lib/perl5/5.8.6 \
                INSTALLARCHLIB=/sw/lib/perl5/5.8.6/$archname \
                INSTALLSITELIB=/sw/lib/perl5/5.8.6 \
                INSTALLSITEARCH=/sw/lib/perl5/5.8.6/$archname \
                INSTALLMAN1DIR=/sw/lib/perl5/5.8.6/man/man1 \
                INSTALLMAN3DIR=/sw/lib/perl5/5.8.6/man/man3 \
                INSTALLSITEMAN1DIR=/sw/lib/perl5/5.8.6/man/man1 \
                INSTALLSITEMAN3DIR=/sw/lib/perl5/5.8.6/man/man3 \
                INSTALLBIN=/sw/bin INSTALLSITEBIN=/sw/bin
INSTALLSCRIPT=/sw/bin \
                MP_APXS=/sw/sbin/apxs
Reading Makefile.PL args from @ARGV
   MP_APXS = /sw/sbin/apxs
no conflicting prior mod_perl version found - good.
[  error] Unable to determine server version, aborting.
[  error] Invalid MP_APXS specified?
### execution of /var/tmp/tmp.2.xVVVf5 failed, exit code 1

Seems to be the same issue as this one, one month ago:
http://sourceforge.net/mailarchive/message.php?msg_id=32029111

Anyone been able to get beyond this yet? I'd be grateful for pointers.

Thanks
Dan
-- 
http://www.mcld.co.uk

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to