I'm trying to use the one on SUN's Software Companion CD. It app.ears to be version 1.0.10,REV=2001.11.28.11.45. The png.h header file is in /opt/sfw/include.
All of the below fail with the same error message -- configure: error: * * * unable to find "png.h" which is required by libwmf * * *
What am I missing? Do I need a newer png.h? The documentation doesn't indicate a specific version and shouldn't the error message from configure be different if I do need a newer version?
Thanks in advance!
Figured it out:
After digging through the code, it seems clear that --includedir is meaningless (at least for png.h) and the help for --with-png erroneously implies that you would specify the directory the library is in (/opt/sfw/lib) instead of the parent. And of course this also means the script is assuming the include dir and the lib dir are under the same parent dir.
Now to see if it will compile... :-)
i downloaded libwmf version 0.2.8.3 and tried compiling it. The same problem occurred to me:
configure: error: * * * unable to find "png.h" which is required by libwmf * * *
but the error still persists. Does anyone have a clue what I've done wrong? My png.h file is in /sw/include
Help is greatly appreciated.
Oh i got it :-) I tried:
and it compiled without problem.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.