Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Embperl

Embperl install error: apr_strings.h: No such file or directory

 

 

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded


Tim_Grant at vwr

May 4, 2007, 10:16 AM

Post #1 of 4 (1917 views)
Permalink
Embperl install error: apr_strings.h: No such file or directory

Trying to install Embperl 2.2.0 on a Linux 2.4.21-47.ELsmp box, under
Apache 1.3.31, we are getting the below errors at make test.

The only clue I have is that apr_strings.h seems to be a file for Apache
Portable Runtime, which is generally associated with Apache 2. Any help is
appreciated.

> make test
make[1]: Entering directory `/path/Embperl-2.2.0/xs'
make[2]: Entering directory `/path/Embperl-2.2.0/xs/Embperl'
make[3]: Entering directory `/path/Embperl-2.2.0/xs/Embperl/App'
gcc -c -I/path/Embperl-2.2.0 -I/path/apache_1.3.31/src/include
-I/path/apache_1.3.31/src/regex -I/path/apache_1.3.31/src/os/unix
-I/home/caton01/httpd-2.0.50/bindi
t/include -I/usr/local/ssl/include -I/usr/include/libxml2
-I/usr/include/libxml2 -I/test/Embperl-2.2.0/xs -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOU
CE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -DVERSION=\"2.2.0\"
-DXS_VERSION=\"2.2.0\" -fpic "-I/usr/local/lib/perl5/5.8.3/i686-linux/CORE"
-DAPACHE -DAPAC
E2 -DEP2 -DLIBXSLT App.c
In file included from App.xs:13:
/path/Embperl-2.2.0/ep.h:159:25: apr_strings.h: No such file or directory
make[3]: *** [App.o] Error 1
make[3]: Leaving directory `/path/Embperl-2.2.0/xs/Embperl/App'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory `/path/Embperl-2.2.0/xs/Embperl'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/path/Embperl-2.2.0/xs'
make: *** [subdirs] Error 2

--
Regards,
Tim Grant
Application Developer, VWR International
610-719-7097



The information contained in this e-mail message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this e-mail message in
error please e-mail the sender and delete the message. Thank you.




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

May 10, 2007, 12:33 AM

Post #2 of 4 (1771 views)
Permalink
RE: Embperl install error: apr_strings.h: No such file or directory [In reply to]

> Trying to install Embperl 2.2.0 on a Linux 2.4.21-47.ELsmp
> box, under Apache 1.3.31, we are getting the below errors at
> make test.
>
> The only clue I have is that apr_strings.h seems to be a file
> for Apache Portable Runtime, which is generally associated
> with Apache 2.

Yes, this is true.

Is Apache 2/mod_perl 2 also installed on that machine?

What is the output when you run Makefile.PL?

Gerald






Any help is appreciated.
>
> > make test
> make[1]: Entering directory `/path/Embperl-2.2.0/xs'
> make[2]: Entering directory `/path/Embperl-2.2.0/xs/Embperl'
> make[3]: Entering directory `/path/Embperl-2.2.0/xs/Embperl/App'
> gcc -c -I/path/Embperl-2.2.0
> -I/path/apache_1.3.31/src/include
> -I/path/apache_1.3.31/src/regex
> -I/path/apache_1.3.31/src/os/unix -I/home/caton01/httpd-2.0.50/bindi
> t/include -I/usr/local/ssl/include -I/usr/include/libxml2
> -I/usr/include/libxml2 -I/test/Embperl-2.2.0/xs
> -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOU
> CE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3
> -DVERSION=\"2.2.0\"
> -DXS_VERSION=\"2.2.0\" -fpic
> "-I/usr/local/lib/perl5/5.8.3/i686-linux/CORE"
> -DAPACHE -DAPAC
> E2 -DEP2 -DLIBXSLT App.c
> In file included from App.xs:13:
> /path/Embperl-2.2.0/ep.h:159:25: apr_strings.h: No such file
> or directory
> make[3]: *** [App.o] Error 1
> make[3]: Leaving directory `/path/Embperl-2.2.0/xs/Embperl/App'
> make[2]: *** [subdirs] Error 2
> make[2]: Leaving directory `/path/Embperl-2.2.0/xs/Embperl'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory `/path/Embperl-2.2.0/xs'
> make: *** [subdirs] Error 2
>
> --
> Regards,
> Tim Grant
> Application Developer, VWR International
> 610-719-7097
>
>
>
> The information contained in this e-mail message may be
> privileged, confidential and protected from disclosure. If
> you are not the intended recipient, any dissemination,
> distribution or copying is strictly prohibited. If you think
> that you have received this e-mail message in error please
> e-mail the sender and delete the message. Thank you.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe [at] perl
> For additional commands, e-mail: embperl-help [at] perl
>
>
> ** Virus checked by BB-5000 Mailfilter **
> !DSPAM:416,463b6b0e193771692020448!
>
>

