[Please keep the CC: to bugs.debian.org] On Mon, Oct 09, 2000 at 10:59:29PM +0200, [EMAIL PROTECTED] wrote: > Package: apache-perl > Version: 1.3.9-13.1-1.21.20000309-1 > Severity: normal > > I've tried to create a package `libapache-request-perl' > (Module Apache::Request). (Such a package doesn't yet exist > neither in potato nor in woody.) > > I have currently installed apache-perl and apache-dev (beside others). > When I try to build the package, gcc can't find `httpd.h' (and other > header files). Makefile.PL asks the path to include files from Apache::MyConfig. > But without `APXS' set this module can't provide all needed directories. The problem is that apache-perl is the statically linked binary, and thus does not use apxs in its own build process. modperl folks: should APXS get set anyway? Is Apache::Request wrong? > A few months ago I could successfully build libapache-request-perl since > then I had installed `apache' (together with `libapache-mod-perl') instead > of `apache-perl'. Apache::MyConfig from `libapache-mod-perl' provides > the path to `apxs'. > > Following the contents from the two versions of Apache/MyConfig.pm: > > libapache-mod-perl 1.24-1 > ========================= > > # > # Configuartion for mod_perl and Apache::... > # > package Apache::MyConfig ; > > %Setup = ( > 'Apache_Src' => '', > 'SSL_BASE' => '', > 'APXS' => '/usr/bin/apxs', > ); > > 1; > > __END__ > > > apache-perl 1.3.9-13.1-1.21.20000309-1 > ===================================== > > # > # Configuartion for mod_perl and Apache::... > # > package Apache::MyConfig ; > > %Setup = ( > 'Apache_Src' => >'/usr/src/aperl/apache-perl-1.3.9-13.1-1.21.20000309/apache-1.3.9/build-tree/apache_1.3.9/src', > 'SSL_BASE' => '', > 'APXS' => '', > ); > > 1; > > __END__ > > As you can see the value for `APXS' is empty in apache-perl's version. > > In case the lack of /usr/bin/apxs is intentional, I will make my package > Build-Depend on `apache' and `libapache-mod-perl'. Shouldn't be necessary... it should probably have just Build-Depends: libapache-mod-perl - note that apache-perl already provides both apache and libapache-mod-perl. Also don't forget apache-dev. Dan /--------------------------------\ /--------------------------------\ | Daniel Jacobowitz |__| SCS Class of 2002 | | Debian GNU/Linux Developer __ Carnegie Mellon University | | [EMAIL PROTECTED] | | [EMAIL PROTECTED] | \--------------------------------/ \--------------------------------/