I'm trying to get bugzilla up and running on my system. This requires
that I install a number of perl modules first. I figured that I would
- use fink to install all the modules it provides
- install the rest of the modules with /usr/bin/perl
Now, when I point my browser to the local URL where my bugzilla
installation is, I get several error messsages looking similar to this
(this is just one of them):
Can't locate Template.pm in @INC (@INC contains: .
/System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin
/Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl) at
globals.pl line 1529.
As I understand it, @INC is some sort of search path that perl uses to
locate its modules. Because I installed the Template module with fink,
it resides in /sw/lib/perl5/darwin/Template.pm; it therefore makes
sense that httpd must be told of this new location. Any ideas of how to
do this?
What ***didn't*** work was
- setting PERL5LIB to /sw/lib/perl5/darwin and exporting it
- apachectl stop (check that no httpd processes are left)
- apachectl start (check that new httpd processes were created)
What ***did*** work in the end was copying Template.pm and all the
other perl modules from /sw/lib/perl5 to /Library/Perl. But as you can
guess I don't like this approach - it stinks of defeat :-)
Any enlightening words or a pointer to would be greatly appreciated
Patrick
OS X 10.2.1
OS X provides perl 5.6.0
OS X provides httpd 1.3.26
fink 0.11.0, using distro 0.4.9.cvs
----------------------------------------------------------------------
Patrick Naef "The Queen of Hearts, she made some tarts,
Lucerne, Switzerland All on a summer day:
[EMAIL PROTECTED] The Knave of Hearts, he stole those tarts,
ICQ# 120279211 And took them quite away!"
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
- Re: [Fink-users] OT: A little help with perl Patrick N�f
