Hi. I am trying to compile the latest version of jksrc (downloaded from
here: http://genome.ucsc.edu/FAQ/FAQlicense.html#license3) on an OS X
10.5.6 x86_64 system. In the jksrc/lib directory, the make fails with:
gcc -O -g -Wall -Wno-unused-variable -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_x86_64 -DUSE_SSL -DCOLOR32
-Wall -Wno-unused-variable -I../inc -I../../inc -I../../../inc
-I../../../../inc -I../../../../../inc -o portimpl.o -c portimpl.c
gcc -O -g -Wall -Wno-unused-variable -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_x86_64 -DUSE_SSL -DCOLOR32
-Wall -Wno-unused-variable -I../inc -I../../inc -I../../../inc
-I../../../../inc -I../../../../../inc -o pngwrite.o -c pngwrite.c
pngwrite.c:7:87: error: png.h: No such file or directory
pngwrite.c:12: error: expected ‘)’ before ‘png’
pngwrite.c:18: error: expected ‘)’ before ‘png’
pngwrite.c: In function ‘mgSaveToPng’:
pngwrite.c:33: error: ‘png_structp’ undeclared (first use in this function)
pngwrite.c:33: error: (Each undeclared identifier is reported only once
pngwrite.c:33: error: for each function it appears in.)
pngwrite.c:33: error: expected ‘;’ before ‘png’
pngwrite.c:36: error: ‘png’ undeclared (first use in this function)
pngwrite.c:41: error: ‘png_infop’ undeclared (first use in this function)
pngwrite.c:41: error: expected ‘;’ before ‘info’
pngwrite.c:42: error: ‘info’ undeclared (first use in this function)
pngwrite.c:45: warning: implicit declaration of function
‘png_destroy_write_struct’
pngwrite.c:51: warning: implicit declaration of function ‘png_jmpbuf’
pngwrite.c:51: warning: passing argument 1 of ‘setjmp’ makes pointer
from integer without a cast
pngwrite.c:61: warning: implicit declaration of function ‘png_init_io’
pngwrite.c:63: warning: implicit declaration of function ‘png_set_IHDR’
pngwrite.c:64: error: ‘PNG_COLOR_TYPE_RGBA’ undeclared (first use in
this function)
pngwrite.c:64: error: ‘PNG_INTERLACE_NONE’ undeclared (first use in this
function)
pngwrite.c:65: error: ‘PNG_COMPRESSION_TYPE_DEFAULT’ undeclared (first
use in this function)
pngwrite.c:65: error: ‘PNG_FILTER_TYPE_DEFAULT’ undeclared (first use in
this function)
pngwrite.c:90: error: ‘png_byte’ undeclared (first use in this function)
pngwrite.c:90: error: ‘row_pointers’ undeclared (first use in this function)
pngwrite.c:90: error: expected expression before ‘)’ token
pngwrite.c:94: warning: implicit declaration of function ‘png_set_rows’
pngwrite.c:95: warning: implicit declaration of function ‘png_write_png’
pngwrite.c:95: error: ‘PNG_TRANSFORM_IDENTITY’ undeclared (first use in
this function)
make: *** [pngwrite.o] Error 1
I have installed png libraries. Do I need some other devel package? Thanks.
Viren
_______________________________________________
Genome maillist - [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome