perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Eklof <c...@beesw.com>
Subject fixed: Re: make failure (not 'make test') ...with work-around/tip posted.
Date Sat, 07 Jul 2007 04:10:14 GMT
The config for CFLAGS read by the make-maker tools
used: _LARGEFILE_SOURCE, when they needed
_LARGEFILE64_SOURCE

The _LARGEFILE64_SOURCE is used by the header files to
determine if they should define off64_t.

I still haven't found out where I need to change the
config though.

Just putting this out there in case anyone else finds
them self with the same error.

-Carl

--- Carl Eklof <carl@beesw.com> wrote:

> I'm building 2.2.0 with Apache 2.2.4 and mod_perl
> 2.0.3
> 
> Doing a completely by-the-book build of apache then
> mod_perl runs fine. Then doing a standard build of
> Embperl fails during make (output below signature)
> 
> The output looks very strange in that there are
> these
> รข characters. First I ran a scan for non-latin
> characters through the Apache includes (non). I
> found
> some in the Embperl source, but nothing that seemed
> to
> be related to the build error. 
> 
> Then after looking up what an off64_t was, I decided
> to try replacing it with a off_t. It worked. Even
> `make test` ran ok.
> 
> I'm sure there will be a problem. If any of those
> structs are being passed to anything outside of
> Embperl, I'm sure it will be very ugly since the
> data
> is a different size.
> 
> I mention the "work-around" more to help whomever
> (Gerald) find the problem, than as a work-around.
> 
> Thanks,
> 
> -Carl
> System:
> Linux idx01_FC6_VM 2.6.19-1.2911.6.4.fc6 #1 SMP Sat
> Feb 24 13:45:31 EST 2007 i686 i686 i386 GNU/Linux
> gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
> 
> 
> carl@idx01_FC6_VM$ 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
> make[1]: Entering directory
>
`/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs'
> make[2]: Entering directory
>
`/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs/Embperl'
> make[3]: Entering directory
>
`/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs/Embperl/App'
>
/mnt/sdb1/staff/carl/projects/GOB/third-party/bin/perl
>
/mnt/sdb1/staff/carl/projects/GOB/third-party/perl/lib/5.8.7/ExtUtils/xsubpp
>  -typemap
>
/home/carl/projects/GOB/third-party/perl/lib/5.8.7/ExtUtils/typemap
> -typemap ../../typemap  App.xs > App.xsc && mv
> App.xsc
> App.c
> cc -c 
>
-I/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0
>
-I/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include
>
-I/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/regex
>
-I/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/os/unix
> -I/usr/include/libxml2 -I/usr/include/libxml2
>
-I/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs
> -m32 -fno-strict-aliasing -pipe -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  
> -DVERSION=\"2.2.0\" -DXS_VERSION=\"2.2.0\" -fpic
>
"-I/home/carl/projects/GOB/third-party/perl/lib/5.8.7/i686-linux/CORE"
> 
=== message truncated ===


Carl Eklof 
President 
Bee Software LLC 
See us in action at: http://beethere.net/
p: 917.464.3529 
f: 801.439.4213
carl@beesw.com


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


Mime
View raw message