perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph E. Sacco, Ph. D." <jsa...@earthlink.net>
Subject Re: problem with compiling mod_perl
Date Wed, 07 Apr 2004 00:31:14 GMT
I just went through this on another platform [linux on a PPC].  Seems that 
there are some "issues" building earlier versions of mod_perl using a  
multithreaded version of perl-5.8.X

I poked at this for a while and then decided that discretion is the better 
half of valor.  I updated Apache to 2.0.49 and pulled down the source for 
mod_perl-1.99_13.  mod_perl built and tested without incident. The 'my_perl 
undeclared' problem just went away [:-)].

-Joseph

================================
On Tuesday 06 April 2004 5:00 pm, Hulya Gurer wrote:
> Hello,
>
> I am trying to compile mod_perl 1.99.08 on Sun machine that runs on Solaris
> 8. I have Gcc-2.95.3 ,Perl 5.8.3,
> and Apache 2.0.47
>
> I have compiled the apache with
> ./configure --prefix=/usr/local/apache2 --with-mpm=prefork
> --enable-mods-shared=all --disable-auth_digest
>
> and compiled the mod_perl with
> perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_INST_APACHE2=1
>
> It compiled with no problem but at make, I got the following error message
> (I amincluding two last lines
> before the error message if it gives any idea what's using)
>
>
> gcc -I/opt/downloads/mod_perl-1.99_08/src/modules/perl
> -I/opt/downloads/mod_perl-1.99_08/xs -I/usr/local/apache2/include
> -D_REENTRANT -fno-strict-aliasing -I/usr/local/include
> -I/usr/local/lib/perl5/5.8.3/sun4-solaris-thread-multi/CORE -D
> MOD_PERL -O -fPIC \
>
> -c modperl_env.c && mv modperl_env.o modperl_env.lo
> modperl_env.c: In function `modperl_env_hash_keys':
> modperl_env.c:49: `my_perl' undeclared (first use in this function)
> modperl_env.c:49: (Each undeclared identifier is reported only once
> modperl_env.c:49: for each function it appears in.)
> make[1]: *** [modperl_env.lo] Error 1
> make[1]: Leaving directory
> `/opt/downloads/mod_perl-1.99_08/src/modules/perl' make: *** [modperl_lib]
> Error 2
>
> Thanks very much,
> Hulya

-- 
Joseph E. Sacco, Ph.D. <jsacco[at]earthlink[dot]net>
J.E. Sacco & Associates, Inc.

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message