Hi Keith,

Thanks for the reply. I've already figured been able to compile and get
mod_perl running... I'm trying to report a bug in the configure script. It
didn't set the PERL_LD variable in the Makefile. I want to try to find out
why so that it can be fixed, so that other unsuspecting users don't have
this same problem. :)

Kenny Smith


> -----Original Message-----
> From: Keith McGlauflin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 17, 2002 12:38 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [mp1.0] linking libperl.so fails because of "G: command not
> found"
>
>
> Hi Kenny,
>
> We use SunOS 5.8 with mod_perl 1.27 on SPARC processors. We
> don't use DSO but build mod_perl statically into httpd.
>
> Here is the configure we use for mod_perl:
>
> CC=cc \
> /opt/perl5/bin/perl Makefile.PL APACHE_SRC=../apache-1.3.27/src \
>         DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>
> and for apache:
>
> CC=cc CFLAGS="-O -DEAPI" \
> ./configure  --prefix=/web/adm/apache_1.3.27 \
> --activate-module=src/modules/perl/libperl.a
>
> (this is actually a simplified version; we also enable a
> bunch of other shared modules)
>
> Note that 'cc' above is the Sun C compiler (ours is installed
> in /opt/SUNWspro/bin/cc). If you use gcc make sure you use it
> for both mod_perl and apache.
>
> I hope this helps!
>
> Keith
>
> >This is how I configured apache:
> >
> >./configure --prefix=/usr/local/kenny --enable-module=rewrite
> >--enable-shared=rewrite --enable-suexec --suexec-caller=nobody
> >--suexec-docroot=/usr/www --enable-module=so
> >
> >and this is how I configured mod_perl:
> >
> >perl Makefile.PL \
> >     USE_APXS=1 \
> >     WITH_APXS=/usr/local/apache/bin/apxs \
> >     EVERYTHING=1

Reply via email to