RE: [mp1.0] linking libperl.so fails because of "G: command not found"
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
Re: [mp1.0] linking libperl.so fails because of "G: command not found"
Hi Frank, 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 The problem was that it just wasn't filling in that one value in the configure script, so it didn't know what binary to use to link after compilation. Kenny Smith [EMAIL PROTECTED] wrote: Kenny, I am not sure if I can help you much, but I was succesful in building this combination. The main differences I see between our configuration is that you are using SunOS in Intel wheras I am using SPARC and that you obviously tried to build mod_perl as DSO. What were the command lines you used to configure mod_perl and Apache? Do you need mod_perl running as a DSO? Regards, Frank "Kenny Smith" 13.12.2002 18:57 An: [EMAIL PROTECTED] Kopie: Thema: [mp1.0] linking libperl.so fails because of "G: command not found" Hello, I'd like to report an installation bug. I've looked around and if this has already been reported, or is mentioned in documentation, I apologize for the repeat. The symptom is when make tries to link libperl.so it dies with "G: command not found" I tracked down PERL_LD was blank in apaci/Makefile. I put gcc in there, and it linked and built properly. One one of the subsequent lines there was a -G at the start of PERL_LDDLFLAGS, so I assume that is where the G came from. Versions: SunOS 5.8 x86 apache 1.3.27 mod_perl 1.27 gcc version 2.95.3 20010315 (release) autoconf (GNU Autoconf) 2.53 GNU Make version 3.79.1 If there is any other information you need, please let me know. Kenny Smith JournalScape.com
Re: [mp1.0] linking libperl.so fails because of"G: command not found"
Kenny, I am not sure if I can help you much, but I was succesful in building this combination. The main differences I see between our configuration is that you are using SunOS in Intel wheras I am using SPARC and that you obviously tried to build mod_perl as DSO. What were the command lines you used to configure mod_perl and Apache? Do you need mod_perl running as a DSO? Regards, Frank "Kenny Smith" <[EMAIL PROTECTED]> 13.12.2002 18:57 An: [EMAIL PROTECTED] Kopie: Thema: [mp1.0] linking libperl.so fails because of "G: command not found" Hello, I'd like to report an installation bug. I've looked around and if this has already been reported, or is mentioned in documentation, I apologize for the repeat. The symptom is when make tries to link libperl.so it dies with "G: command not found" I tracked down PERL_LD was blank in apaci/Makefile. I put gcc in there, and it linked and built properly. One one of the subsequent lines there was a -G at the start of PERL_LDDLFLAGS, so I assume that is where the G came from. Versions: SunOS 5.8 x86 apache 1.3.27 mod_perl 1.27 gcc version 2.95.3 20010315 (release) autoconf (GNU Autoconf) 2.53 GNU Make version 3.79.1 If there is any other information you need, please let me know. Kenny Smith JournalScape.com
[mp1.0] linking libperl.so fails because of "G: command not found"
Hello, I'd like to report an installation bug. I've looked around and if this has already been reported, or is mentioned in documentation, I apologize for the repeat. The symptom is when make tries to link libperl.so it dies with "G: command not found" I tracked down PERL_LD was blank in apaci/Makefile. I put gcc in there, and it linked and built properly. One one of the subsequent lines there was a -G at the start of PERL_LDDLFLAGS, so I assume that is where the G came from. Versions: SunOS 5.8 x86 apache 1.3.27 mod_perl 1.27 gcc version 2.95.3 20010315 (release) autoconf (GNU Autoconf) 2.53 GNU Make version 3.79.1 If there is any other information you need, please let me know. Kenny Smith JournalScape.com