lux-integ
2013-09-11 09:43:45 UTC
Greetings,
I am trying to compile netbpm ( I know it is not in the blfs book ) and I
keep running into a problem of incompatibility with my existing libpng
(version 1.6.2 )
make ends like this:-
#--------------
pnmtopng.c:2746:15: error: dereferencing pointer to incomplete type
info_ptr->num_text = 0;
^
pnmtopng.c:2750:15: error: dereferencing pointer to incomplete type
info_ptr->valid &= ~PNG_INFO_tIME;
^
pnmtopng.c: In function 'displayVersion':
pnmtopng.c:2814:13: error: 'ZLIB_VERSION' undeclared (first use in this
function)
ZLIB_VERSION);
^
make[2]: *** [pnmtopng.o] Error 1
make[2]: Leaving directory
`/home/linteg/netpbm_Aug2013_stable/converter/other'
#-------
I tried different versions of netpbm beginning with 'stable' version 10.35.89
and ending with the august2013 (svn revision2000 I think ) all have a problem
with libpng-1.6.2. I tried searching for a suitable patch to no avail. If
anyone one list knows of a suitable patch for netpbm to compile libpng-1.6.2 I
would be grateful for a copy.
( or for that matter any other useful advice )
many thanks in advance.
sincerely
luxInteg
I am trying to compile netbpm ( I know it is not in the blfs book ) and I
keep running into a problem of incompatibility with my existing libpng
(version 1.6.2 )
make ends like this:-
#--------------
pnmtopng.c:2746:15: error: dereferencing pointer to incomplete type
info_ptr->num_text = 0;
^
pnmtopng.c:2750:15: error: dereferencing pointer to incomplete type
info_ptr->valid &= ~PNG_INFO_tIME;
^
pnmtopng.c: In function 'displayVersion':
pnmtopng.c:2814:13: error: 'ZLIB_VERSION' undeclared (first use in this
function)
ZLIB_VERSION);
^
make[2]: *** [pnmtopng.o] Error 1
make[2]: Leaving directory
`/home/linteg/netpbm_Aug2013_stable/converter/other'
#-------
I tried different versions of netpbm beginning with 'stable' version 10.35.89
and ending with the august2013 (svn revision2000 I think ) all have a problem
with libpng-1.6.2. I tried searching for a suitable patch to no avail. If
anyone one list knows of a suitable patch for netpbm to compile libpng-1.6.2 I
would be grateful for a copy.
( or for that matter any other useful advice )
many thanks in advance.
sincerely
luxInteg