On Saturday, Sep 6, 2003, at 01:36 Europe/Brussels, Geoffrey A. Washburn wrote:
On Wed, 3 Sep 2003, Jean-Francois MERTENS wrote:Sorry, forgot to mention the additional line "#!bin/sh" right in the beginning
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".
of the InstallScript.
I rewrote it toThat way your netpbm is not functional: all those links will point to the
/bin/ln -fs %i/bin/pnmtoplainpnm %i/bin/pnmnoraw ...
(non-existing) root-dir (/sw/src/root-netpbm10...).
The first "%i" in each line should be replaced by a "%p" if you wanted
to do it this way. (The first argument of a symlink is esentially the text
that goes into the symlink, and remains the same wherever the symlink
is moved _ while the second argument is the path where the symlink is put)
Thanks a lot for the confirmations.
JF Mertens
------------------------------------------------------- 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