Question about installing ppmtomd port

KT talmage at zero.ad.jp
Sun May 18 21:28:39 PDT 2008


I noticed that MacPorts now has the ppmtomd port, so I tried  
installing it via>

sudo port -v selfupdate
then
sudo port install ppmtomd

But returned an error message. (message pasted at end  of email)
I have MacPorts 1.600, and 10.4.11 on the macbook I'm trying to  
install ppmtomd on.
Anyone know what the problem may be?  Does this port package only  
work on 10.5.X?

Thanks in advance.

Kory


-----------ERROR MESSAGE----------------

bash$ sudo port install ppmtomd
--->  Building ppmtomd with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_p 
pmtomd/work/ppmtomd-1.5" && make all " returned error 2
Command output: ppmtomd.c:2589: error: 'spotpixels' undeclared (first  
use in this function)
ppmtomd.c:2664: warning: implicit declaration of function 'ppm_allocrow'
ppmtomd.c:2670: warning: incompatible implicit declaration of built- 
in function 'malloc'
ppmtomd.c:2686: warning: incompatible implicit declaration of built- 
in function 'malloc'
ppmtomd.c:2703: warning: implicit declaration of function 'random'
ppmtomd.c:2773: warning: implicit declaration of function  
'ppm_readppmrow'
ppmtomd.c:2823: error: parse error before 'p'
ppmtomd.c:2825: warning: implicit declaration of function 'PPM_DEPTH'
ppmtomd.c:2825: error: 'p' undeclared (first use in this function)
ppmtomd.c:2873: warning: implicit declaration of function 'PPM_GETR'
ppmtomd.c:2874: warning: implicit declaration of function 'PPM_GETG'
ppmtomd.c:2875: warning: implicit declaration of function 'PPM_GETB'
ppmtomd.c:2879: warning: implicit declaration of function 'PPM_LUMIN'
ppmtomd.c:2990: warning: comparison between signed and unsigned
ppmtomd.c:2993: warning: comparison between signed and unsigned
ppmtomd.c:2996: warning: comparison between signed and unsigned
ppmtomd.c:2999: warning: comparison between signed and unsigned
ppmtomd.c:3126: warning: implicit declaration of function 'rand'
ppmtomd.c:3174: warning: comparison between signed and unsigned
ppmtomd.c:3184: warning: implicit declaration of function 'PPM_ASSIGN'
ppmtomd.c:3256: warning: pointer targets in passing argument 1 of  
'packbits' differ in signedness
ppmtomd.c:3256: warning: pointer targets in passing argument 3 of  
'packbits' differ in signedness
ppmtomd.c:3256: warning: pointer targets in passing argument 4 of  
'packbits' differ in signedness
ppmtomd.c:3293: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
ppmtomd.c:3300: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
ppmtomd.c:3307: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
ppmtomd.c:3314: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
ppmtomd.c:3322: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
ppmtomd.c:3339: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
make: *** [ppmtomd.o] Error 1

Error: Status 1 encountered during processing.




More information about the macports-users mailing list