You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2000/09/09 06:51:59 UTC

ActiveState related patches

Hi,
Attached is a suggested patch to the latest cvs mod_perl sources
related to some things on building with ActivePerl. Specifically,
- the patch to Makefile.PL inserts an AUTHOR and ABSTRACT
for Makefile.PL, as ActiveState's ppm likes;
- the patch to ApacheModulePerl.dsp pulls in a .def file
ApacheModulePerl.def, which is also attached and is
assumed to be put in the same directory as 
ApacheModulePerl.dsp (src/modules/ApacheModulePerl).
This def file adds some symbols that are
needed by AxKit and libapreq on Win32, and both then 
link successfully with the ApacheModulePerl.lib
built with this patched mod_perl.
- there's also a couple of patches to the scripts used
in the t/modules/perlrun.t tests; on my ActivePerl these
tests failed because 'dirty-lib' could not be found in
@INC. The patches use the FindBin module 
in "use lib ..." so that dirty-lib can be found.

With these patches, all tests pass on my ActivePerl
(build 617).

I've placed a mod_perl ppd up, based on these patched
sources, which can be installed via ppm as
  ppm install 
http://theoryx5.uwinnipeg.ca/pub/ppmpackages/mod_perl.ppd
(or via ftp at the same address). Included in this ppd is 
a post-install script which will grab and install, to a 
user-specified directory, the required 
ApacheModulePerl.dll. Also in this directory is a sample 
apache httpd.conf for use with Win32 mod_perl.
If these patches are OK, perhaps we could ask for
further testing on the mod_perl mailing list - I could
also make up some ppds for some other Apache::*
packages.

best regards,
randy
 

Re: ActiveState related patches

Posted by Gerald Richter <ri...@ecos.de>.
Hi Randy,

I have tried your patches:

1.) Win32 non ActiveState Perl: ok
2.) Win32 ActiveState Perl:

Insecure dependency in require while running with -T switch at
d:/perl/cpan/build/modperl-as/t//docs/startup.pl line 33.

line 33 is "use IO::File"

3.) Unix:

modules/file: FAILED before any test output arrived
modules/perlrun: FAILED before any test output arrived

I don't have the time track this down further, but if you are anybody else
need more information, I will be happy to provide them

Gerald


-------------------------------------------------------------
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 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

----- Original Message -----
From: "Randy Kobes" <ra...@theoryx5.uwinnipeg.ca>
To: <de...@perl.apache.org>
Cc: "Randy Kobes" <ra...@theoryx5.uwinnipeg.ca>
Sent: Saturday, September 09, 2000 6:51 AM
Subject: ActiveState related patches


> Hi,
> Attached is a suggested patch to the latest cvs mod_perl sources
> related to some things on building with ActivePerl. Specifically,
> - the patch to Makefile.PL inserts an AUTHOR and ABSTRACT
> for Makefile.PL, as ActiveState's ppm likes;
> - the patch to ApacheModulePerl.dsp pulls in a .def file
> ApacheModulePerl.def, which is also attached and is
> assumed to be put in the same directory as
> ApacheModulePerl.dsp (src/modules/ApacheModulePerl).
> This def file adds some symbols that are
> needed by AxKit and libapreq on Win32, and both then
> link successfully with the ApacheModulePerl.lib
> built with this patched mod_perl.
> - there's also a couple of patches to the scripts used
> in the t/modules/perlrun.t tests; on my ActivePerl these
> tests failed because 'dirty-lib' could not be found in
> @INC. The patches use the FindBin module
> in "use lib ..." so that dirty-lib can be found.
>
> With these patches, all tests pass on my ActivePerl
> (build 617).
>
> I've placed a mod_perl ppd up, based on these patched
> sources, which can be installed via ppm as
>   ppm install
> http://theoryx5.uwinnipeg.ca/pub/ppmpackages/mod_perl.ppd
> (or via ftp at the same address). Included in this ppd is
> a post-install script which will grab and install, to a
> user-specified directory, the required
> ApacheModulePerl.dll. Also in this directory is a sample
> apache httpd.conf for use with Win32 mod_perl.
> If these patches are OK, perhaps we could ask for
> further testing on the mod_perl mailing list - I could
> also make up some ppds for some other Apache::*
> packages.
>
> best regards,
> randy
>
>


----------------------------------------------------------------------------
----


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


Re: ActiveState related patches

Posted by Gerald Richter <ri...@ecos.de>.
Hi,

the patches looks good to me. I try to compile them NT with VC 5 and will
also see if it still works on Unix.

If nobody raises an objection I commit the changes to the mod_perl cvs in
the next days.

When this is in the mod_perl cvs, I think it's time to announce it to the
mod_perl list, so people can test it with ActiveState _and_ on Unix, so we
get more feedback.

Gerald

-------------------------------------------------------------
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 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

----- Original Message -----
From: "Randy Kobes" <ra...@theoryx5.uwinnipeg.ca>
To: <de...@perl.apache.org>
Cc: "Randy Kobes" <ra...@theoryx5.uwinnipeg.ca>
Sent: Saturday, September 09, 2000 6:51 AM
Subject: ActiveState related patches


> Hi,
> Attached is a suggested patch to the latest cvs mod_perl sources
> related to some things on building with ActivePerl. Specifically,
> - the patch to Makefile.PL inserts an AUTHOR and ABSTRACT
> for Makefile.PL, as ActiveState's ppm likes;
> - the patch to ApacheModulePerl.dsp pulls in a .def file
> ApacheModulePerl.def, which is also attached and is
> assumed to be put in the same directory as
> ApacheModulePerl.dsp (src/modules/ApacheModulePerl).
> This def file adds some symbols that are
> needed by AxKit and libapreq on Win32, and both then
> link successfully with the ApacheModulePerl.lib
> built with this patched mod_perl.
> - there's also a couple of patches to the scripts used
> in the t/modules/perlrun.t tests; on my ActivePerl these
> tests failed because 'dirty-lib' could not be found in
> @INC. The patches use the FindBin module
> in "use lib ..." so that dirty-lib can be found.
>
> With these patches, all tests pass on my ActivePerl
> (build 617).
>
> I've placed a mod_perl ppd up, based on these patched
> sources, which can be installed via ppm as
>   ppm install
> http://theoryx5.uwinnipeg.ca/pub/ppmpackages/mod_perl.ppd
> (or via ftp at the same address). Included in this ppd is
> a post-install script which will grab and install, to a
> user-specified directory, the required
> ApacheModulePerl.dll. Also in this directory is a sample
> apache httpd.conf for use with Win32 mod_perl.
> If these patches are OK, perhaps we could ask for
> further testing on the mod_perl mailing list - I could
> also make up some ppds for some other Apache::*
> packages.
>
> best regards,
> randy
>
>


----------------------------------------------------------------------------
----


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