Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^6: Can't call method "scaleY" on an undefined value at C:/strawberry/perl/site/lib/ Image/Seek.pm line 137.

by tonyc (Pilgrim)
on Jul 30, 2009 at 00:09 UTC ( #784424=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Can't call method "scaleY" on an undefined value at C:/strawberry/perl/site/lib/ Image/Seek.pm line 137.
in thread Can't call method "scaleY" on an undefined value at C:/strawberry/perl/site/lib/ Image/Seek.pm line 137.

If you've now installed libjpeg, including both the header files and libraries you can point Imager's Makefile.PL at them by setting the IM_INCPATH and IM_LIBPATH environment variables, eg:

set IM_INCPATH=c:\installed\include set IM_LIBPATH=c:\installed\lib perl Makefile.PL

or you can supply them on the command-line:

perl Makefile.PL --incpath=c:\installed\include --libpath=c:\installed +\lib

(I wondered who that Tony Snow guy was... ;)


Comment on Re^6: Can't call method "scaleY" on an undefined value at C:/strawberry/perl/site/lib/ Image/Seek.pm line 137.
Select or Download Code
Re^7: Can't call method "scaleY" on an undefined value at C:/strawberry/perl/site/lib/ Image/Seek.pm line 137.
by socrtwo (Sexton) on Jul 30, 2009 at 03:03 UTC
    So of nice you to stop in.

    So I installed the GNUWIN32 PNG and JPEG libraries and then sent this instruction to the command:

    perl Makefile.PL --incpath="C:\Program Files\GnuWin32\installed\includ +e" --libpath="C:\Program Files\GnuWin32\installed\lib"

    The message now is:

    jpeg: includes found - libraries not found png: includes found - libraries not found

    Here's the dir of "C:\Program Files\GnuWin32\installed\lib"

    12,800 jpeg-bcc.lib 3,568 jpeg.def 24,220 jpeg.lib 64,620 libjpeg.dll.a 29,696 libpng-bcc.lib 48,640 libpng.dll.a 995 libpng.la 51,878 libpng.lib 4,645 libpng12.def 48,706 libpng12.dll.a 995 libpng12.la pkgconfig

    Any ideas? The makedb.pl script still gives the error:

    "Can't call method "scaleY" on an undefined value at C:/strawberry/per +l/site/lib/ Image/Seek.pm line 112.

    The error gives a different line number then the original post title because I reinstalled Image::Seek 0.1 instead of the 0.2 version. The latter has a few extra lines of code.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://784424]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2015-07-06 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls