Wiggins d Anconia wrote on 27.04.2004:

>>Now the installation instructions tell me to
>>
>>>edit Makefile.PL and change LIBS and INC to include the
>>>appropriate path information to the required libMagick library.
>>>You will also need library search paths (-L) to JPEG, PNG, TIFF,
>>>etc. libraries if they were included with your installed version
>>>of ImageMagick.
>>
>>The actual settings are:
>>
>># Header search specfication and preprocessor flags 'INC'    =>
>>'-I../ -I.. -I/usr/include/freetype2
>-I/usr/X11R6/include -I/usr/X11R6/include/X11
>-I/usr/include/libxml2',
>>
>
>The above will need a -I/usr/local/include added to it to specify
>that path as part of the includes path.
>
That's what Sherm Pendley suggested, too, but it did not suffice.

>># Library specification 'LIBS'   => ['-L/usr/local/lib
>>-L../magick/.libs -lMagick
>-L/usr/X11R6/lib -L/usr/lib -L/usr/lib -llcms -ltiff -lfreetype
>-ljpeg -lpng -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz
>-lpthread -lm -lpthread'],
>
>
>This one surprises me, generally there will be a libjpeg.so, etc. in
>a library path.  You need to make sure the path to the .so files is
>included in the list above, which I would have thought they would be
>in /usr/local/lib based on your include path, but if they come with the
>/dev tools in OS X then god knows where it puts them.  On linux for
>instance there is a ld.so.conf that specifies what directories to
>include when looking for the shared libs. There should be something
>similar assuming gcc is being used.  Alternatively you can specify
>these types of paths either in an ENV variable, LD_LIBRARY_PATH for
>instance, but I don't know precisely off the top of my head, usually
>I guess my way through it
>:-).
>
I checked /usr/local/lib, and it does have ImageMagick libs in it, no .so files, 
though:

drwxr-xr-x  11 root  admin      374 22 Mar 12:15 ImageMagick-5.5.1
-rw-r--r--   1 root  admin  2209216  7 Feb 16:00 libMagick++.a
-rwxr-xr-x   1 root  admin      977  7 Feb 16:00 libMagick++.la
-rw-r--r--   1 root  admin  7406544  7 Feb 16:00 libMagick.a
-rwxr-xr-x   1 root  admin      828  7 Feb 15:59 libMagick.la
-rwxr-xr-x   1 root  admin  1217588  1 Dec  2002 libfreetype.6.2.0.dylib
lrwxrwxrwx   1 root  wheel       23 20 Nov 21:41 libfreetype.6.dylib -> 
libfreetype.6.2.0.dylib
-rw-r--r--   1 root  admin  1717448  4 Jan 21:31 libfreetype.a
lrwxrwxrwx   1 root  wheel       22 22 Mar 12:08 libfreetype.dylib -> 
libfreetype6.3.4.dylib
-rwxr-xr-x   1 root  admin      747  4 Jan 21:31 libfreetype.la
[snip]

I seem to have started a rather extensive thread on [EMAIL PROTECTED], so I guess we 
should keep this there.

Thanks,

Jan
-- 
How many Microsoft engineers does it take to screw in a lightbulb? None. They just 
redefine "dark" as the new standard.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to