Could you send me your site_perl/5.8.7/iXXXX/Apache2/BuildConfig.pm and the Makefile from the Embperl directory.
I guess there are some defines that needs to be included in the Embperl Makefile. Gerald --------------------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 WWW: http://www.ecos.de/ Fax: +49 6133 939-333 --------------------------------------------------------------------------- ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info --------------------------------------------------------------------------- > -----Original Message----- > From: Steve Sapovits [mailto:[EMAIL PROTECTED] > Sent: Monday, April 24, 2006 7:13 PM > To: embperl@perl.apache.org > Subject: Re: Linux/Apache2 build errors > > > I'm still trying to solve this one. A bit more info ... > Here's 'uname -a' output from the system it fails on: > > Linux secdevfdsapp01.gspt.net 2.4.21-32.ELhugemem #1 SMP > Fri Apr 15 21:04:31 EDT 2005 i686 athlon i386 GNU/Linux > > I see some issues similar to this one related to other > Apache-related builds. The root issue seems to be that > apr_off_t is typedef'ed as off64_t but that type may not be > the right one for my system. That seems to be related to > large file support or something ... not 100% sure on that though. > > This is an older RedHat machine that we've been adding newer > software too. I'm wondering if what I really need is some > sort of RedHat RPM to fix the includes, or if the base > Apache2 build is generating the apr headers incorrectly for my system. > Unfortunately, I cannot upgrade the entire OS (not my box and > the base OS is "standard" for the environment here). > > If anyone has any ideas, no matter how remote, let me know. > > > > I'm trying to build 2.2 on Redhat Linux, Perl 5.8.7, Apache 2.2, > > mod_perl 2.0.2. I get the errors below. > > I also tried Embperl 2.1 and got the same errors. Any guidance > > appreciated: > > > > ---- > > > > $ perl Makefile.PL > > Found mod_perl 2.0 > > Build with support for Apache mod_perl?(y/n) [y] Use > > /usr/local/apache2 as Apache source(y/n) [y] Will use > > /usr/local/apache2 for Apache Headers Apache Version Server > version: > > Apache/2.2.0 + Load dynamic module mod_perl.c > > (/usr/local/apache2/modules/mod_perl.so) > > + mod_perl was build with USE_DSO > > Test start /usr/local/apache2/bin/httpd Test httpd will run as user > > feeds and group feeds Test httpd will listen on port 8531 Found > > mod_perl Version 2.000002 Found LWP::UserAgent Version > 2.033 Found > > HTML::HeadParser Version 2.21 Apache::Session not > installed on this > > system > > -> Disable tests for persistent data storage > > Found File::Spec Version 3.09 > > Found CGI Version 3.10 > > Found libxml2 2.5.10 installed under /usr Cannot execute > xslt-config > > (No such file or directory). libxml2 and libxslt will not be linked > > into Embperl Enter path of XALAN base directory or single > dot for not > > using XALAN [.]. > > Xalan will not be linked into Embperl > > Checking if your kit is complete... > > Looks good > > Writing Makefile for Embperl::App::Config Writing Makefile for > > Embperl::App Writing Makefile for > Embperl::Component::Config Writing > > Makefile for Embperl::Component::Output Writing Makefile for > > Embperl::Component::Param Writing Makefile for Embperl::Component > > Writing Makefile for Embperl::Req::Config Writing Makefile for > > Embperl::Req::Param Writing Makefile for Embperl::Req > Writing Makefile > > for Embperl::Syntax Writing Makefile for Embperl::Thread Writing > > Makefile for Embperl Writing Makefile for WrapXS Writing > Makefile for > > Embperl > > > > $ make > > cp Embperl.pod blib/lib/Embperl.pod > > cp Embperl/Constant.pm blib/lib/Embperl/Constant.pm cp > > Embperl/Recipe/EmbperlLibXSLT.pm > > blib/lib/Embperl/Recipe/EmbperlLibXSLT.pm > > cp Embperl/Syntax.pm blib/lib/Embperl/Syntax.pm cp > > Embperl/Form/Validate/Select.pm > > blib/lib/Embperl/Form/Validate/Select.pm > > cp Embperl/Recipe/Embperl.pm blib/lib/Embperl/Recipe/Embperl.pm > > cp IntroEmbperlObject.pod blib/lib/Embperl/IntroEmbperlObject.pod > > cp Embperl/Form/Control.pm blib/lib/Embperl/Form/Control.pm cp > > Embperl/Recipe/LibXSLT.pm blib/lib/Embperl/Recipe/LibXSLT.pm > > cp Embperl/Form/Control/textarea.pm > > blib/lib/Embperl/Form/Control/textarea.pm > > cp Embperl/Form/Control/info.pm > blib/lib/Embperl/Form/Control/info.pm > > cp Embperl/Syntax/Perl.pm blib/lib/Embperl/Syntax/Perl.pm cp > > Embperl/Session.pm blib/lib/Embperl/Session.pm cp > > Embperl/Syntax/Embperl.pm blib/lib/Embperl/Syntax/Embperl.pm > > cp Embperl/Form/Validate/EMailRFC.pm > > blib/lib/Embperl/Form/Validate/EMailRFC.pm > > cp Embperl/Form/Control/addremove.pm > > blib/lib/Embperl/Form/Control/addremove.pm > > cp FeaturesD.pod blib/lib/Embperl/FeaturesD.pod cp Embperl/Log.pm > > blib/lib/Embperl/Log.pm cp Embperl/Form/Validate/IPAddr_Mask.pm > > blib/lib/Embperl/Form/Validate/IPAddr_Mask.pm > > cp Intro.pod blib/lib/Embperl/Intro.pod cp > > Embperl/Form/Control/table.pm blib/lib/Embperl/Form/Control/table.pm > > cp Embperl/Recipe.pm blib/lib/Embperl/Recipe.pm cp > > Embperl/Form/Control/select.pm > blib/lib/Embperl/Form/Control/select.pm > > cp Embperl/Syntax/HTML.pm blib/lib/Embperl/Syntax/HTML.pm cp > > Embperl/Form.pm blib/lib/Embperl/Form.pm cp > > Embperl/Form/Validate/IPAddr.pm > > blib/lib/Embperl/Form/Validate/IPAddr.pm > > cp Faq.pod blib/lib/Embperl/Faq.pod > > cp Embperl/Form/Validate/TimeValue.pm > > blib/lib/Embperl/Form/Validate/TimeValue.pm > > cp Embperl/Syntax/RTF.pm blib/lib/Embperl/Syntax/RTF.pm cp > > Embperl/Inline.pm blib/lib/Embperl/Inline.pm cp > > Embperl/Syntax/EmbperlHTML.pm blib/lib/Embperl/Syntax/EmbperlHTML.pm > > cp Embperl/Form/Control/file.pm > blib/lib/Embperl/Form/Control/file.pm > > cp Embperl/Form/Validate/TimeHHMMSS.pm > > blib/lib/Embperl/Form/Validate/TimeHHMMSS.pm > > cp Embperl/Run.pm blib/lib/Embperl/Run.pm cp > > Embperl/Form/Validate/Number.pm > > blib/lib/Embperl/Form/Validate/Number.pm > > cp Embperl/Form/Control/password.pm > > blib/lib/Embperl/Form/Control/password.pm > > cp Embperl/Form/Control/display.pm > > blib/lib/Embperl/Form/Control/display.pm > > cp Embperl/Form/Validate/Integer.pm > > blib/lib/Embperl/Form/Validate/Integer.pm > > cp Embperl/Form/Validate/TimeHHMM.pm > > blib/lib/Embperl/Form/Validate/TimeHHMM.pm > > cp Embperl/Form/Control/submit.pm > > blib/lib/Embperl/Form/Control/submit.pm > > cp Features.pod blib/lib/Embperl/Features.pod cp > Embperl/Syntax/POD.pm > > blib/lib/Embperl/Syntax/POD.pm cp Config.pod > > blib/lib/Embperl/Config.pod cp Embperl/Form/Validate/FQDN_IPAddr.pm > > blib/lib/Embperl/Form/Validate/FQDN_IPAddr.pm > > cp Embperl/Form/Control/number.pm > > blib/lib/Embperl/Form/Control/number.pm > > cp Embperl/Syntax/Text.pm blib/lib/Embperl/Syntax/Text.pm > cp TOC.pod > > blib/lib/Embperl/TOC.pod cp Embperl/Out.pm > blib/lib/Embperl/Out.pm cp > > Embperl/Form/ControlMultValue.pm > > blib/lib/Embperl/Form/ControlMultValue.pm > > cp Embperl/Syntax/Mail.pm blib/lib/Embperl/Syntax/Mail.pm > cp SVN.pod > > blib/lib/Embperl/SVN.pod cp Embperl/Recipe/EmbperlXalanXSLT.pm > > blib/lib/Embperl/Recipe/EmbperlXalanXSLT.pm > > cp Embperl.pm blib/lib/Embperl.pm > > cp Embperl/Form/Control/label.pm > > blib/lib/Embperl/Form/Control/label.pm > > cp Embperl/Form/Validate/Default.pm > > blib/lib/Embperl/Form/Validate/Default.pm > > cp Embperl/Util.pm blib/lib/Embperl/Util.pm cp > > Embperl/Form/Control/blank.pm blib/lib/Embperl/Form/Control/blank.pm > > cp Embperl/Mail.pm blib/lib/Embperl/Mail.pm cp > > Embperl/Form/Control/tabs.pm blib/lib/Embperl/Form/Control/tabs.pm > > cp Embperl/Syntax/EmbperlBlocks.pm > > blib/lib/Embperl/Syntax/EmbperlBlocks.pm > > cp Embperl/App.pm blib/lib/Embperl/App.pm cp Embperl/Syntax/ASP.pm > > blib/lib/Embperl/Syntax/ASP.pm cp Embperl/Form/Control/grid.pm > > blib/lib/Embperl/Form/Control/grid.pm > > cp Embperl/Recipe/XalanXSLT.pm blib/lib/Embperl/Recipe/XalanXSLT.pm > > cp Embperl/Syntax/Test2.pm blib/lib/Embperl/Syntax/Test2.pm cp > > Embperl/Form/Validate/EMail.pm > blib/lib/Embperl/Form/Validate/EMail.pm > > cp Embperl/Form/Control/radio.pm > > blib/lib/Embperl/Form/Control/radio.pm > > cp Embperl/Form/Control/transparent.pm > > blib/lib/Embperl/Form/Control/transparent.pm > > cp Embperl/Syntax/SSI.pm blib/lib/Embperl/Syntax/SSI.pm cp > > Embperl/Recipe/XSLT.pm blib/lib/Embperl/Recipe/XSLT.pm cp > > Embperl/Form/Validate/PosInteger.pm > > blib/lib/Embperl/Form/Validate/PosInteger.pm > > cp Embperl/Syntax/Test.pm blib/lib/Embperl/Syntax/Test.pm cp > > Embperl/Form/Control/input.pm blib/lib/Embperl/Form/Control/input.pm > > cp Embperl/Recipe/EmbperlXSLT.pm > > blib/lib/Embperl/Recipe/EmbperlXSLT.pm > > cp Embperl/Syntax/MsgIdExtract.pm > > blib/lib/Embperl/Syntax/MsgIdExtract.pm > > cp Embperl/Recipe/EmbperlPODXSLT.pm > > blib/lib/Embperl/Recipe/EmbperlPODXSLT.pm > > cp Embperl/Form/Validate.pm blib/lib/Embperl/Form/Validate.pm cp > > Embperl/Object.pm blib/lib/Embperl/Object.pm cp > > Embperl/Form/Control/checkbox.pm > > blib/lib/Embperl/Form/Control/checkbox.pm > > cp TipsAndTricks.pod blib/lib/Embperl/TipsAndTricks.pod > > gmake[1]: Entering directory > `/feeds/freeware/apache/Embperl-2.2.0/xs' > > gmake[2]: Entering directory > > `/feeds/freeware/apache/Embperl-2.2.0/xs/Embperl' > > gmake[3]: Entering directory > > `/feeds/freeware/apache/Embperl-2.2.0/xs/Embperl/App' > > /usr/local/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp > > -typemap /usr/local/lib/perl5/5.8.7/ExtUtils/typemap -typemap > > ../../typemap App.xs > App.xsc && mv App.xsc App.c cc -c > > -I/feeds/freeware/apache/Embperl-2.2.0 > > -I/usr/local/apache2/include -I/usr/local/apache2/regex > > -I/usr/local/apache2/os/unix > -I/feeds/freeware/apache/Embperl-2.2.0/xs > > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 > -DVERSION=\"2.2.0\" > > -DXS_VERSION=\"2.2.0\" -fpic > > "-I/usr/local/lib/perl5/5.8.7/i686-linux/CORE" -DAPACHE -DAPACHE2 > > -DEP2 App.c > > In file included from /usr/local/apache2/include/ap_config.h:25, > > from /usr/local/apache2/include/httpd.h:43, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/apr.h:270: syntax error before > "apr_off_t" > > /usr/local/apache2/include/apr.h:270: warning: data > definition has no > > type or storage class In file included from > > /usr/local/apache2/include/apr_file_io.h:29, > > from > /usr/local/apache2/include/apr_network_io.h:26, > > from /usr/local/apache2/include/httpd.h:53, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/apr_file_info.h:204: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_file_info.h:204: warning: no > semicolon > > at end of struct or union > > /usr/local/apache2/include/apr_file_info.h:206: warning: data > > definition has no type or storage class > > /usr/local/apache2/include/apr_file_info.h:212: `ctime' > redeclared as > > different kind of symbol > > /usr/include/time.h:254: previous declaration of `ctime' > > /usr/local/apache2/include/apr_file_info.h:219: syntax > error before '}' > > token > > In file included from > /usr/local/apache2/include/apr_network_io.h:26, > > from /usr/local/apache2/include/httpd.h:53, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/apr_file_io.h:548: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_file_io.h:740: syntax error before > > "apr_off_t" > > In file included from /usr/local/apache2/include/httpd.h:53, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/apr_network_io.h:545: syntax > error before > > "apr_off_t" > > In file included from /usr/local/apache2/include/apr_buckets.h:32, > > from /usr/local/apache2/include/httpd.h:54, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/apr_mmap.h:134: syntax error > before "apr_off_t" > > /usr/local/apache2/include/apr_mmap.h:161: syntax error > before "apr_off_t" > > In file included from /usr/local/apache2/include/httpd.h:54, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/apr_buckets.h:242: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:242: warning: no > semicolon at > > end of struct or union > > /usr/local/apache2/include/apr_buckets.h:252: `free' redeclared as > > different kind of symbol > > /usr/include/stdlib.h:569: previous declaration of `free' > > /usr/local/apache2/include/apr_buckets.h:255: syntax error > before '}' > > token > > /usr/local/apache2/include/apr_buckets.h:634: field `b' has > incomplete > > type > > /usr/local/apache2/include/apr_buckets.h:706: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:718: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:754: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:890: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:1168: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:1367: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:1381: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:1431: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_buckets.h:1447: syntax error before > > "apr_off_t" > > In file included from /feeds/freeware/apache/Embperl-2.2.0/ep.h:148, > > from App.xs:13: > > /usr/local/apache2/include/httpd.h:826: syntax error before > "apr_off_t" > > /usr/local/apache2/include/httpd.h:826: warning: no > semicolon at end > > of struct or union > > /usr/local/apache2/include/httpd.h:828: warning: data > definition has > > no type or storage class > > /usr/local/apache2/include/httpd.h:839: syntax error before > "clength" > > /usr/local/apache2/include/httpd.h:839: warning: data > definition has > > no type or storage class > > /usr/local/apache2/include/httpd.h:842: syntax error before > "remaining" > > /usr/local/apache2/include/httpd.h:842: warning: data > definition has > > no type or storage class > > /usr/local/apache2/include/httpd.h:844: syntax error before > "read_length" > > /usr/local/apache2/include/httpd.h:844: warning: data > definition has > > no type or storage class > > /usr/local/apache2/include/httpd.h:975: syntax error before > '}' token > > In file included from /usr/local/apache2/include/http_protocol.h:34, > > from /feeds/freeware/apache/Embperl-2.2.0/ep.h:150, > > from App.xs:13: > > /usr/local/apache2/include/util_filter.h:142: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/util_filter.h:299: syntax error before > > "apr_off_t" > > In file included from /feeds/freeware/apache/Embperl-2.2.0/ep.h:150, > > from App.xs:13: > > /usr/local/apache2/include/http_protocol.h:111: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/http_protocol.h:203: syntax error before > > "apr_off_t" > > In file included from /feeds/freeware/apache/Embperl-2.2.0/ep.h:159, > > from App.xs:13: > > /usr/local/apache2/include/apr_strings.h:297: syntax error before > > "apr_off_t" > > /usr/local/apache2/include/apr_strings.h:313: syntax error > before '*' > > token > > /usr/local/apache2/include/apr_strings.h:349: syntax error > before "size" > > /usr/local/apache2/include/httpd.h:923: storage size of > `finfo' isn't > > known > > gmake[3]: *** [App.o] Error 1 > > gmake[3]: Leaving directory > > `/feeds/freeware/apache/Embperl-2.2.0/xs/Embperl/App' > > gmake[2]: *** [subdirs] Error 2 > > gmake[2]: Leaving directory > > `/feeds/freeware/apache/Embperl-2.2.0/xs/Embperl' > > gmake[1]: *** [subdirs] Error 2 > > gmake[1]: Leaving directory > `/feeds/freeware/apache/Embperl-2.2.0/xs' > > make: *** [subdirs] Error 2 > > > > > -- > Steve Sapovits [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > ** Virus checked by BB-5000 Mailfilter ** > !DSPAM:444d07a9265581781595898! > ** Virus checked by BB-5000 Mailfilter ** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]