Subject: ap-perl doesn't compile on Solaris
To: None <>
From: Bernd Ernesti <>
List: tech-pkg
Date: 10/19/2001 18:50:31

I am trying to build ap-perl with zoularis but it doesn't build:

===> Configuring for ap-perl-1.25
Will configure via APXS (apxs=/opt/bsd/sbin/apxs)
Now please type 'make' to build
Checking VERSION..........ok
Checking for LWP::UserAgent......failed
Can't load module HTML::Parser, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the HTML::Parser module statically linked into it.)
 at /opt/bsd/lib/perl5/site_perl/5.6.1/sparc-solaris/HTML/ line 79
Compilation failed in require at /opt/bsd/lib/perl5/site_perl/5.6.1/sparc-solaris/HTML/ line 79.
Compilation failed in require at /opt/bsd/lib/perl5/site_perl/5.6.1/sparc-solaris/HTML/ line 70.
BEGIN failed--compilation aborted at /opt/bsd/lib/perl5/site_perl/5.6.1/sparc-solaris/HTML/ line 70.
Compilation failed in require at /opt/bsd/lib/perl5/site_perl/5.6.1/LWP/ line 47.
Compilation failed in require at /opt/bsd/lib/perl5/site_perl/5.6.1/LWP/ line 103.
BEGIN failed--compilation aborted at /opt/bsd/lib/perl5/site_perl/5.6.1/LWP/ line 103.
Compilation failed in require at Makefile.PL line 1110.

The libwww-perl library is needed to run the test suite.
Installation of this library is recommended, but not required.   
===> Building for ap-perl-1.25
ld  -o mod_perl.lo perlxsi.lo perl_config.lo perl_util.lo perlio.lo mod_perl_opmask.lo  Apache.lo Constants.lo ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo Table.lo /opt/bsd/lib/perl5/5.6.1/sparc-solaris/DynaLoader_pic.o -R/opt/bsd/lib -L/opt/bsd/lib -L/opt/bsd/lib/perl5/5.6.1/sparc-solaris/CORE -lperl -lm -lsocket -lnsl -lm
Undefined                       first referenced
 symbol                             in file
boot_Devel__DProf                   perlxsi.lo
ap_append_arrays                    perl_config.lo
ap_sub_req_lookup_file              Apache.lo
ap_create_per_dir_config            perl_config.lo
ap_internal_redirect                Apache.lo
ap_table_unset                      Apache.lo
ap_pstrdup                          mod_perl.lo
ap_os_dso_unload                    mod_perl.lo
ap_os_escape_path                   Util.lo
ap_chdir_file                       Apache.lo

I removed all old perl packages and installed perl-5.6.1nb6 and all the other
packages, including p5-libwww and now the build of ap-perl fails.
Btw, does ap-perl needs a dependency for p5-libwww, since it checks for some
of the .pm files from it?