perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roy Bixler <...@press.uchicago.edu>
Subject Embperl v. 2.0rc3 and Apache v. 2.0.54/mod_perl v. 2.0.0-RC5
Date Wed, 04 May 2005 17:11:23 GMT
I have Apache v. 2.0.54 and mod_perl v. 2.0.0-RC5 running under Solaris 8 and 
now I would like to get Embperl to run under this environment as a DSO.  But 
it won't build.

Note that I also have Apache v. 1.3.x installed on this system with mod_perl 
v. 1.29 and Embperl v. 1.36.  This works fine but of course I am not 
completely prepared to switch to Apache v. 2.x and I have it installed 
concurrently as a test environment.

Here is a transcript of the session.  Perl is v. 5.6.1 and gcc is v. 3.4.2.  
The "perl makefile.PL" process detects that I am using mod_perl v. 1.29 but 
clearly I would like it to use the mod_perl v. 2.0.0-RC5 which I am using 
with Apache v. 2.x.

$ perl Makefile.PL
Build with support for Apache mod_perl?(y/n) [y]
Searching for Apache sources...
Look at ..
Look at ../src
Look at ./src
Apache source not found, enter path name or q to quit [q]/usr/local/apache2
Searching for Apache sources...
Look at /usr/local/apache2
Use /usr/local/apache2 as Apache source(y/n) [y]
Will use /usr/local/apache2 for Apache Headers
Apache Version Server version: Apache/2.0.54
 + 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 rcb and group staff
Test httpd will listen on port 8531
Found mod_perl  Version 1.29
Found LWP::UserAgent  Version 2.003
Found HTML::HeadParser  Version 2.17
Apache::Session not installed on this system
-> Disable tests for persistent data storage
Found File::Spec  Version 3.06
Found CGI  Version 2.752
Cannot execute xml2-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

And here is the build result:

gcc -c  -I/usr/local/apache2/include -I/usr/local/apache2/regex 
-I/usr/local/apache2/os/unix -I/mnt/homes/rcb/Embperl-2.0rc3/xs  
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"2.0rc3\"  -DXS_VERSION=\"2.0rc3\" 
-fPIC "-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE"  -DAPACHE -DEP2  -o 
epmain.o epmain.c
epmain.c: In function `DoLogError':
epmain.c:250: warning: passing arg 4 of `ap_log_error' makes integer from 
pointer without a cast
epmain.c:250: warning: passing arg 5 of `ap_log_error' from incompatible 
pointer type
epmain.c:252: warning: passing arg 4 of `ap_log_error' makes integer from 
pointer without a cast
epmain.c:252: warning: passing arg 5 of `ap_log_error' from incompatible 
pointer type
epmain.c: In function `SendHttpHeader':
epmain.c:886: warning: assignment makes pointer from integer without a cast
epmain.c:904: warning: passing arg 2 of `apr_table_add' makes pointer from 
integer without a cast
epmain.c:904: warning: passing arg 3 of `apr_table_add' makes pointer from 
integer without a cast
epmain.c:912: warning: passing arg 2 of `apr_table_set' makes pointer from 
integer without a cast
epmain.c:912: warning: passing arg 3 of `apr_table_set' makes pointer from 
integer without a cast
epmain.c:934: error: syntax error before '*' token
epmain.c:935: error: `table_entry' undeclared (first use in this function)
epmain.c:935: error: (Each undeclared identifier is reported only once
epmain.c:935: error: for each function it appears in.)
epmain.c:935: error: `hdrs' undeclared (first use in this function)
epmain.c:937: error: `hdrs_arr' undeclared (first use in this function)
epmain.c:938: error: parse error before ')' token
*** Error code 1
make: Fatal error: Command failed for target `epmain.o'

Any ideas?

-- 
Roy Bixler <rcb@press.uchicago.edu>
The University of Chicago Press
http://www.press.uchicago.edu -or- http://www.journals.uchicago.edu

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


Mime
View raw message