[MacPorts] #18724: qt4-mac @4.4.3_1 QtGui lib missing
#18724: qt4-mac @4.4.3_1 QtGui lib missing ---------------------------+------------------------------------------------ Reporter: martin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ---------------------------+------------------------------------------------ lastest gnunet-qt frontend doesn't compile, cause it's looking for QtGui library, but latest macports build creates QtGui_debug libs -> XYZ:~ hexa$ port installed qt4-mac The following ports are currently installed: qt4-mac @4.4.3_1 (active) XYZ:~ hexa$ pkg-config --libs QtGui No package 'QtGui' found hexa$ pkg-config --libs QtGui_debug -F/opt/local/libexec/qt4-mac/lib -framework QtGui -framework Carbon -framework AppKit -framework QtCore -framework ApplicationServices -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/libexec/qt4-mac/lib -lpng -lz -lm i have had to manually add that /opt/local/libexec/qt4-mac to my $PATH now it detects moc but still no qtgui lib /opt/local/lib/pkgconfig/QtGui_debug.pc exists, but QtGui.pc is only at /opt/local/libexec/qt4-mac/lib/pkgconfig/QtGui.pc as a workaround, you can export PKG_CONFIG_PATH=/opt/local/libexec/qt4-mac/lib/pkgconfig/ -- Ticket URL: <http://trac.macports.org/ticket/18724> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18724: qt4-mac @4.4.3_1 QtGui lib missing ---------------------------+------------------------------------------------ Reporter: martin@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: qt4-mac ---------------------------+------------------------------------------------ Changes (by raimue@…): * cc: clubjuggler@… (added) * owner: macports-tickets@… => erickt@… * port: => qt4-mac Old description:
lastest gnunet-qt frontend doesn't compile, cause it's looking for QtGui library, but latest macports build creates QtGui_debug libs ->
XYZ:~ hexa$ port installed qt4-mac The following ports are currently installed: qt4-mac @4.4.3_1 (active)
XYZ:~ hexa$ pkg-config --libs QtGui No package 'QtGui' found
hexa$ pkg-config --libs QtGui_debug -F/opt/local/libexec/qt4-mac/lib -framework QtGui -framework Carbon -framework AppKit -framework QtCore -framework ApplicationServices -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/libexec/qt4-mac/lib -lpng -lz -lm
i have had to manually add that /opt/local/libexec/qt4-mac to my $PATH now it detects moc but still no qtgui lib
/opt/local/lib/pkgconfig/QtGui_debug.pc exists, but QtGui.pc is only at /opt/local/libexec/qt4-mac/lib/pkgconfig/QtGui.pc
as a workaround, you can export PKG_CONFIG_PATH=/opt/local/libexec/qt4-mac/lib/pkgconfig/
New description: lastest gnunet-qt frontend doesn't compile, cause it's looking for QtGui library, but latest macports build creates QtGui_debug libs -> {{{ XYZ:~ hexa$ port installed qt4-mac The following ports are currently installed: qt4-mac @4.4.3_1 (active) XYZ:~ hexa$ pkg-config --libs QtGui No package 'QtGui' found hexa$ pkg-config --libs QtGui_debug -F/opt/local/libexec/qt4-mac/lib -framework QtGui -framework Carbon -framework AppKit -framework QtCore -framework ApplicationServices -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/libexec/qt4-mac/lib -lpng -lz -lm }}} i have had to manually add that /opt/local/libexec/qt4-mac to my $PATH now it detects moc but still no qtgui lib /opt/local/lib/pkgconfig/QtGui_debug.pc exists, but QtGui.pc is only at /opt/local/libexec/qt4-mac/lib/pkgconfig/QtGui.pc as a workaround, you can export PKG_CONFIG_PATH=/opt/local/libexec/qt4-mac/lib/pkgconfig/ -- -- Ticket URL: <http://trac.macports.org/ticket/18724#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18724: qt4-mac @4.4.3_1 QtGui lib missing ---------------------------+------------------------------------------------ Reporter: martin@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: qt4-mac ---------------------------+------------------------------------------------ Comment(by mcalhoun@…): This was an intentional choice to avoid conflict with qt4-x11.[[BR]] The reason QtGui_debug is there is because qt4-x11 has no such file (so no conflict). I am not sure how gnunet-qt builds. Often, setting the environmental variable {{{ QTDIR=${prefix}/libexec/qt4-mac }}} will work. With cmake, I believe setting the configuration argument[[BR]] {{{ -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake }}} also works. Do either of these allow you to compile gnunet-qt? -- Ticket URL: <http://trac.macports.org/ticket/18724#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18724: qt4-mac @4.4.3_1 QtGui lib missing ---------------------------+------------------------------------------------ Reporter: martin@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: qt4-mac ---------------------------+------------------------------------------------ Comment(by mcalhoun@…): Do the previous suggestions allow this ticket to be closed? -- Ticket URL: <http://trac.macports.org/ticket/18724#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18724: qt4-mac @4.4.3_1 QtGui lib missing ---------------------------+------------------------------------------------ Reporter: martin@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: qt4-mac ---------------------------+------------------------------------------------ Comment(by martin@…): Please give me some time for testing. -- Ticket URL: <http://trac.macports.org/ticket/18724#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18724: qt4-mac @4.4.3_1 QtGui lib missing ---------------------------+------------------------------------------------ Reporter: martin@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: qt4-mac ---------------------------+------------------------------------------------ Comment(by martin@…): I was able to compile it like this: export PKG_CONFIG_PATH=/opt/local/libexec/qt4-mac/lib/pkgconfig export PATH=$PATH:/opt/local/libexec/qt4-mac/bin ./configure --prefix=/usr/local --with-extractor=/opt/local And it detected qt, also compiled it. The "problem" still remains: Brokenness in macports Qt is that they install pkgconfig .pc files in /opt/local/lib/pkgconfig and the place under libexec. But the /opt/local/lib/pkgconfig path gets only the debug versions for some bizarre reason. -- Ticket URL: <http://trac.macports.org/ticket/18724#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18724: qt4-mac @4.4.3_1 QtGui lib missing ----------------------------+----------------------------------------------- Reporter: martin@… | Owner: erickt@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: Port: qt4-mac | ----------------------------+----------------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:6 martin@…]:
I was able to compile it like this: export PKG_CONFIG_PATH=/opt/local/libexec/qt4-mac/lib/pkgconfig export PATH=$PATH:/opt/local/libexec/qt4-mac/bin ./configure --prefix=/usr/local --with-extractor=/opt/local
And it detected qt, also compiled it. I am glad it works.
The "problem" still remains: Brokenness in macports Qt is that they install pkgconfig .pc files in /opt/local/lib/pkgconfig and the place under libexec. But the /opt/local/lib/pkgconfig path gets only the debug versions for some bizarre reason. Please seem [comment:3 above] for an explanation for why this is not broken but a design choice.
-- Ticket URL: <http://trac.macports.org/ticket/18724#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts