Hello,
I am having a problem installing mod_perl.  I have used this same install procedure on 
other boxes successfully but am having trouble with this one.  The error is at the 
bottom of this message.  System specs are as follows.  I apologize in advance if this 
is not the correct forum for this, however, I am rather frustrated with this and 
appreciate any assistance.

Sun Ultra-25 running Solaris 5.8
patch level Generic_108528-17

I am running these installs as root from Bourne shell (I got the same error in C shell 
and Bash)

##################
##Install GCC####
##################
Installed gcc 3.1 from  www.sunfreeware.com using 'pkgadd -d'

##################
##Install Perl####
##################
# rm -f config.sh Policy.sh

# ./Configure -des -Dusethreads -Dcc='gcc -B/usr/ccs/bin/'
        ## According to the mod_perl doc in 
/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/docs/user/install/install.pod
        ## we need to use "-Dusethreads".  According to the perl doc 
/opt/d00/install.d/perl.d/perl-5.8.0/README.solaris we need to use "-Dcc='gcc 
-B/usr/ccs/bin/'"
        ## the "-des" are
                -d : use defaults for all answers.
                -e : go on without questioning past the production of config.sh.
                -s : silent mode, only echoes questions and essential information.
# make
# make test
# make install


#########################
##Build Apache 2.0.45####
#########################
configure Apache using
./configure --prefix=/opt/d00/apache/internal  --with-mpm=prefork \
--enable-so \
--enable-proxy \
--disable-ipv6

## removed for clarity

# make
## removed for clarity
# make install
## removed for clarity

### This installed successfully


################################
####install mod_perl 1.9_07#####
################################

# cd mod_perl-1.99_07
# perl Makefile.PL MP_AP_PREFIX=/opt/d00/apache/internal
Reading Makefile.PL args from @ARGV
   MP_AP_PREFIX = /opt/d00/apache/internal
Configuring Apache/2.0.45 mod_perl/1.99_07 Perl/v5.8.0
Checking if your kit is complete...
Looks good
    generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Test
    generating script t/TEST
Checking if your kit is complete...
Looks good

## removed for clarity

Note (probably harmless): No library found for -lapr
Note (probably harmless): No library found for -laprutil

## removed for clarity

*** mod_perl dso library will be built as mod_perl.so
*** mod_perl static library will be built as mod_perl.a
*** You'll need to add the following to httpd.conf:
***  LoadModule perl_module modules/mod_perl.so

# make
cd "src/modules/perl" && make -f Makefile.modperl
mksh: Warning: newline is not last character in file Makefile.modperl
Current working directory 
/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_interp.c && mv modperl_interp.o modperl_interp.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_tipool.c && mv modperl_tipool.o modperl_tipool.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_log.c && mv modperl_log.o modperl_log.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_config.c && mv modperl_config.o modperl_config.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_cmd.c && mv modperl_cmd.o modperl_cmd.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_options.c && mv modperl_options.o modperl_options.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_callback.c && mv modperl_callback.o modperl_callback.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_handler.c && mv modperl_handler.o modperl_handler.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_gtop.c && mv modperl_gtop.o modperl_gtop.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_util.c && mv modperl_util.o modperl_util.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_io.c && mv modperl_io.o modperl_io.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_filter.c && mv modperl_filter.o modperl_filter.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_bucket.c && mv modperl_bucket.o modperl_bucket.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_mgv.c && mv modperl_mgv.o modperl_mgv.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_pcw.c && mv modperl_pcw.o modperl_pcw.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_global.c && mv modperl_global.o modperl_global.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_env.c && mv modperl_env.o modperl_env.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_cgi.c && mv modperl_cgi.o modperl_cgi.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_perl.c && mv modperl_perl.o modperl_perl.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_perl_global.c && mv modperl_perl_global.o modperl_perl_global.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_perl_pp.c && mv modperl_perl_pp.o modperl_perl_pp.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_sys.c && mv modperl_sys.o modperl_sys.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_module.c && mv modperl_module.o modperl_module.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_svptr_table.c && mv modperl_svptr_table.o modperl_svptr_table.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_const.c && mv modperl_const.o modperl_const.lo
gcc -B/usr/ccs/bin/ -I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl 
-I/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/xs -I/opt/d00/apache/internal/include 
-D_REENTRANT -fno-strict-aliasing   
-I/usr/local/lib/perl5/5.8.0/sun4-solaris-thread-multi/CORE -DMOD_PERL -O -fPIC \
-c modperl_constants.c && mv modperl_constants.o modperl_constants.lo
modperl_constants.c: In function `modperl_constants_lookup_apr':
modperl_constants.c:631: `APR_POLLIN' undeclared (first use in this function)
modperl_constants.c:631: (Each undeclared identifier is reported only once
modperl_constants.c:631: for each function it appears in.)
modperl_constants.c:636: `APR_POLLPRI' undeclared (first use in this function)
modperl_constants.c:641: `APR_POLLOUT' undeclared (first use in this function)
modperl_constants.c:646: `APR_POLLERR' undeclared (first use in this function)
modperl_constants.c:651: `APR_POLLHUP' undeclared (first use in this function)
modperl_constants.c:656: `APR_POLLNVAL' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `modperl_constants.lo'
Current working directory 
/opt/d00/install.d/mod_perl.d/mod_perl-1.99_07/src/modules/perl
*** Error code 1
make: Fatal error: Command failed for target `modperl_lib'


Any help is much appreciated.  

Thanks in advance.

Jon Reed

-----
Jonathan Reed
PTC
www.ptc.com

Reply via email to