On Mon, 07 Mar 2005 22:58:19 +0100 Morten Nilsen <[EMAIL PROTECTED]> babbled:
> robotron:2084 wrote:
> >
> > the trouble that libtiff is having is with functions from libm (the C
> > math library). in the configure test, adding "-lm" would probably
> > clear things up. i compile imlib2 with no trouble, though i admit i'm
> > not sure if i have libtiff installed, so it's possible there's a
> > problem with the configure check for tiff support.
> >
> > if you edit configure.in in the imlib2 root dir, you'll find a section
> > that looks like this...
>
> <snip>
>
> > if my theory is correct, the problem is with the first AC_CHECK_LIB --
> > if you take it out, so that there are only the two AC_CHECK_LIB
> > functions (and if my theory is correct) then you should ok. i can
> > test this out at home later tonight, and if it works i'll see about
> > crafting a patch.
>
> quite right, this patch cleared it up for me;
>
> --- configure.in.org 2005-03-03 15:28:51.000000000 +0100
> +++ configure.in 2005-03-07 22:55:31.888261464 +0100
> @@ -228,9 +228,6 @@
> AC_SUBST(PNGLIBS)
>
> AC_CHECK_LIB(tiff, TIFFReadScanline,
> - tiff_libs="-ltiff"
> - tiff_ok=yes,
> -AC_CHECK_LIB(tiff, TIFFReadScanline,
> tiff_libs="-ltiff -ljpeg -lz -lm"
> tiff_ok=yes,
> AC_CHECK_LIB(tiff34, TIFFReadScanline,
> @@ -239,8 +236,7 @@
> tiff_ok=no
> AC_MSG_WARN(*** Native TIFF support will not be built (TIFF library
> not found) ***),
> -ljpeg -lz -lm),
> - -ljpeg -lz -lm),
> - )
> + -ljpeg -lz -lm)
> if test "$tiff_ok" = yes; then
> AC_MSG_CHECKING([for tiffio.h])
> AC_TRY_CPP(
and that patch would be wrong :( as it removes the simpler test REQUIRING links
to libs that may NOT be needed. again - inform your distribution maintainers
that they should not disable shared lib dependencies (the ability to LINK one
shared lib to others, like you can link an executable to shared libs).
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
裸好多 [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel