Hi!
I'm trying to install embperl on fedora core 1 linux.
These devel packages are installed additionally:
apr-devel
apr-util-devel
httpd-devel
mod_perl from fedora core 1 is used (mod_perl-1.99_09-10)
Embperl 2.0b9 won't compile so i took the CVS snapshot (
embperl_20031107111845.tar.gz).
After installing a lot of perl modules with CPAN (DBI, DBD::Oracle + all listed
in the INSTALL.pod) I tried to 'perl Makefile.pl'.
I get the following output:
#############################################################################################################################
Found mod_perl 2.0
Build with support for Apache mod_perl?(y/n) [y]
Use /usr/include/httpd as Apache source(y/n) [y]
Will use /usr/include/httpd for Apache Headers
Enter path and file to start as httpd [/usr/include/httpd/httpd]/usr/sbin/httpd
Apache Version Server version: Apache/2.0.47
+ Load dynamic module mod_actions.c
(/usr/lib/httpd/modules/mod_actions.so)
+ Load dynamic module mod_env.c
(/usr/lib/httpd/modules/mod_env.so)
+ Load dynamic module mod_alias.c
(/usr/lib/httpd/modules/mod_alias.so)
+ Load dynamic module mod_perl.c
(/usr/lib/httpd/modules/mod_perl.so)
+ Load dynamic module mod_mime.c
(/usr/lib/httpd/modules/mod_mime.so)
+ Load dynamic module mod_cgi.c
(/usr/lib/httpd/modules/mod_cgi.so)
+ Load dynamic module mod_dir.c
(/usr/lib/httpd/modules/mod_dir.so)
+ mod_perl was build with USE_DSO
Test start /usr/sbin/httpd
Test httpd will run as user nobody and group root
Test httpd will listen on port 8531
Found mod_perl Version 1.9909
Found LWP::UserAgent Version 2.023
Found HTML::HeadParser Version 2.18
Found Apache::Session Version 1.54
Found Apache::SessionX Version 2.00b5
Found File::Spec Version 0.86
Found CGI Version 3.00
Found libxml2 2.5.11 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
Cannot open xs/mmargs.pl (No such file or directory).
--------------------------------------------------------------------------
If you done a CVS checkout you need to create the sources first by running
xsbuilder/source_scan.pl and xsbuilder/xs_generate.pl.
--------------------------------------------------------------------------
#############################################################################################################################
Then I run 'perl xsbuilder/source_scan.pl':
No error messages...
Then I run 'perl xsbuilder/xs_generate.pl':
These are the first few lines until the first 'errors' occur:
#############################################################################################################################
Parse /opt/nac/embperl/xsbuilder/maps/_types.map...
Parse /opt/nac/embperl/xsbuilder/maps/ep_type.map...
mkdir /opt/nac/embperl/xsbuilder/../xs
writing.../opt/nac/embperl/xsbuilder/../xs//typemap
Parse /opt/nac/embperl/xsbuilder/maps/ep_function.map...
struct tApp...
Parse /opt/nac/embperl/xsbuilder/maps/ep_structure.map...
pThread...
pCurrReq...
Config...
pUserHash...
pUserObj...
pStateHash...
pStateObj...
pAppHash...
pAppObj...
nErrorsCount...
nErrorsLastTime...
nErrorsLastSendTime...
struct tAppConfig...
WARNING: pPool not in mapfile
WARNING: bUseEnv not in mapfile
WARNING: bUseRedirectEnv not in mapfile
#############################################################################################################################
I get more messages like this on the next lines until:
#############################################################################################################################
mod Embperl::Req
mkdir /opt/nac/embperl/xsbuilder/../xs/Embperl
mkdir /opt/nac/embperl/xsbuilder/../xs/Embperl/Req
writing.../opt/nac/embperl/xsbuilder/../xs/Embperl/Req/Makefile.PL
writing.../opt/nac/embperl/xsbuilder/../xs/Embperl/Req/Req.xs
mod_pm xsbuilder/Embperl/Req/Req_pm xsbuilder/Embperl/Req/Req_pm 1
writing.../opt/nac/embperl/xsbuilder/../xs/Embperl/Req/Req.pdd
writing.../opt/nac/embperl/xsbuilder/../xs/Embperl/Req/Req.pod
Cannot determinate method name for 'destroy' at
/usr/lib/perl5/site_perl/5.8.1/ExtUtils/XSBuilder/WrapXS.pm line 1605.
Cannot determinate method name for 'new' at
/usr/lib/perl5/site_perl/5.8.1/ExtUtils/XSBuilder/WrapXS.pm line 1605.
Cannot determinate method name for 'new' at
/usr/lib/perl5/site_perl/5.8.1/ExtUtils/XSBuilder/WrapXS.pm line 1605.
Cannot determinate method name for 'destroy' at
/usr/lib/perl5/site_perl/5.8.1/ExtUtils/XSBuilder/WrapXS.pm line 1605.
#############################################################################################################################
These 4 error lines repeat after each 'mod Embperl::' line.
After runnig 'make' if get this:
make: *** No targets specified and no makefile found. Stop.
Another 'perl Makefile.PL' works except this line:
#############################################################################################################################
Warning: the following files are missing in your kit:
Config.pod
#############################################################################################################################
'make' fails with messages like this one:
#############################################################################################################################
In file included from /usr/include/httpd/httpd.h:72,
from /opt/nac/embperl/ep.h:145,
from App.xs:13:
/usr/include/httpd/ap_config.h:58:17: apr.h: No such file or directory
/usr/include/httpd/ap_config.h:59:23: apr_hooks.h: No such file or directory
/usr/include/httpd/ap_config.h:60:32: apr_optional_hooks.h: No such file or
directory
#############################################################################################################################
Any suggestions what I'm missing or doing wrong?
Thanks in advance, Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]