Randy Kobes wrote:
On Tue, 22 Jun 2004, Stas Bekman wrote:


Randy Kobes wrote:

I believe the last APR::* module that depends on mod_perl.so
is APR::Bucket - this diff included modperl_bucket.c in the
files copiled into APR.so, so that APR::Bucket doesn't need
mod_perl.so:

+1

I'm not sure this is the last one, since we don't test all APR:: modules.


Thanks ... I used the term "last APR::*" module based simply
on trying to compile all the APR::* modules without linking
to mod_perl.so. But you're right - there may be dependencies
on mod_perl.so lurking that testing will expose.

:)

Also I believe the copying part was originally a quick
hack, I see no reason why .c files should be compiled
twice. So eventually we should replace copy-n-compile with
create-right-dependecies-n-compile-once


That's true ... What about, when building APR.so, simply
linking in the relevant .o files within src/modules/perl
(which already exist at this point of the build)?

That will work only if dependencies are made correctly, so you don't try to link against non-existing .o files. But things get complicated if you want to continue supporting make on SMP machines (make -j)


So you want to build src/modules/perl/*.c
then xs/APR/APR/APR.so
then mod_perl.so and the rest of xs/* in no particular order.

I forgot whether you still have this obstacle of needing to build APR.so before mod_perl.so, I think that's the case.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to