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

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

 



Hi,

On Tue, 26 Sep 2006 11:00:57 +0100 (BST)
James Gilbert <jgrg@xxxxxxxxxxxx> 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.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux