Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37019

Summary: need way to build static mod_perl with portage
Product: Gentoo Linux Reporter: Andrew Gaffney (RETIRED) <agaffney>
Component: [OLD] UnspecifiedAssignee: Gentoo Perl team <perl>
Status: RESOLVED CANTFIX    
Severity: normal CC: web-apps
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Gaffney (RETIRED) gentoo-dev 2004-01-02 06:42:19 UTC
There is currently no way using portage to create a static mod_perl linked with the apache binary. Certain packages like HTML-Mason *require* mod_perl to be static instead of a DSO. Is there a way the mod_perl ebuild can be modified to build a static mod_perl if the "static" USE flag is in effect? I've written a few simple ebuilds before, but I don't have enough experience to do this myself.

Reproducible: Always
Steps to Reproduce:
Comment 1 eric sammer 2004-01-03 20:59:59 UTC
I'll assume you're referring to MP 1.x series as MP 2 is meant to be a DSO.

Currently, this doesn't seem possible as the only real way to do this is to add a local mod_perl use flag to apache that, if set, drags in the mod_perl source and builds it under the guise of apache. This could be done and dev-perl/mod_perl could be fulfilled as a virtual. In that instance, it might work, but it would add a certain level of complexity to the situation and potentially cause problems with numerous other ebuilds. On top of this, it could only be done with apache-1.* series ebuilds.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-08-05 18:41:10 UTC
Outside our scope for the time being.
Comment 3 arona 2007-04-11 15:41:52 UTC
É