Tom Schindl wrote:
So if one of the free-bsd maintainers is reading this list it would be
nice if:
a) /etc/profile is patched and PERL5LIB is removed or set to a
meaningful value which doesn't hurt anyone.
b) before starting apache resetting the PERL5LIB
on FBSD 6-current
cat /etc/profile
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just to close this thread a give a solution to users running into the
same problem:
What was the problem:
- -
Because one of the entries in the INC-Path was
"/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle" at a very early
positio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tom Schindl schrieb:
> Niklas Saers schrieb:
>
>>>Forgot to post to the list. A little thing I forgot in the private
>
>
> [...]
>
>
>>>Include:
>>>/my/include/modperl;/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle;/usr/local/lib/perl5/site_per
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Niklas Saers schrieb:
> Hi again, Tom,
> no problem running it as a CGI:
>
> Include:
> /usr/local/lib/perl5/site_perl/5.8.7/mach;/usr/local/lib/perl5/site_perl/5.8.7;/usr/local/lib/perl5/site_perl;/usr/local/lib/perl5/5.8.7/BSDPAN;/usr/local/lib/per
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Niklas Saers schrieb:
> Forgot to post to the list. A little thing I forgot in the private
[...]
> Include:
> /my/include/modperl;/usr/local/lib/perl5/site_perl/5.8.7/mach/Bundle;/usr/local/lib/perl5/site_perl/5.8.7/mach;/usr/local/lib/perl5/site_pe
Hi again, Tom,
no problem running it as a CGI:
Include:
/usr/local/lib/perl5/site_perl/5.8.7/mach;/usr/local/lib/perl5/site_perl/5.8.7;/usr/local/lib/perl5/site_perl;/usr/local/lib/perl5/5.8.7/BSDPAN;/usr/local/lib/perl5/5.8.7/mach;/usr/local/lib/perl5/5.8.7;.
Loaded Libs:
warnings/register.pm;C
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Niklas Saers schrieb:
> Forgot to post to the list. A little thing I forgot in the private
[...]
> Its worth noting that $DBI::VERSION doesn't print anything.
That's really really strange.
> /usr/local/lib/perl5/site_perl/5.8.7/mach is in my path bu
Forgot to post to the list. A little thing I forgot in the private
mail, adding "PerlModule Apache::DBI DBD::Mysql" in my httpd.conf gave
me the following warning:
[error] Can't locate object method "require_version" via package "DBI"
(perhaps you forgot to load "DBI"?) at
/usr/local/lib/perl5/sit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Niklas Saers schrieb:
> Hi guys,
> thank you very much for helping out. :-)
>
> John, I have installed the modules and the script runs when running it
> as a CGI. What I don't know is if the driver has been installed for
> mod_perl as I don't know how
Hi guys,
thank you very much for helping out. :-)
John, I have installed the modules and the script runs when running it
as a CGI. What I don't know is if the driver has been installed for
mod_perl as I don't know how much mod_perls include paths differ from
regular perl. Could you tell me how I f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Too few input to help you:
a) Show us your config? Are you running it as an Registry-Script?
b) What version of mod_perl are you using?
c) Modify include path with:
1. In httpd.conf(see
http://perl.apache.org/docs/2.0/user/config/config.html):
Niklas Saers wrote:
> ... The perl script below works fine as a CGI from Apache. But when
> running it through mod_perl, I get:
> [error] Can't locate object method "connect" via package "DBI"
> (perhaps you forgot to load "DBI"?) at /home/ab1/test5.pl line 5.\n
> ...
> use DBI();
> print "Content-
12 matches
Mail list logo