** Virus checked by BB-5000 Mailfilter **

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

May 10, 2007, 9:18 PM

Post #3 of 4 (1774 views)
Permalink
RE: RE: Embperl install error: apr_strings.h: No such file or directory [In reply to]

>
> -bash-2.05b$ perl Makefile.PL
> Found mod_perl 2.0
>

There is (or at least it was) a mod_perl 2 installed....

Run

perl Makefile.PL /test/apache_1.3.31

Instead, this should force Embperl to use mod_perl 1

> When line 768 of the makefile is commented out, make seems to
> succeed just fine, but make test throws errors:
>

That is because Embperl is compiled for mod_perl 2

Gerald



** Virus checked by BB-5000 Mailfilter **

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

May 25, 2007, 9:36 AM

Post #4 of 4 (1727 views)
Permalink
RE: RE: RE: Embperl install error: apr_strings.h: No such file or directory [In reply to]

>
>
> >There is (or at least it was) a mod_perl 2 installed....
>
> >Run
>
> > perl Makefile.PL /test/apache_1.3.31
>
> >Instead, this should force Embperl to use mod_perl 1
>
> Thanks, this help is much appreciated.
>
> This got the make to run successfully, but now make test is
> throwing some errors. The first errors are easy to fix:
>
> ***********************
> Error in Line 286
> Is: ><P>2.2.0<P><
> Should: ><P>2.1<
> Input: test/html/EmbperlObject/epoincdiv.htm
> Output: test/tmp/out.htm
> Compared to: test/cmp/epoincdiv.htm
> Log: test/tmp/test.log
> Testparameter:
> cgi = 0
> offline = 0
>
> ERRORS detected! NOT all tests have been passed successfully
> ************************
>
> I followed this advice:
>
> "change line 286 of test/cmp/epoincdiv.htm to be 2.2.0 the
> test passes."
> "A similar error occurs for test/cmp/epodiv.htm"
> -
> http://mail-archives.apache.org/mod_mbox/perl-embperl/200604.m
> box/%3C443A85FA.8020803 [at] carleton%3E
>
> After those fixes, I get an error that's a little trickier:
>
> ********************************
> #216 EmbperlObject/errdoc/epoerrdoc2.htm...


Could you try

make test TESTARG="-i"

This will continue after an error.

Are there more test that fails?

If only this one test fails, then you are safe to use Embperl, unless
you use error documents written in Embperl

Gerald



> Error in Line 29
> Is: >BEGINfa</td></tr><
> Should: ></table><
> Input: test/html/EmbperlObject/errdoc/epoerrdoc2.htm
> Output: test/tmp/out.htm
> Compared to: test/cmp/epoerrdoc2.htm
> Log: test/tmp/test.log
> Testparameter:
> errors = 4
> noerrtest = 1
> cgi = 0
> offline = 0
>
> ERRORS detected! NOT all tests have been passed successfully
> ********************************
>
> The contents of the "compared to" file (test/cmp/epoerrdoc2.htm) are:
>
> ********************************
> 1 <html>
> 2 <head>
> 3 <title>Tests for Embperl - ErrorDocument</title>
> 4 </head>
> 5
> 6 <body>
> 7
> 8 This page is shown due to an ErrorDocument redirection<p>
> 9
> 10
> 11 main:
> 12 ^prev: Apache2?(?:::RequestRec)?=SCALAR\(0x
> 13 next:
> 14 ^There are (2|4) errormessages:
> 15
> 16 <table border=1>
> 17 ^- <tr><td>\[\d+\]ERR: 32: Warning in Perl code:
> \(in cleanup\) Can't locate bad_module_without_name.pm
> 18 ^-BEGIN failed--compilation aborted
> 19 ^ <tr><td>\[\d+\]ERR: 24: Error in Perl code:
> Can't locate
> bad_module_without_name.pm in
> 20 ^BEGIN failed--compilation aborted
> 21 ^-BEGIN fa
> 22 ^- <tr><td>\[\d+\]ERR: 32: Warning in Perl code:
> \(in cleanup\) Can't locate bad_module_without_name.pm
> 23 ^-BEGIN failed--compilation aborted
> 24 ^ <tr><td>\[\d+\]ERR: 24: Error in Perl code:
> Can't locate
> bad_module_without_name.pm
> 25 ^BEGIN failed--compilation aborted
> 26 ^-BEGIN failed
> 27 </table>
> 28
> 29 </body>
> 30 </html>
> ********************************
> --
> Regards,
> Tim Grant
> Application Developer, VWR International
> 610-719-7097
>
>
>
> ** Virus checked by BB-5000 Mailfilter **
> !DSPAM:416,46448a16195447898866267!
>
>

** Virus checked by BB-5000 Mailfilter **

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.