Re: [gtk-list] make install fails on Mac OS X



Hi,

On Tue, 26 Sep 2006 11:00:57 +0100 (BST)
James Gilbert <jgrg sanger ac uk> wrote:
>I gues that it is confusing libTIFF.dylib:
>
>/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
>
>with my libtiff:
>
>/Users/jgrg/dist/otterlace.app/Contents/Resources/lib/libtiff.dylib
>
>on the Mac's case-insensitve HFS+ filesystem.
>
>Can anyone suggest a work-around?


In my case, I added suffix to libtiff as libpng packagers do:

export libname_suffix=38
for f in `find . -name '*.am' | fgrep -v /man/ | fgrep -v /html/ `
do
  cp $f $f.orig
  sed \
        -e 's,libtiff\.,libtiff'${libname_suffix}'.,g' \
        -e 's,libtiff_,libtiff'${libname_suffix}'_,g' \
        -e 's,ltiff,ltiff'${libname_suffix}',g' \
        < $f.orig > $f
done
./autogen.sh
./configure ...
make
make install

For the softwares which lookup TIFF library by -ltiff,
I created symlinks after installation, as:
	libtiff.la -> libtiff38.la
	libtiff.a  -> libtiff38.a

Regards,
mpsuzuki


P.S.
However, I'm afraid that following to Fink developers' method
might be most safe, if you're going to co-use their packages.
I've not checked how they do.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]