Hi,
I am having trouble compiling embperl on a netbsd machine:
netbsd 1.6
apache-2.0.46
ap2-perl-1.99.8
perl-5.8.0nb1
Here ist the output, what am I missing ?
-bash-2.05b# perl Makefile.PL
Found mod_perl 2.0
Build with support for Apache mod_perl?(y/n) [y]
Use /usr/pkg/include/httpd as Apache source(y/n) [y]
Will use /usr/pkg/include/httpd for Apache Headers
Enter path and file to start as httpd
[/usr/pkg/include/httpd/httpd]/usr/pkg/sbin/httpd
Apache Version Server version: Apache/2.0.46
+ Load dynamic module mod_perl.c
(/usr/pkg/lib/httpd/mod_perl.so)
+ mod_perl was build with USE_DSO
+ found mod_ssl
Test start /usr/pkg/sbin/httpd
Test httpd will run as user nobody and group wheel
Test httpd will listen on port 8531
Found mod_perl Version 1.9908
Found LWP::UserAgent Version 2.003
Found HTML::HeadParser Version 2.17
Found Apache::Session Version 1.54
Apache::SessionX not installed on this system
-> Disable tests for persistent data storage
Found File::Spec Version 0.83
Found CGI Version 2.81
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
-bash-2.05b#
-bash-2.05b#
-bash-2.05b# make
cp Embperl/Recipe/EmbperlLibXSLT.pm
blib/lib/Embperl/Recipe/EmbperlLibXSLT.pm
cp Embperl/Constant.pm blib/lib/Embperl/Constant.pm
cp Embperl.pod blib/lib/Embperl.pod
cp Config.pod blib/lib/Embperl/Config.pod
cp Embperl/Recipe/Embperl.pm blib/lib/Embperl/Recipe/Embperl.pm
cp Embperl/Syntax.pm blib/lib/Embperl/Syntax.pm
cp epocgi.test.pl blib/lib/epocgi.test.pl
cp epocgi.pl blib/lib/epocgi.pl
cp IntroEmbperlObject.pod blib/lib/Embperl/IntroEmbperlObject.pod
cp embpcgi.test.pl blib/lib/embpcgi.test.pl
cp Embperl/Module.pm blib/lib/Embperl/Module.pm
cp embpexec.pl blib/lib/embpexec.pl
cp Embperl/Recipe/LibXSLT.pm blib/lib/Embperl/Recipe/LibXSLT.pm
cp Embperl/Syntax/Text.pm blib/lib/Embperl/Syntax/Text.pm
cp Embperl/Syntax/Perl.pm blib/lib/Embperl/Syntax/Perl.pm
cp Embperl/Syntax/Embperl.pm blib/lib/Embperl/Syntax/Embperl.pm
cp FeaturesD.pod blib/lib/Embperl/FeaturesD.pod
cp Embperl/Session.pm blib/lib/Embperl/Session.pm
cp embpmsgid.pl blib/lib/embpmsgid.pl
cp Embperl/Out.pm blib/lib/Embperl/Out.pm
cp Embperl/Syntax/Mail.pm blib/lib/Embperl/Syntax/Mail.pm
cp Embperl/Log.pm blib/lib/Embperl/Log.pm
cp Changes.pod blib/lib/Embperl/Changes.pod
cp Embperl/Recipe/EmbperlXalanXSLT.pm
blib/lib/Embperl/Recipe/EmbperlXalanXSLT.pm
cp NEWS.pod blib/lib/Embperl/NEWS.pod
cp Embperl.pm blib/lib/Embperl.pm
cp Embperl/Form/Validate/Default.pm
blib/lib/Embperl/Form/Validate/Default.pm
cp Embperl/Util.pm blib/lib/Embperl/Util.pm
cp Intro.pod blib/lib/Embperl/Intro.pod
cp embpfastcgi.pl blib/lib/embpfastcgi.pl
cp Embperl/Syntax/HTML.pm blib/lib/Embperl/Syntax/HTML.pm
cp Embperl/Recipe.pm blib/lib/Embperl/Recipe.pm
cp Embperl/Mail.pm blib/lib/Embperl/Mail.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 embpcgi.pl blib/lib/embpcgi.pl
cp Embperl/Recipe/XalanXSLT.pm blib/lib/Embperl/Recipe/XalanXSLT.pm
cp Embperl/Syntax/RTF.pm blib/lib/Embperl/Syntax/RTF.pm
cp Faq.pod blib/lib/Embperl/Faq.pod
cp Embperl/Syntax/EmbperlHTML.pm blib/lib/Embperl/Syntax/EmbperlHTML.pm
cp Embperl/Syntax/Test2.pm blib/lib/Embperl/Syntax/Test2.pm
cp Embperl/Syntax/SSI.pm blib/lib/Embperl/Syntax/SSI.pm
cp INSTALL.pod blib/lib/Embperl/INSTALL.pod
cp Embperl/Syntax/Test.pm blib/lib/Embperl/Syntax/Test.pm
cp Embperl/Recipe/XSLT.pm blib/lib/Embperl/Recipe/XSLT.pm
cp Embperl/Recipe/EmbperlXSLT.pm blib/lib/Embperl/Recipe/EmbperlXSLT.pm
cp Embperl/Form/Validate/Number.pm blib/lib/Embperl/Form/Validate/Number.pm
cp Embperl/Run.pm blib/lib/Embperl/Run.pm
cp Embperl/Recipe/EmbperlPODXSLT.pm
blib/lib/Embperl/Recipe/EmbperlPODXSLT.pm
cp Embperl/Syntax/MsgIdExtract.pm blib/lib/Embperl/Syntax/MsgIdExtract.pm
cp Embperl/Form/Validate.pm blib/lib/Embperl/Form/Validate.pm
cp Embperl/Object.pm blib/lib/Embperl/Object.pm
cp IntroD.pod blib/lib/Embperl/IntroD.pod
cp EmbperlD.pod blib/lib/EmbperlD.pod
cp Embperl/Syntax/POD.pm blib/lib/Embperl/Syntax/POD.pm
cp Features.pod blib/lib/Embperl/Features.pod
cp TipsAndTricks.pod blib/lib/Embperl/TipsAndTricks.pod
/usr/pkg/bin/perl /usr/pkg/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/pkg/lib/perl5/5.8.0/ExtUtils/typemap -typemap ../../typemap App.xs >
App.xsc && mv App.xsc App.c
cc -c -I/usr/local/src/Embperl-2.0b8 -I/usr/pkg/include/httpd -I/usr/pkg/in
clude/httpd/regex -I/usr/pkg/include/httpd/os/unix -I/usr/local/src/Embperl-
2.0b8/xs -fno-strict-aliasing -I/usr/pkg/include -O2 -I/usr/pkg/include
-DVERSION=\"2.0b8\" -DXS_VERSION=\"2.0b8\" -DPIC -fPIC
"-I/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE" -DAPACHE -DAPACHE2 -DEP2
App.c
In file included from /usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlio.h:86,
from
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/iperlsys.h:51,
from /usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perl.h:2200,
from /usr/local/src/Embperl-2.0b8/ep.h:36,
from App.xs:13:
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:21: warning:
`PerlIO_stderr' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1221: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:22: warning:
`PerlIO_stdout' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1220: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:23: warning:
`PerlIO_stdin' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1219: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:30: warning:
`PerlIO_write' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1211: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:31: warning:
`PerlIO_unread' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1212: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:35: warning:
`PerlIO_close' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1200: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:62: warning:
`PerlIO_read' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1210: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:63: warning:
`PerlIO_tell' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1213: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:65: warning:
`PerlIO_eof' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1203: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:67: warning:
`PerlIO_error' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1204: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:68: warning:
`PerlIO_fileno' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1202: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:69: warning:
`PerlIO_clearerr' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1206: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:70: warning:
`PerlIO_flush' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1205: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:75: warning:
`PerlIO_seek' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1214: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:87: warning:
`PerlIO_setlinebuf' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1209: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:96: warning:
`PerlIO_get_ptr' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1216: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:97: warning:
`PerlIO_get_cnt' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1218: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:101: warning:
`PerlIO_set_cnt' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1207: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:114: warning:
`PerlIO_set_ptrcnt' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1208: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:148: warning:
`PerlIO_get_base' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1215: warning: this is the
location of the previous definition
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/perlsdio.h:149: warning:
`PerlIO_get_bufsiz' redefined
/usr/pkg/lib/perl5/5.8.0/i386-netbsd/CORE/embed.h:1217: warning: this is the
location of the previous definition
In file included from /usr/pkg/include/httpd/httpd.h:72,
from /usr/local/src/Embperl-2.0b8/ep.h:141,
from App.xs:13:
/usr/pkg/include/httpd/ap_config.h:58: apr.h: No such file or directory
/usr/pkg/include/httpd/ap_config.h:59: apr_hooks.h: No such file or
directory
/usr/pkg/include/httpd/ap_config.h:60: apr_optional_hooks.h: No such file or
directory
In file included from /usr/pkg/include/httpd/ap_config.h:267,
from /usr/pkg/include/httpd/httpd.h:72,
from /usr/local/src/Embperl-2.0b8/ep.h:141,
from App.xs:13:
/usr/pkg/include/httpd/os.h:62: apr.h: No such file or directory
In file included from /usr/local/src/Embperl-2.0b8/ep.h:141,
from App.xs:13:
/usr/pkg/include/httpd/httpd.h:77: apr_general.h: No such file or directory
/usr/pkg/include/httpd/httpd.h:78: apr_tables.h: No such file or directory
/usr/pkg/include/httpd/httpd.h:79: apr_pools.h: No such file or directory
/usr/pkg/include/httpd/httpd.h:80: apr_time.h: No such file or directory
/usr/pkg/include/httpd/httpd.h:81: apr_network_io.h: No such file or
directory
/usr/pkg/include/httpd/httpd.h:82: apr_buckets.h: No such file or directory
In file included from /usr/local/src/Embperl-2.0b8/ep.h:141,
from App.xs:13:
/usr/pkg/include/httpd/httpd.h:690: apr_uri.h: No such file or directory
In file included from /usr/local/src/Embperl-2.0b8/ep.h:142,
from App.xs:13:
/usr/pkg/include/httpd/http_config.h:62: apr_hooks.h: No such file or
directory
In file included from /usr/local/src/Embperl-2.0b8/ep.h:143,
from App.xs:13:
/usr/pkg/include/httpd/http_protocol.h:63: apr_hooks.h: No such file or
directory
/usr/pkg/include/httpd/http_protocol.h:64: apr_portable.h: No such file or
directory
/usr/pkg/include/httpd/http_protocol.h:65: apr_mmap.h: No such file or
directory
/usr/pkg/include/httpd/http_protocol.h:66: apr_buckets.h: No such file or
directory
In file included from /usr/pkg/include/httpd/http_protocol.h:67,
from /usr/local/src/Embperl-2.0b8/ep.h:143,
from App.xs:13:
/usr/pkg/include/httpd/util_filter.h:58: apr.h: No such file or directory
/usr/pkg/include/httpd/util_filter.h:59: apr_buckets.h: No such file or
directory
In file included from /usr/local/src/Embperl-2.0b8/ep.h:144,
from App.xs:13:
/usr/pkg/include/httpd/http_log.h:66: apr_thread_proc.h: No such file or
directory
In file included from /usr/local/src/Embperl-2.0b8/ep.h:146,
from App.xs:13:
/usr/pkg/include/httpd/ap_compat.h:5: apu_compat.h: No such file or
directory
In file included from App.xs:13:
/usr/local/src/Embperl-2.0b8/ep.h:152: apr_strings.h: No such file or
directory
*** Error code 1
Stop.
make: stopped in /usr/local/src/Embperl-2.0b8/xs/Embperl/App
*** Error code 1
Stop.
make: stopped in /usr/local/src/Embperl-2.0b8/xs/Embperl
*** Error code 1
Stop.
make: stopped in /usr/local/src/Embperl-2.0b8/xs
*** Error code 1
Stop.
make: stopped in /usr/local/src/Embperl-2.0b8
-bash-2.05b#
Thanks
Patrik
--------------------------------------------------------------------
FMS Internet Service, www.fmsweb.de, [EMAIL PROTECTED]
Friedrichring 8 HBF, Hauptstra�e 2 Am M�llerw�ldchen 11
79098 Freiburg 77652 Offenburg 55122 Mainz
Tel.: +49 761 2926500 Tel.: +49 761 2926500 Tel.: +49 6131 6293881
Fax : +49 761 2926503 Fax : +49 761 2926503 Fax : +49 761 2926503
--------------------------------------------------------------------
BITTE ANTWORTEN SIE AN
[EMAIL PROTECTED]
--------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]