Thanks, I'll try compiling perl with the Solaris compiler, and then 
Apache + mod_perl .


At 2:44 PM +0100 1/24/01, Jens-Uwe Mager wrote:
>On Tue, Jan 23, 2001 at 02:02:57PM -0800, Matisse Enzer wrote:
>>
>>  This is a re-posting with a  bit more information:
>>
>>  I'm having trouble getting mod_perl 1.24 to compile using the 
>>Solaris compiler.
>>
>>
>>  Compiler Version is: Sun WorkShop 6 2000/04/07 C 5.1)
>>  OS is:               Solaris 2.7
>>
>>
>>  Details:
>  >
>>  For various reasons I'm using the Apache 1.3.12 source tree, and I 
>>can compile
>>  fine using gcc, but the Solaris compiler complains:
>>
>>
>>  /opt/SUNWspro/WS6/bin/cc -c  -I../../os/unix -I../../include
>>  -DSOLARIS2=270 -DUSE_EXPAT -I../../lib/expat-lite
>>  `/export/home/matisse/devel/apache/apache_1.3.12/src/apaci`
>>  -I/usr/local/include
>>  -I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE  -I. -I../..
>>  -DUSE_PERL_SSI -DMOD_PERL -KPIC -DSHARED_MODULE mod_include.c && mv
>>  mod_include.o mod_include.lo
>>  "/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line
>>  319: formal parameter lacks name: param #1
>>  "/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line
>>  319: formal parameter lacks name: param #2
>>  "/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line
>>  319: formal parameter lacks name: param #3
>>  "/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line
>>  319: syntax error before or at: __attribute__
>>  "/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line
>>  319: warning: syntax error:  empty declaration
>>  "/usr/include/ctype.h", line 48: cannot recover from previous errors
>>  cc: acomp failed for mod_include.c
>>
>>  Line 319 of 
>>/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h   is:
>>
>>                                           __attribute__((format 
>>(printf, 3, 4)));
>>
>  >
>
>This probably means that perl is configured using the gcc compiler. As
>with most plug-in systems it is recommended to compile all parts that
>are loaded into one address space using the exactly same compiler, that
>means in the modperl case all of Apache, Apache plug-ins, perl and perl
>plug-ins should be compiled using the Sun Workshop C compiler. Mixing
>compilers arbitrarily is asking for trouble.
>
>--
>Jens-Uwe Mager
>
>HELIOS Software GmbH
>Steinriede 3
>30827 Garbsen
>Germany
>
>Phone:         +49 5131 709320
>FAX:           +49 5131 709325
>Internet:      [EMAIL PROTECTED]

-- 
---------------------------------------------------------------------------
Matisse Enzer
TechTv Web Engineering
[EMAIL PROTECTED]
415-355-4364 (desk)
415-225-6703 (cellphone)

Reply via email to