System:
* PowerMac silver with dual G4 533MHz CPUs'
* YDL-3.0.1
* perl-5.8.3
* httpd-2.0.40-21.3b
* mod_perl-1.99_xx
===============================================

I am having problems building mod_perl-1.99_xx.  Specifically there is an 
unsatisfied reference to 'my_perl'. 

For example [using the source that came with YDL-3.0.1]:

gcc -I/usr/src/rpm/BUILD/mod_perl-1.99_05/src/modules/perl 
-I/usr/src/rpm/BUILD/mod_perl-1.99_05/xs -I/usr/include/httpd -D_REENTRANT 
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing 
-I/usr/local/include  -I/usr/include/gdbm  
-I/usr/lib/perl5/5.8.3/ppc-linux-thread-multi/CORE -DMOD_PERL -O2 -g 
-fsigned-char -fpic \
-c modperl_env.c && mv modperl_env.o modperl_env.lo
modperl_env.c: In function `modperl_env_hash_keys':
modperl_env.c:48: `my_perl' undeclared (first use in this function)
modperl_env.c:48: (Each undeclared identifier is reported only once
modperl_env.c:48: for each function it appears in.)
make[1]: *** [modperl_env.lo] Error 1
make[1]: Leaving directory 
`/usr/src/rpm/BUILD/mod_perl-1.99_05/src/modules/perl'
make: *** [modperl_lib] Error 2


I am using perl-5.8.3. Running 'perl -V' shows:

                                                  ....
usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define

                             ....
Characteristics of this binary (from libperl):
  Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES 
PERL_IMPLICIT_CONTEXT
  Built under linux


I have browsed the archives for a solution to this problem and have found some 
discussion about this problem, but nothing enlightening. There were some 
cases reported where MULTIPLICITY was set but threading was not enabled.  
That's not the case here.

Thoughts???


-Joseph

-- 
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

Reply via email to