You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Angus Lees <gu...@switchonline.com.au> on 2002/07/10 03:05:40 UTC

both apache 1.3 and 2

is it / will it be possible to have embperl be compiled for both
apache 1.3 and 2.0 and somehow choose the right module at load time?

(i haven't even tried compiling against apache2 yet, this is just
packaging speculation)

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: both apache 1.3 and 2

Posted by Gerald Richter <ri...@ecos.de>.
>
> is it / will it be possible to have embperl be compiled for both
> apache 1.3 and 2.0 and somehow choose the right module at load time?
>

You cannot run make install for both, but you can install one of them to a
different location and adjust your lib path at load time to get the one
loaded you need.

It's also possible to use Embperl 1.3 for mod_perl 1 and Embperl 2 for
Apache 2. In this case you can install both at the same time without
problems, because 1.3 and 2.0 use different namespaces.

Gerald

P.S. For mod_perl there is a Makefile.PL switch called APACHE2 (or similar),
that causes mod_perl to be installed under Apache2 namespace, so mod_perl 1
& 2 can exist in the same installation.


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org