Good Afternoon Viren:

Please note the discussion of the PNG compile time variables in
the source tree src/product/README.building.source
under "Known problems:" item 7.

There is a libpng-devel package you may need to install.

--Hiram

Viren Patel wrote:
> 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
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to