| Summary: | povray-3.7.0.beta.35a cannot compile under libpng 1.4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Roby <robbyjo> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge --info
Copy of build.log |
||
|
Description
Roby
2010-05-25 14:20:47 UTC
Created attachment 232885 [details]
emerge --info
Created attachment 232887 [details]
Copy of build.log
The problem is here, image/png.cpp:464: error: ‘struct png_info_struct’ has no member named ‘trans_alpha’ image/png.cpp:495: error: ‘struct png_info_struct’ has no member named ‘trans_alpha’ I'd like to point out that libpng-1.4.2 _has_ 'trans_alpha'. So, above error would happen if you had old libpng 1.2 headers installed somewhere on your system, that's pngconf.h and png.h. Perhaps check your /usr/local for old files ? Something like: find /usr/include -name '*png*.h' find /usr/local -name '*png*.h' Verified it's fine with libpng 1.4.2 here, so it's a local problem. Closing as NEEDINFO, reopen if it still fails after fixing the system from old libpng headers.
>>> Source compiled.
>>> Test phase [not enabled]: media-gfx/povray-3.7.0_beta35
>>> Install povray-3.7.0_beta35 into /var/tmp/portage/media-gfx/povray-3.7.0_beta35/image/ category media-gfx
|