You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "B. Engineer" <bn...@3media.com> on 2000/02/17 21:05:36 UTC

solaris 7, apache 3.11 and mod_per1.21

Hello:
	I cannot get mod_perl to compile. I have gone through every 
documentation there is. I don't even understand what the error is so I 
can try and fix it. 

Any help, pointers appreciated. 
I am using perl 
perl -V
Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos homer.iac.co.jp 5.7 generic_106541-09 sun4u sparc 
sunw,ultra-4 '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=define usemultiplicity=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -DUSE_LONG_LONG 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib '
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options:
  Built under solaris
  Compiled at Feb 17 2000 11:24:40
  @INC:
    /usr/local/lib/perl5/5.00563/sun4-solaris
    /usr/local/lib/perl5/5.00563
    /usr/local/lib/site_perl/5.00563/sun4-solaris
    /usr/local/lib/site_perl

the error:

gcc -fPIC -O -fno-strict-aliasing -I/usr/local/include -DUSE_LONG_LONG 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/local/lib/perl5/5.00563/sun4-solaris/CORE  
-DMOD_PERL_VERSION=\"1.21\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.21\" 
-DNO_PERL_DISPATCH=1 -DNO_PERL_POST_READ_REQUEST=1 -DNO_PERL_TRANS=1 
-DNO_PERL_HEADER_PARSER=1 -DNO_PERL_ACCESS=1 -DNO_PERL_AUTHEN=1 
-DNO_PERL_AUTHZ=1 -DNO_PERL_TYPE=1 -DNO_PERL_FIXUP=1 -DNO_PERL_LOG=1 
-DNO_PERL_INIT=1 -DNO_PERL_CLEANUP=1 -DNO_PERL_STACKED_HANDLERS=1 
-DNO_PERL_METHOD_HANDLERS=1 -DNO_PERL_DIRECTIVE_HANDLERS=1 
-DNO_PERL_SECTIONS=1 -DNO_PERL_SSI=1  -I../../os/unix -I../../include   
-DSOLARIS2=270 -DMOD_PERL -DUSE_EXPAT -I../../lib/expat-lite 
`../../apaci` -c mod_perl.c && mv mod_perl.o mod_perl.lo
mod_perl.c: In function `perl_restart':
mod_perl.c:333: warning: assignment makes pointer from integer without a cast
mod_perl.c: In function `mod_perl_set_cwd':
mod_perl.c:374: warning: passing arg 2 of `Perl_sv_setsv' makes pointer 
from integer without a cast
mod_perl.c: In function `perl_handler':
mod_perl.c:783: `PL_siggv' undeclared (first use in this function)
mod_perl.c:783: (Each undeclared identifier is reported only once
mod_perl.c:783: for each function it appears in.)
mod_perl.c: In function `perl_call_handler':
mod_perl.c:1359: warning: assignment makes pointer from integer without a 
cast
mod_perl.c: In function `perl_request_rec':
mod_perl.c:1553: warning: cast from pointer to integer of different size
mod_perl.c:1557: warning: cast to pointer from integer of different size
*** Error code 1
make: Fatal error: Command failed for target `mod_perl.lo'

Re: solaris 7, apache 3.11 and mod_per1.21

Posted by Ed Loehr <el...@austin.rr.com>.
"B. Engineer" wrote:
> 
>         I cannot get mod_perl to compile. I have gone through every
> documentation there is. I don't even understand what the error is so I
> can try and fix it.
>
> Any help, pointers appreciated.

Have you tried executing the installation procedures in "The Guide"?

	http://perl.apache.org/guide/

[I learned the painful way that the guide is absolutely required
reading before treading from pure perl into modperl.  One would be
asking for trouble not to thoroughly familiarize ones' self with
what's there.  Perl is very forgiving; modperl is not nearly as so...]

Cheers,
Ed Loehr

Re: solaris 7, apache 3.11 and mod_per1.21

Posted by Doug MacEachern <do...@pobox.com>.
On Thu, 17 Feb 2000, B. Engineer wrote:

> Hello:
> 	I cannot get mod_perl to compile. I have gone through every 
> documentation there is. I don't even understand what the error is so I 
> can try and fix it. 
> 
> Any help, pointers appreciated. 
> I am using perl 
> perl -V
> Summary of my perl5 (revision 5.0 version 5 subversion 63) configuration:

you need the cvs version of mod_perl to use that version of Perl, or wait
for mod_perl-1.22