perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: HTML-Emperl-1.3.6 fails under solaris10 x86
Date Tue, 05 Sep 2006 03:24:41 GMT
Hi,

1.3.6 is not maintained anymore, so it don't suprises me that it doesn't
compile with Perl 5.8.8.

The best would be to upgrade to Embperl 2.2 . If this is not possible, you
should take a look at the line

> Embperl.c: In function `XS_HTML__Embperl_SetupRequest':
> Embperl.c:292: warning: ISO C90 forbids mixed declarations and code

And see what't wrong there.

Gerald


> 
> I'm trying to compile the old 1.3.6 in Solaris10 x86 and it 
> fails on make with the errors below.
> I also try the debian patches 2 and 3 with no luck...
> Any help will be greatly appreciated.
> 
> Thanks
> Aldo LeTellier
> 
> -----Original Message-----
> From: Letellier, Aldo
> Sent: Friday, September 01, 2006 1:08 PM
> To: 'embperl@perl.apache.org'
> Subject: HTML-Emperl-1.3.6 fails under solaris10 x86
> Importance: High
> 
> 
> DETAILS BELOW:
> 
> $ cd HTML-Embperl-1.3.6
> $ perl Makefile.PL
> Build with support for Apache mod_perl?(y/n) [y]
> Use ../apache_1.3.37/src as Apache source(y/n) [y]
> Will use ~/lib/apache_1.3.37/src for Apache Headers
> Apache Version Server version: Apache/1.3.37 (Unix)
>  + found mod_ssl
> [Fri Sep  1 12:49:21 2006] [alert] httpd: Could not determine 
> the server's fully qualified domain name, using x.x.x.x for ServerName
> Syntax OK
> Test start ~/lib/apache_1.3.37/src/httpd
> Test httpd will run as user aldo and group other
> Test httpd will listen on port 8531
> Found mod_perl  Version 1.29
> Found LWP::UserAgent  Version 2.033
> Found HTML::HeadParser  Version 2.22
> Found Apache::Session  Version 1.81
> Found Apache::SessionX  Version 2.01
> Found File::Spec  Version 3.19
> Found CGI  Version 3.15
> Checking if your kit is complete...
> Looks good
> Writing Makefile for HTML::Embperl
> make
> cp CVS.pod blib/lib/HTML/Embperl/CVS.pod
> cp Embperl.pod blib/lib/HTML/Embperl.pod
> cp IntroEmbperlObject.pod blib/lib/HTML/Embperl/IntroEmbperlObject.pod
> cp Faq.pod blib/lib/HTML/Embperl/Faq.pod
> cp Embperl/Module.pm blib/lib/HTML/Embperl/Module.pm
> cp Embperl/Session.pm blib/lib/HTML/Embperl/Session.pm
> cp FeaturesD.pod blib/lib/HTML/Embperl/FeaturesD.pod
> cp INSTALL.pod blib/lib/HTML/Embperl/INSTALL.pod
> cp Changes.pod blib/lib/HTML/Embperl/Changes.pod
> cp NEWS.pod blib/lib/HTML/Embperl/NEWS.pod
> cp Embperl.pm blib/lib/HTML/Embperl.pm
> cp Intro.pod blib/lib/HTML/Embperl/Intro.pod
> cp EmbperlD.pod blib/lib/HTML/EmbperlD.pod
> cp IntroD.pod blib/lib/HTML/Embperl/IntroD.pod
> cp Features.pod blib/lib/HTML/Embperl/Features.pod
> cp EmbperlObject.pm blib/lib/HTML/EmbperlObject.pm
> cp Embperl/Mail.pm blib/lib/HTML/Embperl/Mail.pm
> cp TipsAndTricks.pod blib/lib/HTML/Embperl/TipsAndTricks.pod
> /bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  
> -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap 
> typemap  Embperl.xs > Embperl.xsc && mv Embperl.xsc Embperl.c
> gcc -c  -I/export/home/aldo/lib/apache_1.3.37/src/include 
> -I/export/home/aldo/lib/apache_1.3.37/src/regex 
> -I/export/home/aldo/lib/apache_1.3.37/src/os/unix 
> -I/export/home/aldo/lib/HTML-Embperl-1.3.6/xs -D_REENTRANT 
> -fno-strict-aliasing -pipe -Wdeclaration-after-statement 
> -I/usr/local/include -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O   
> -DVERSION=\"1.3.6\" -DXS_VERSION=\"1.3.6\" -fPIC 
> "-I/usr/local/lib/perl5/5.8.8/i86pc-solaris-thread-multi/CORE"
>   -DAPACHE  -o Embperl.o Embperl.c
> Embperl.c: In function `XS_HTML__Embperl_SetupRequest':
> Embperl.c:292: warning: ISO C90 forbids mixed declarations and code
> Embperl.c:294: warning: static declaration of 
> 'XS_HTML__Embperl_CurrReq' follows non-static declaration
> Embperl.c:292: warning: previous declaration of 
> 'XS_HTML__Embperl_CurrReq' was here
> Embperl.c:320: warning: static declaration of 
> 'XS_HTML__Embperl_Clock' follows non-static declaration
> Embperl.c:318: warning: previous declaration of 
> 'XS_HTML__Embperl_Clock' was here
> Embperl.c:343: warning: static declaration of 
> 'XS_HTML__Embperl_GetPackageOfFile' follows non-static declaration
> Embperl.c:341: warning: previous declaration of 
> 'XS_HTML__Embperl_GetPackageOfFile' was here
> Embperl.c:369: warning: static declaration of 
> 'XS_HTML__Embperl_logerror' follows non-static declaration
> Embperl.c:367: warning: previous declaration of 
> 'XS_HTML__Embperl_logerror' was here
> Embperl.c:423: warning: static declaration of 
> 'XS_HTML__Embperl_log' follows non-static declaration
> Embperl.c:421: warning: previous declaration of 
> 'XS_HTML__Embperl_log' was here
> Embperl.c:444: warning: static declaration of 
> 'XS_HTML__Embperl_output' follows non-static declaration
> Embperl.c:442: warning: previous declaration of 
> 'XS_HTML__Embperl_output' was here
> Embperl.c:480: warning: static declaration of 
> 'XS_HTML__Embperl_logevalerr' follows non-static declaration
> Embperl.c:478: warning: previous declaration of 
> 'XS_HTML__Embperl_logevalerr' was here
> Embperl.c:506: warning: static declaration of 
> 'XS_HTML__Embperl_getlineno' follows non-static declaration
> Embperl.c:504: warning: previous declaration of 
> 'XS_HTML__Embperl_getlineno' was here
> Embperl.c:528: warning: static declaration of 
> 'XS_HTML__Embperl_flushlog' follows non-static declaration
> Embperl.c:526: warning: previous declaration of 
> 'XS_HTML__Embperl_flushlog' was here
> Embperl.c:547: warning: static declaration of 
> 'XS_HTML__Embperl_Sourcefile' follows non-static declaration
> Embperl.c:545: warning: previous declaration of 
> 'XS_HTML__Embperl_Sourcefile' was here
> Embperl.c:572: warning: static declaration of 
> 'XS_HTML__Embperl_ProcessSub' follows non-static declaration
> Embperl.c:570: warning: previous declaration of 
> 'XS_HTML__Embperl_ProcessSub' was here
> Embperl.c:597: warning: static declaration of 
> 'XS_HTML__Embperl_exit' follows non-static declaration
> Embperl.c:595: warning: previous declaration of 
> 'XS_HTML__Embperl_exit' was here
> Embperl.c:645: warning: static declaration of 
> 'XS_HTML__Embperl__Req_CurrPackage' follows non-static declaration
> Embperl.c:643: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_CurrPackage' was here
> Embperl.c:676: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ExportHash' follows non-static declaration
> Embperl.c:674: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ExportHash' was here
> Embperl.c:709: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Sourcefile' follows non-static declaration
> Embperl.c:707: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Sourcefile' was here
> Embperl.c:740: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Path' follows non-static declaration
> Embperl.c:738: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Path' was here
> Embperl.c:786: warning: static declaration of 
> 'XS_HTML__Embperl__Req_PathNdx' follows non-static declaration
> Embperl.c:784: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_PathNdx' was here
> Embperl.c:823: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ReqFilename' follows non-static declaration
> Embperl.c:821: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ReqFilename' was here
> Embperl.c:854: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Debug' follows non-static declaration
> Embperl.c:852: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Debug' was here
> Embperl.c:882: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ApacheReq' follows non-static declaration
> Embperl.c:880: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ApacheReq' was here
> Embperl.c:915: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ErrArray' follows non-static declaration
> Embperl.c:913: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ErrArray' was here
> Embperl.c:943: warning: static declaration of 
> 'XS_HTML__Embperl__Req_FormArray' follows non-static declaration
> Embperl.c:941: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_FormArray' was here
> Embperl.c:971: warning: static declaration of 
> 'XS_HTML__Embperl__Req_FormHash' follows non-static declaration
> Embperl.c:969: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_FormHash' was here
> Embperl.c:999: warning: static declaration of 
> 'XS_HTML__Embperl__Req_EnvHash' follows non-static declaration
> Embperl.c:997: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_EnvHash' was here
> Embperl.c:1027: warning: static declaration of 
> 'XS_HTML__Embperl__Req_LogFileStartPos' follows non-static declaration
> Embperl.c:1025: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_LogFileStartPos' was here
> Embperl.c:1055: warning: static declaration of 
> 'XS_HTML__Embperl__Req_VirtLogURI' follows non-static declaration
> Embperl.c:1053: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_VirtLogURI' was here
> Embperl.c:1086: warning: static declaration of 
> 'XS_HTML__Embperl__Req_CookieName' follows non-static declaration
> Embperl.c:1084: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_CookieName' was here
> Embperl.c:1117: warning: static declaration of 
> 'XS_HTML__Embperl__Req_SessionMgnt' follows non-static declaration
> Embperl.c:1115: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_SessionMgnt' was here
> Embperl.c:1147: warning: static declaration of 
> 'XS_HTML__Embperl__Req_SubReq' follows non-static declaration
> Embperl.c:1145: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_SubReq' was here
> Embperl.c:1175: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Error' follows non-static declaration
> Embperl.c:1173: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Error' was here
> Embperl.c:1205: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ProcessBlock' follows non-static declaration
> Embperl.c:1203: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ProcessBlock' was here
> Embperl.c:1236: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ProcessSub' follows non-static declaration
> Embperl.c:1234: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ProcessSub' was here
> Embperl.c:1267: warning: static declaration of 
> 'XS_HTML__Embperl__Req_logevalerr' follows non-static declaration
> Embperl.c:1265: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_logevalerr' was here
> Embperl.c:1301: warning: static declaration of 
> 'XS_HTML__Embperl__Req_logerror' follows non-static declaration
> Embperl.c:1299: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_logerror' was here
> Embperl.c:1363: warning: static declaration of 
> 'XS_HTML__Embperl__Req_getloghandle' follows non-static declaration
> Embperl.c:1361: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_getloghandle' was here
> Embperl.c:1391: warning: static declaration of 
> 'XS_HTML__Embperl__Req_getlogfilepos' follows non-static declaration
> Embperl.c:1389: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_getlogfilepos' was here
> Embperl.c:1420: warning: static declaration of 
> 'XS_HTML__Embperl__Req_output' follows non-static declaration
> Embperl.c:1418: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_output' was here
> Embperl.c:1446: warning: static declaration of 
> 'XS_HTML__Embperl__Req_log' follows non-static declaration
> Embperl.c:1444: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_log' was here
> Embperl.c:1473: warning: static declaration of 
> 'XS_HTML__Embperl__Req_flushlog' follows non-static declaration
> Embperl.c:1471: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_flushlog' was here
> Embperl.c:1498: warning: static declaration of 
> 'XS_HTML__Embperl__Req_getlineno' follows non-static declaration
> Embperl.c:1496: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_getlineno' was here
> Embperl.c:1526: warning: static declaration of 
> 'XS_HTML__Embperl__Req_log_svs' follows non-static declaration
> Embperl.c:1524: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_log_svs' was here
> Embperl.c:1552: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Escape' follows non-static declaration
> Embperl.c:1550: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Escape' was here
> Embperl.c:1586: warning: static declaration of 
> 'XS_HTML__Embperl__Req_ExecuteReq' follows non-static declaration
> Embperl.c:1584: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_ExecuteReq' was here
> Embperl.c:1616: warning: static declaration of 
> 'XS_HTML__Embperl__Req_Abort' follows non-static declaration
> Embperl.c:1614: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_Abort' was here
> Embperl.c:1645: warning: static declaration of 
> 'XS_HTML__Embperl__Req_FreeRequest' follows non-static declaration
> Embperl.c:1643: warning: previous declaration of 
> 'XS_HTML__Embperl__Req_FreeRequest' was here
> Embperl.c:1789: warning: static declaration of 
> 'boot_HTML__Embperl' follows non-static declaration
> Embperl.c:1787: warning: previous declaration of 
> 'boot_HTML__Embperl' was here
> Embperl.c:1875: error: syntax error at end of input
> make: *** [Embperl.o] Error 1
> 
> ENVIROMENT:
> SunOS xxx 5.10 Generic i86pc i386 i86pc
> 
> $ perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
>   Platform:
>     osname=solaris, osvers=2.10, archname=i86pc-solaris-thread-multi
>     uname='sunos xxx 5.10 generic i86pc i386 i86pc '
>     config_args='-des -Dcc=gcc -Dusethreads'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=define use5005threads=undef useithreads=define 
> usemultiplicity=define
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing 
> -pipe -Wdeclaration-after-statement -I/usr/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV',
>     optimize='-O',
>     cppflags='-D_REENTRANT -fno-strict-aliasing -pipe 
> -Wdeclaration-after-statement -I/usr/local/include'
>     ccversion='', gccversion='3.4.3 
> (csl-sol210-3_4-branch+sol_rpath)', gccosandvers='solaris2.10'
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>     d_longlong=define, longlongsize=8, d_longdbl=define, 
> longdblsize=12
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, 
> Off_t='off_t', lseeksize=8
>     alignbytes=4, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags =' -L/usr/local/lib '
>     libpth=/usr/local/lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -lgdbm -ldl -lm -lpthread -lc
>     perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
>     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   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: MULTIPLICITY PERL_IMPLICIT_CONTEXT
>                         PERL_MALLOC_WRAP PERL_USE_SAFE_PUTENV
>                         USE_ITHREADS USE_LARGE_FILES USE_PERLIO
>                         USE_REENTRANT_API
>   Built under solaris
>   Compiled at Aug 31 2006 13:18:34
>   @INC:
>     /usr/local/lib/perl5/5.8.8/i86pc-solaris-thread-multi
>     /usr/local/lib/perl5/5.8.8
>     /usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris-thread-multi
>     /usr/local/lib/perl5/site_perl/5.8.8
>     /usr/local/lib/perl5/site_perl
> 
> Thanks
> 
> Aldo LeTellier 
> 
>  
> ** Virus checked by BB-5000 Mailfilter ** 
> !DSPAM:44f869e872491971813638!
> 


 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message