On Wed, 3 Sep 2003, Jean-Francois MERTENS wrote:
> Aren't you building on UFS ? And with netpbm installed ?
Yes, I'm building on UFS.
> In that case, either of the 2 following solutions works for me:
> 1) remove netpbm before building netpbm10
> 2) In netpbm10-10.12-2.info, replace the last line of the PatchScript
> cat Makefile.config.in Makefile.config.fink >Makefile.config
> by:
> cat Makefile.config.in Makefile.config.fink |sed 's|ln -s|ln|g'
> >Makefile.config
> and at the end of the InstallScript add the following lines :
> cd %i/bin
> ln -fs pnmtoplainpnm pnmnoraw
> ln -fs gemtopnm gemtopbm
> ln -fs pnmtojpeg ppmtojpeg
> ln -fs bmptopnm bmptoppm
> ln -fs pamtouil ppmtouil
> ln -fs pamslice pgmslice
> ln -fs pamfile pnmfile
> ln -fs pamstretch pnminterp
> ln -fs pamoil pgmoil
> ln -fs pnmnorm ppmnorm
> ln -fs pnmnorm pgmnorm
> ln -fs pamarith pnmarith
> cd %i/lib
> ln -fs libnetpbm.%v.dylib libnetpbm.10.dylib
> ln -fs libnetpbm.%v.dylib libnetpbm.dylib
This made /sw/lib/perl5/Fink/Services.pm complain about not
knowing anything about "cd". I rewrote it to
/bin/ln -fs %i/bin/pnmtoplainpnm %i/bin/pnmnoraw
/bin/ln -fs %i/bin/gemtopnm %i/bin/gemtopbm
/bin/ln -fs %i/bin/pnmtojpeg %i/bin/ppmtojpeg
/bin/ln -fs %i/bin/bmptopnm %i/bin/bmptoppm
/bin/ln -fs %i/bin/pamtouil %i/bin/ppmtouil
/bin/ln -fs %i/bin/pamslice %i/bin/pgmslice
/bin/ln -fs %i/bin/pamfile %i/bin/pnmfile
/bin/ln -fs %i/bin/pamstretch %i/bin/pnminterp
/bin/ln -fs %i/bin/pamoil %i/bin/pgmoil
/bin/ln -fs %i/bin/pnmnorm %i/bin/ppmnorm
/bin/ln -fs %i/bin/pnmnorm %i/bin/pgmnorm
/bin/ln -fs %i/bin/pamarith %i/bin/pnmarith
/bin/ln -fs %i/lib/libnetpbm.%v.dylib %i/lib/libnetpbm.10.dylib
/bin/ln -fs %i/lib/libnetpbm.%v.dylib %i/lib/libnetpbm.dylib
and everything worked smoothly. Thanks!
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users