Hi,

Masanori : this is an update on my msg of april 22


Geoffrey :


Aren't you building on UFS ? And with netpbm installed ?

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


Best,

Jean-Francois Mertens


On Tuesday, Sep 2, 2003, at 21:11 Europe/Brussels, Geoffrey A. Washburn wrote:



Compiling the netpbm package fails on pframe.c for me. I'm using
the latest fink unstable on 10.2.6, with the December developer tools.
Does anyone have any idea on what might be going wrong?


cc -no-cpp-precomp -c
-I/sw/src/netpbm10-10.12-2/netpbm-10.12/converter/ppm/ppmtompeg -I.
-I/sw/src/netpbm10-10.12-2/netpbm-10.12/converter/ppm/ppmtompeg/ headers \
-O3 -fstrict-aliasing -funroll-all-loops -isystem /sw/include -o
pframe.o pframe.c
pframe.c:263: parse error before "const"
pframe.c: In function `computeMotionVectors':
pframe.c:271: `bool' undeclared (first use in this function)
pframe.c:271: (Each undeclared identifier is reported only once
pframe.c:271: for each function it appears in.)
pframe.c:271: parse error before "useCached"
pframe.c:276: `current' undeclared (first use in this function)
pframe.c:276: `mbAddress' undeclared (first use in this function)
pframe.c:276: `QScale' undeclared (first use in this function)
pframe.c:278: `useCached' undeclared (first use in this function)
pframe.c:286: `motionXP' undeclared (first use in this function)
pframe.c:286: `motionYP' undeclared (first use in this function)
pframe.c:287: `useMotionP' undeclared (first use in this function)
pframe.c:297: `currentBlock' undeclared (first use in this function)
pframe.c:297: `prev' undeclared (first use in this function)
pframe.c:297: `y' undeclared (first use in this function)
pframe.c:297: `x' undeclared (first use in this function)
pframe.c:320: `infoP' undeclared (first use in this function)
pframe.c: At top level:
pframe.c:350: parse error before "bool"
pframe.c: In function `computeMotionAndDct':
pframe.c:364: `lastBlockY' undeclared (first use in this function)
pframe.c:366: `lastBlockX' undeclared (first use in this function)
pframe.c:369: `bool' undeclared (first use in this function)
pframe.c:369: parse error before "useMotion"
pframe.c:371: `current' undeclared (first use in this function)
pframe.c:374: `prev' undeclared (first use in this function)
pframe.c:374: `infoP' undeclared (first use in this function)
pframe.c:375: `QScale' undeclared (first use in this function)
pframe.c:376: `useMotion' undeclared (first use in this function)
pframe.c:383: `numPBlocksP' undeclared (first use in this function)
pframe.c:395: `pmvHistogram' undeclared (first use in this function)
pframe.c:404: `numIBlocksP' undeclared (first use in this function)
pframe.c: In function `GenPFrame':
pframe.c:434: `pmvHistogram' used prior to declaration
make[3]: *** [pframe.o] Error 1
make[2]: *** [ppmtompeg/all] Error 2
make[1]: *** [ppm/all] Error 2
make: *** [converter/all] Error 2
### execution of make failed, exit code 2
Failed: compiling netpbm10-10.12-2 failed







------------------------------------------------------- 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




------------------------------------------------------- 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

Reply via email to