... which I need to do because, while the CPAN module for DBD::Pg fails to install under Panther, the Fink package for it indeed works. It's just that Fink puts it in a different directory (/sw) so I need to tell Apache and mod_perl to add that directory to @INC so that the Perl code will find it. This all works wonderfully.
However, now I need to forsake mod_perl and make this also work for plain CGI. As far as I can tell, there doesn't seem to be a way to specify additional directories to be added to @INC (via PERL5LIB or otherwise). This has to work under multiple platforms (Mac OSX, Debian Linux and Cygwin) so changing the Perl code is out of the question. So, i'm wondering how to do this.
1. I could somehow alter the way OSX starts up Apache so the /sw/... directory is added ...
I want to keep things as similar and parsimonious as I can across platforms i.e. I don't want to use some elaborate hack to do it only for one platform, when the others don't need to ...
Can anyone help?
Falling You - exploring the beauty of voice and sound
New album, "Touch", available now
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden