The line use lib "/sw/lib/perl5/darwin/GD.pm";
is incorrect. It should be use lib "/sw/lib/perl5/darwin"; use GD; For more information, see perldoc perlmod. -Daniel Westermann-Clark On Mon, 9 Sep 2002, Michael Baudis wrote: > Hi all, > > i have a problem with with the use of gd-pm in a CGI. Versions 1.33 and > 2.01 (just posted; I am the maintainer) work as local modules. But when > trying them in a CGI, I get the error: > > Software error: > Can't locate object method "new" via package "GD::Image" at > /Library/WebServer/CGI-Executables/cytodraw.cgi line 1004. > > The CGI header starts: > > #!/usr/bin/perl -w > use CGI ':standard'; > print "Content-type: text/html\n\n"; > use CGI::Carp qw(fatalsToBrowser); > use lib "/sw/lib/perl5/darwin/GD.pm"; #direct path, because cannot find > library (?) > > Is this a path problem, or Apache config etc.? Probably just a general > lack of knowledge on my side... > > Help appreciated! > > Michael. ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
