This one ate a couple hours today ;) When you emerge wv, it fails to locate pngconf.h correctly. If you're not paying attention everything seems to emerge correctly, but the end result is that wvHtml, wvWare scripts don't convert wmf files to png format. The errors in config.log are: /usr/include/pngconf.h:1099: error: syntax error before '*' token /usr/include/pngconf.h:1100: error: syntax error before '*' token /usr/include/pngconf.h:1101: error: syntax error before '*' token Everything looked good in pngconf.h, so I tweaked wv's configure file by adding: #include <zlib.h> before each place I saw: #include <pngconf.h> And this fixed the problem. So my nominally educated guess is that at some point pngconf.h stopped including zlib.h itself and the configure inside of wv began borking as an unintended result. libpng seems to bite me in the arse about once a year. It's getting to be a bit of a tradition! Sean. Reproducible: Always Steps to Reproduce: 1. confirm that png is in the USE 2. emerge wv 3. wvHtml your_doc_with_wmf_clipart_inside.doc out.html Actual Results: No .png files in output directory, only .wmf files. Expected Results: Converted .wmf files to .png files.
shouldnt it include <png.h> instead ? png.h will include zlib.h and pngconf.h
Yeah, good point. Plus, zlib.h includes zconf.h which creates 2 of the 3 definitions that configure currently borks on.
assuming fixed in latest wv version, please reopen if not.