#20184: py26-pyqt4 v4.5.1_0 configure error ---------------------------------------+------------------------------------ Reporter: jrminter@… | Owner: saispo@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: py26-pyqt4 ---------------------------------------+------------------------------------ Comment(by celemourn@…): Replying to [comment:4 dh@…]:
Replying to [comment:3 dh@…]:
I patched the configure.py to allow it to run (by ignoring the license check). But then compilation fails further on, failing to link to libpng ... but libpng exists in /usr/lib which should be part of the standard link path ...
Sorry, thats rubbish from me, libpng is in /opt/local/lib. This will compile if a -L${prefix}/lib is added to the g++ line. The Makefile is generated by qmake so somehow qmake needs to be told to that ${prefix}/lib should be a searched library path.
Would a setting a symbolic link in the normal search path work? Also, where did you find the configure.py file, and exactly what modification did you make to it? (sorry, I R noob, I don't know this stuff.) -- Ticket URL: <http://trac.macports.org/ticket/20184#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS