#19316: problem installing qt4-kde or qt4-mac ---------------------------------------+------------------------------------ Reporter: mannequinZOD@… | Owner: erickt@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: qt4-mac, qt4-kde | ---------------------------------------+------------------------------------ Changes (by frases@…): * status: closed => reopened * resolution: worksforme => Comment: Guys, I seem to be experiencing a similar problem trying to install qt4-x11, but with the most recent version of MacPorts: {{{ bash-3.2$ sudo port version Version: 1.9.2 }}} on MacOSX 10.5.8 running XCode 3.1.2. I had performed a recent reinstall of MacPorts using these instructions: [http://guide.macports.org/#installing.macports.uninstalling] And then built from the binary .dmg: [http://guide.macports.org/#installing.macports.binary] After I did the reinstall, I installed my preferred set of packages. I wanted to install qjackctl, which depended on qt gui toolkit, specifically qt4-x11. That's where my troubles started. Here is the record of my most recent try: {{{ bash-3.2$ sudo port clean qt4-x11 ---> Cleaning qt4-x11 bash-3.2$ sudo port uninstall qt4-x11 bash-3.2$ sudo port -fR upgrade openssl bash-3.2$ sudo port install qt4-x11 }}} This resulted in a familiar type of error: {{{ :info:build /usr/bin/g++-4.0 -c -pipe -O2 -arch i386 -isystem/opt/local/include -I/opt/local/include/mysql5/mysql -I/opt/local/include/postgresql83 -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -O2 -fvisibility=hidden -fvisibility-inlines- hidden -Wall -W -fPIC -DQT_SHARED -D__USE_WS_X11__ -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/darwin-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel -I/usr/include -I.moc/release-shared -I.uic/release-shared -o .obj/release- shared/qsslconfiguration.o ssl/qsslconfiguration.cpp :info:build ssl/qsslsocket_openssl_symbols_p.h:264: error: variable or field 'q_sk_free' declared void :info:build ssl/qsslsocket_openssl_symbols_p.h:264: error: 'STACK' was not declared in this scope :info:build ssl/qsslsocket_openssl_symbols_p.h:264: error: 'a' was not declared in this scope :info:build ssl/qsslsocket_openssl_symbols_p.h:265: error: 'STACK' was not declared in this scope :info:build ssl/qsslsocket_openssl_symbols_p.h:265: error: 'a' was not declared in this scope :info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: 'STACK' was not declared in this scope :info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: 'a' was not declared in this scope :info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: expected primary-expression before 'int' :info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: initializer expression list treated as compound expression :info:build ssl/qsslcertificate.cpp: In member function 'QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const': :info:build ssl/qsslcertificate.cpp:372: error: 'STACK' was not declared in this scope :info:build ssl/qsslcertificate.cpp:372: error: 'altNames' was not declared in this scope :info:build ssl/qsslcertificate.cpp:372: error: expected primary- expression before ')' token :info:build ssl/qsslcertificate.cpp:372: error: expected `;' before 'q_X509_get_ext_d2i' :info:build ssl/qsslcertificate.cpp:393: error: 'q_sk_free' cannot be used as a function :info:build make[1]: *** [.obj/release-shared/qsslcertificate.o] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build make: *** [sub-network-make_default-ordered] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt4-x11/work/qt-x11 -opensource-src-4.4.3" && /usr/bin/make -j2 first " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for qt4-x11): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for qt4-x11 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt4-x11/main.log }}} I'm using the most recent version of openssl {{{ mac:~ newuser$ sudo port installed | grep openssl Password: openssl @0.9.8k_0 openssl @1.0.0a_0 openssl @1.0.0d_0 (active) }}} The others are in the list because I tried some of the suggestions above, using various combinations of older versions of qt4-x11 and openssl. To no avail, of course. Since this thread didn't have a completed resolution, I'm kind of left hanging as to a solid solution. Does anyone have any ideas? Is it necessary that openssl be used for qt4-x11? Can I just disable it from the configure process of qt4-x11? thanks for listening, scott -- Ticket URL: <https://trac.macports.org/ticket/19316#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS