You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ben Kim <bk...@tamu.edu> on 2007/07/06 22:26:03 UTC
RE: RE: error document
I ran the tests, and the result is as follows.
> Both test will fail, but when you look at test/tmp/out.htm after each
> test, you should see the sentence "This page is shown due to an
> ErrorDocument redirection".
> make test TESTARGS="-h errdoc/errdoc.htm"
Same as test/cmp/errdoc.htm
This page is shown due to an ErrorDocument redirection
> make test TESTARGS="-h errdoc/epl/errdoc2.htm"
Similar to test/cmp/errdoc2.htm. I can see
This page is shown due to an ErrorDocument redirection
> Especialy there should be no bus error or similar.
There was no bus error.
Thanks.
Ben K.
Developer
http://benix.tamu.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: RE: error document
Posted by Gerald Richter - ECOS GmbH <ri...@ecos.de>.
>
> I ran the tests, and the result is as follows.
>
That sounds ok.
In this case could you please run your httpd under gdb with the -X
option e.g.
gdb --args /path/to/httpd -f /path/to/httpd.conf -X
Then do the request where you get the bus error and at the gdb prompt
type
bt
And send me the output.
Gerald
P.S. I am out of office for the next two weeks, so I will not be able to
answer before
> > Both test will fail, but when you look at test/tmp/out.htm
> after each
> > test, you should see the sentence "This page is shown due to an
> > ErrorDocument redirection".
>
> > make test TESTARGS="-h errdoc/errdoc.htm"
>
> Same as test/cmp/errdoc.htm
> This page is shown due to an ErrorDocument redirection
>
> > make test TESTARGS="-h errdoc/epl/errdoc2.htm"
>
> Similar to test/cmp/errdoc2.htm. I can see
> This page is shown due to an ErrorDocument redirection
>
> > Especialy there should be no bus error or similar.
>
> There was no bus error.
>
>
> Thanks.
>
> Ben K.
> Developer
> http://benix.tamu.edu
>
> ** Virus checked by BB-5000 Mailfilter **
> !DSPAM:416,468ea5ee277051336657731!
>
>
** 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
make failure (not 'make test') ...with work-around/tip posted.
Posted by Carl Eklof <ca...@beesw.com>.
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"
-DAPACHE -DAPACHE2 -DEP2 -DLIBXSLT App.c
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/ap_config.h:25,
from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:43,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr.h:270:
error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_file_io.h:29,
from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_network_io.h:26,
from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:53,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_file_info.h:204:
error: expected specifier-qualifier-list before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_network_io.h:26,
from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:53,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_file_io.h:551:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_file_io.h:746:
error: expected declaration specifiers or â...â before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:53,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_network_io.h:545:
error: expected declaration specifiers or â...â before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:32,
from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:54,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_mmap.h:134:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_mmap.h:161:
error: expected declaration specifiers or â...â before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:54,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:242:
error: expected specifier-qualifier-list before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:706:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:718:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:754:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:890:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:891:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:1168:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:1367:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:1381:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:1431:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_buckets.h:1447:
error: expected declaration specifiers or â...â before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:148,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/httpd.h:848:
error: expected specifier-qualifier-list before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/http_protocol.h:34,
from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:150,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/util_filter.h:142:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/util_filter.h:299:
error: expected declaration specifiers or â...â before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:150,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/http_protocol.h:111:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/http_protocol.h:203:
error: expected declaration specifiers or â...â before
âapr_off_tâ
In file included from
/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/ep.h:159,
from App.xs:13:
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_strings.h:299:
error: expected declaration specifiers or â...â before
âapr_off_tâ
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_strings.h:315:
error: expected â)â before â*â token
/mnt/sdb1/staff/carl/projects/GOB/third-party/apache/include/apr_strings.h:351:
error: expected â)â before âsizeâ
make[3]: *** [App.o] Error 1
make[3]: Leaving directory
`/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs/Embperl/App'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory
`/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs/Embperl'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory
`/mnt/sdb1/staff/carl/projects/GOB/output/build/Embperl-2.2.0/xs'
make: *** [subdirs] Error 2
=== 2 === Fri 20:27:19
~/projects/GOB/output/build/Embperl-2.2.0 ===>
carl@idx01_FC6_VM$
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