Opened 16 years ago

Closed 14 years ago

Last modified 14 years ago

#19316 closed defect (worksforme)

problem installing qt4-kde or qt4-mac

Reported by: mannequinZOD@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: clubjuggler@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qt4-mac, qt4-kde

Description

I can't install qt4-kde and can't upgrade qt4-mac to 4.5 (from 4.4):

qt4-kde

sh-3.2# port install qt4-kde
--->  Fetching qt4-kde
--->  Verifying checksum(s) for qt4-kde
--->  Extracting qt4-kde
--->  Applying patches to qt4-kde
--->  Configuring qt4-kde
--->  Building qt4-kde
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3" && make first " returned error 2
Command output: /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qudpsocket.o socket/qudpsocket.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ socket/qtcpserver.h -o .moc/debug-shared/moc_qtcpserver.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qtcpserver.o socket/qtcpserver.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ socket/qlocalsocket.h -o .moc/debug-shared/moc_qlocalsocket.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalsocket.o socket/qlocalsocket.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ socket/qlocalserver.h -o .moc/debug-shared/moc_qlocalserver.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalserver.o socket/qlocalserver.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qnativesocketengine_unix.o socket/qnativesocketengine_unix.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalsocket_unix.o socket/qlocalsocket_unix.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalserver_unix.o socket/qlocalserver_unix.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qssl.o ssl/qssl.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qsslcertificate.o ssl/qsslcertificate.cpp
ssl/qsslsocket_openssl_symbols_p.h:264: error: variable or field 'q_sk_free' declared void
ssl/qsslsocket_openssl_symbols_p.h:264: error: 'STACK' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:264: error: 'a' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:265: error: 'STACK' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:265: error: 'a' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:266: error: 'STACK' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:266: error: 'a' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:266: error: expected primary-expression before 'int'
ssl/qsslsocket_openssl_symbols_p.h:266: error: initializer expression list treated as compound expression
ssl/qsslcertificate.cpp: In member function 'QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const':
ssl/qsslcertificate.cpp:372: error: 'STACK' was not declared in this scope
ssl/qsslcertificate.cpp:372: error: 'altNames' was not declared in this scope
ssl/qsslcertificate.cpp:372: error: expected primary-expression before ')' token
ssl/qsslcertificate.cpp:372: error: expected `;' before 'q_X509_get_ext_d2i'
ssl/qsslcertificate.cpp:393: error: 'q_sk_free' cannot be used as a function
make[2]: *** [.obj/debug-shared/qsslcertificate.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-network-make_default-ordered] Error 2

Error: Status 1 encountered during processing.

qt4-mac

--->  Building qt4-mac
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0" && make first " returned error 2
Command output: make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/xml/ && make -f Makefile 
make -f Makefile.Debug all
make[2]: Nothing to be done for `all'.
make -f Makefile.Release all
make[2]: Nothing to be done for `all'.
cd src/network/ && make -f Makefile 
make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -include .pch/debug-shared/QtNetwork_debug -O2 -isystem/opt/local/include -fconstant-cfstrings -g -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.0/lib -o .obj/debug-shared/qsslcertificate.o ssl/qsslcertificate.cpp
ssl/qsslsocket_openssl_symbols_p.h:257: error: variable or field 'q_sk_free' declared void
ssl/qsslsocket_openssl_symbols_p.h:257: error: 'STACK' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:257: error: 'a' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:258: error: 'STACK' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:258: error: 'a' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:259: error: 'STACK' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:259: error: 'a' was not declared in this scope
ssl/qsslsocket_openssl_symbols_p.h:259: error: expected primary-expression before 'int'
ssl/qsslsocket_openssl_symbols_p.h:259: error: initializer expression list treated as compound expression
ssl/qsslcertificate.cpp: In member function 'QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const':
ssl/qsslcertificate.cpp:365: error: 'STACK' was not declared in this scope
ssl/qsslcertificate.cpp:365: error: 'altNames' was not declared in this scope
ssl/qsslcertificate.cpp:365: error: expected primary-expression before ')' token
ssl/qsslcertificate.cpp:365: error: expected `;' before 'q_X509_get_ext_d2i'
ssl/qsslcertificate.cpp:386: error: 'q_sk_free' cannot be used as a function
make[2]: *** [.obj/debug-shared/qsslcertificate.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-network-make_default-ordered] Error 2

Error: Unable to upgrade port: 1

Change History (15)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: clubjuggler@… added
Keywords: qt4-mac qt4-kde removed
Owner: changed from macports-tickets@… to erickt@…

comment:2 Changed 16 years ago by mf2k (Frank Schima)

What version of Macports are you running? What version of Mac OS X? What version of Xcode?

comment:3 in reply to:  2 Changed 16 years ago by mannequinZOD@…

Macport 1.710 MacOS 10.5 Xcode 3.1.2

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Maybe you have a dependency (like openssl) out of date. Please try the following:

sudo port clean qt4-kde qt4-mac
sudo port selfupdate
sudo port upgrade outdated
sudo port install qt4-mac qt4-kde

comment:5 Changed 16 years ago by mannequinZOD@…

ok, I cleaned everything previously. I also run the latest version, so selfupdate did not make a difference.

I upgraded openssl, interestingly it downgraded from 1.0.0-devel to openssl @0.9.8k_0. This removed errors, but did not solve the problem. It rather comes up now with the complaint that it misses some 1.0.0 openssl file. For now I reverted to qt4-mac 4.4, so that I can at least use my installed KDE4 Does Macport try to resolve dependency problems on its own?

sh-3.2# port install qt4-kde
--->  Building qt4-kde
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3" && make first " returned error 2
Command output: make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd svg/ && make -f Makefile 
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd tiff/ && make -f Makefile 
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd ico/ && make -f Makefile 
make -f Makefile.Debug all
make[4]: Nothing to be done for `all'.
make -f Makefile.Release all
make[4]: Nothing to be done for `all'.
cd sqldrivers/ && make -f Makefile 
cd psql/ && make -f Makefile 
make -f Makefile.Debug all
rm -f libqsqlpsql_debug.bundle
/usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqsqlpsql_debug.bundle .obj/debug-shared/main.o .obj/debug-shared/qsql_psql.o .obj/debug-shared/moc_qsql_psql.o  -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -lpq -framework QtSql -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -framework QtCore -lz -lm -framework ApplicationServices 
ld: file not found: /opt/local/lib/libssl.1.0.0.dylib
collect2: ld returned 1 exit status
make[4]: *** [../../../../plugins/sqldrivers/libqsqlpsql_debug.bundle] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-psql-make_default] Error 2
make[1]: *** [sub-sqldrivers-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2

Error: Status 1 encountered during processing.

comment:6 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

openssl was upgraded to a beta version in r49051.
It caused problems (with Qt apparently), so it was reverted to a stable version in r49057.
So your installation was correct to downgrade.

From you error message above, it looks like, you did not run

sudo port clean qt4-kde qt4-mac

before trying to upgrade.

You mentioned that you already had a version of qt4-mac installed.
If that is the case, you want "port upgrade" instead of "port install."

comment:7 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:8 in reply to:  6 Changed 16 years ago by mannequinZOD@…

I cleaned qt4-kde and qt4-mac, I also redid it again. I still get the same (similar) error

I used port upgrade on qt4-mac (I actually used port upgrade installed). I think it installed qt4-mac@4.5 (it is in the installed list), but it gave an error message while it installed it. So I am really not sure, if the 4.5 version is actually working or not.

sh-3.2# port installed
The following ports are currently installed:
  akonadi @1.0.0_3 (active)
  aspell @0.60.6_1+macosx (active)
  aspell-dict-en @6.0_0 (active)
  atk @1.24.0_0 (active)
  autoconf @2.63_0 (active)
  automake @1.10.2_0 (active)
  automoc @0.9.87_4 (active)
  bison @2.4.1_0 (active)
  boost @1.37.0_0+darwin_9
  boost @1.38.0_0+darwin_9 (active)
  boost-jam @3.1.17_0 (active)
  bzip2 @1.0.5_2 (active)
  cairo @1.8.6_3+macosx
  cairo @1.8.6_4+macosx (active)
  clucene @0.9.20_0 (active)
  cmake @2.6.2_0
  cmake @2.6.3_0 (active)
  coreutils @6.12_2 (active)
  curl @7.19.3_0
  curl @7.19.4_0 (active)
  cyrus-sasl2 @2.1.22_0+kerberos (active)
  db44 @4.4.20_1 (active)
  db46 @4.6.21_4
  db46 @4.6.21_5 (active)
  dbus @1.2.12_4
  dbus @1.2.12_5 (active)
  docbook-xml @5.0_0 (active)
  docbook-xml-4.1.2 @4.1.2_1 (active)
  docbook-xml-4.2 @4.2_0 (active)
  docbook-xml-4.3 @4.3_0 (active)
  docbook-xml-4.4 @4.4_0 (active)
  docbook-xml-4.5 @4.5_0 (active)
  docbook-xml-5.0 @5.0_0 (active)
  docbook-xsl @1.74.0_0 (active)
  doxygen @1.5.8_1 (active)
  enchant @1.4.2_0 (active)
  expat @2.0.1_0 (active)
  flex @2.5.35_0 (active)
  fontconfig @2.6.0_1+macosx
  fontconfig @2.6.0_2+macosx (active)
  freetype @2.3.8_0+macosx
  freetype @2.3.9_0+macosx (active)
  gd2 @2.0.35_4 (active)
  getopt @1.1.4_1 (active)
  gettext @0.17_4 (active)
  glib2 @2.18.3_0+darwin_9
  glib2 @2.20.1_0 (active)
  glut @3.7_3 (active)
  gmake @3.81_0 (active)
  gmp @4.2.4_1
  gmp @4.2.4_3 (active)
  gnokii @0.6.27_0+macosx (active)
  gnome-common @2.24.0_1 (active)
  gnome-doc-utils @0.14.2_0 (active)
  gnupg @1.4.9_0 (active)
  gperf @3.0.3_0
  gperf @3.0.4_0 (active)
  gpgme @1.1.7_0 (active)
  graphviz @2.20.3_3+macosx
  graphviz @2.22.2_0+macosx (active)
  gtk-doc @1.11_0 (active)
  gtk2 @2.14.7_1+x11
  gtk2 @2.14.7_2+x11 (active)
  help2man @1.36.4_1 (active)
  ilmbase @1.0.1_2 (active)
  intltool @0.40.5_0
  intltool @0.40.6_0 (active)
  iso-codes @3.5_0 (active)
  jasper @1.900.1_3 (active)
  jpeg @6b_3 (active)
  kdebase4 @4.2.0_0 (active)
  kdebase4-runtime @4.2.0_0 (active)
  kdelibs4 @4.2.0_0 (active)
  kdepim4 @4.2.0_0 (active)
  kdepimlibs4 @4.2.0_0 (active)
  kdeutils4 @4.2.0_0 (active)
  lcms @1.17_0
  lcms @1.18_0 (active)
  libarchive @2.6.1_0
  libarchive @2.6.2_0 (active)
  libart_lgpl @2.3.20_0 (active)
  libgpg-error @1.7_0 (active)
  libical @0.42_0 (active)
  libiconv @1.12_2 (active)
  libidn @1.11_0
  libidn @1.13_0 (active)
  libmng @1.0.10_0 (active)
  libmp4v2 @1.5.0.1_0 (active)
  libogg @1.1.3_2
  libpng @1.2.35_0 (active)
  libtool @2.2.6a_0 (active)
  libusb @0.1.12_1 (active)
  libxml2 @2.7.3_0 (active)
  libxslt @1.1.24_2 (active)
  libzip @0.9_0 (active)
  lzmautils @4.32.7_1 (active)
  m4 @1.4.12_1
  m4 @1.4.13_0 (active)
  mesa @7.2_5+hw_render
  mesa @7.4_0+hw_render
  mesa @7.4_1+hw_render (active)
  mysql5-devel @5.1.32_0
  mysql5-devel @5.1.33_0
  mysql5-devel @5.1.33_1 (active)
  ncftp @3.2.2_0 (active)
  ncurses @5.7_0 (active)
  ncursesw @5.7_0 (active)
  openexr @1.6.1_1 (active)
  openldap @2.3.35_1 (active)
  openssl @0.9.8j_0
  openssl @0.9.8k_0 (active)
  ossp-uuid @1.6.2_0 (active)
  p5-locale-gettext @1.05_0 (active)
  p5-xml-parser @2.36_0 (active)
  pcre @7.8_1
  pcre @7.8_3 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_2
  perl5.8 @5.8.9_3 (active)
  phonon @4.3.0_0 (active)
  pkgconfig @0.23_1 (active)
  postgresql83 @8.3.6_0
  postgresql83 @8.3.7_0 (active)
  pth @2.0.7_0 (active)
  py25-hashlib @2.5.4_0 (active)
  py25-libxml2 @2.6.21_1 (active)
  python25 @2.5.4_0+darwin_9+macosx
  python25 @2.5.4_1+darwin_9+macosx
  python25 @2.5.4_2+darwin_9+macosx (active)
  qca @2.0.0_2 (active)
  qimageblitz @0.0.5_3 (active)
  qt4-mac @4.4.3_1 (active)
  qt4-mac @4.5.0_1
  raptor @1.4.18_0 (active)
  rarian @0.8.1_0 (active)
  rasqal @0.9.16_0 (active)
  readline @6.0.000_0
  readline @6.0.000_1 (active)
  redland @1.0.8_1+db46 (active)
  shared-mime-info @0.60_0 (active)
  soprano @2.2_0 (active)
  sqlite3 @3.6.11_0
  sqlite3 @3.6.12_0 (active)
  strigi @0.6.3_0 (active)
  tcl @8.5.6_0 (active)
  texinfo @4.13_0 (active)
  tiff @3.8.2_2+darwin_9+macosx
  tiff @3.8.2_3+macosx (active)
  unixODBC @2.2.14_0
  unixODBC @2.2.14_1 (active)
  urw-fonts @1.0.7pre44_0 (active)
  xmlcatmgr @2.2_1 (active)
  xorg-bigreqsproto @1.0.2_0 (active)
  xorg-compositeproto @0.4_0 (active)
  xorg-damageproto @1.1.0_0 (active)
  xorg-dri2proto @1.99.3_0 (active)
  xorg-fixesproto @4.0_0 (active)
  xorg-glproto @1.4.9_0 (active)
  xorg-inputproto @1.5.0_0 (active)
  xorg-kbproto @1.0.3_0 (active)
  xorg-libice @1.0.5_0 (active)
  xorg-libsm @1.1.0_0 (active)
  xorg-libX11 @1.2_0 (active)
  xorg-libXau @1.0.4_0 (active)
  xorg-libXaw @1.0.5_0 (active)
  xorg-libXcomposite @0.4.0_0 (active)
  xorg-libXcursor @1.1.9_0 (active)
  xorg-libXdamage @1.1.1_0 (active)
  xorg-libXdmcp @1.0.2_0 (active)
  xorg-libXext @1.0.5_0
  xorg-libXext @1.0.5_1 (active)
  xorg-libXfixes @4.0.3_0 (active)
  xorg-libXi @1.2.1_0 (active)
  xorg-libXinerama @1.0.3_0 (active)
  xorg-libXmu @1.0.4_0 (active)
  xorg-libXrandr @1.2.3_0
  xorg-libXrandr @1.3.0_0 (active)
  xorg-libXt @1.0.5_1
  xorg-libXt @1.0.5_2 (active)
  xorg-randrproto @1.2.1_0
  xorg-randrproto @1.3.0_0 (active)
  xorg-renderproto @0.9.3_0 (active)
  xorg-util-macros @1.2.1_1 (active)
  xorg-xcmiscproto @1.1.2_0 (active)
  xorg-xextproto @7.0.5_0 (active)
  xorg-xf86bigfontproto @1.1.2_0 (active)
  xorg-xineramaproto @1.1.2_0 (active)
  xorg-xproto @7.0.14_1
  xorg-xproto @7.0.15_0 (active)
  xorg-xtrans @1.2.3_0 (active)
  xpm @3.5.7_0 (active)
  xrender @0.9.4_5 (active)
  yafc @1.1.1_1+darwin_9 (active)
  zlib @1.2.3_2 (active)
sh-3.2# port clean qt4-kde
--->  Cleaning qt4-kde
sh-3.2# port clean qt4-mac
--->  Cleaning qt4-mac

sh-3.2# port install qt4-kde
--->  Fetching qt4-kde
--->  Verifying checksum(s) for qt4-kde
--->  Extracting qt4-kde
--->  Applying patches to qt4-kde
--->  Configuring qt4-kde
--->  Building qt4-kde
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3" && make first " returned error 2
Command output: make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/main.o main.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qicohandler.o qicohandler.cpp
rm -f libqico_debug.bundle
/usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqico_debug.bundle .obj/debug-shared/main.o .obj/debug-shared/qicohandler.o  -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -framework QtGui -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -framework Carbon -framework AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices 
ld warning: duplicate dylib /opt/local/lib/libz.1.dylib
mv -f libqico_debug.bundle ../../../../plugins/imageformats/
make -f Makefile.Release all
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -Os -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/release-shared/main.o main.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -Os -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/release-shared/qicohandler.o qicohandler.cpp
rm -f libqico.bundle
/usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqico.bundle .obj/release-shared/main.o .obj/release-shared/qicohandler.o  -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -framework QtGui -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -framework Carbon -framework AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices 
ld warning: duplicate dylib /opt/local/lib/libz.1.dylib
mv -f libqico.bundle ../../../../plugins/imageformats/
cd sqldrivers/ && make -f Makefile 
cd psql/ && make -f Makefile 
make -f Makefile.Debug all
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/main.o main.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qsql_psql.o ../../../sql/drivers/psql/qsql_psql.cpp
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/bin/moc -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ ../../../sql/drivers/psql/qsql_psql.h -o .moc/debug-shared/moc_qsql_psql.cpp
/usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/moc_qsql_psql.o .moc/debug-shared/moc_qsql_psql.cpp
rm -f libqsqlpsql_debug.bundle
/usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqsqlpsql_debug.bundle .obj/debug-shared/main.o .obj/debug-shared/qsql_psql.o .obj/debug-shared/moc_qsql_psql.o  -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -lpq -framework QtSql -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work/qt-mac-opensource-src-4.4.3/lib -framework QtCore -lz -lm -framework ApplicationServices 
ld: file not found: /opt/local/lib/libssl.1.0.0.dylib
collect2: ld returned 1 exit status
make[4]: *** [../../../../plugins/sqldrivers/libqsqlpsql_debug.bundle] Error 1
make[3]: *** [debug-all] Error 2
make[2]: *** [sub-psql-make_default] Error 2
make[1]: *** [sub-sqldrivers-make_default] Error 2
make: *** [sub-plugins-make_default-ordered] Error 2


Replying to mcalhoun@…:

openssl was upgraded to a beta version in r49051.
It caused problems (with Qt apparently), so it was reverted to a stable version in r49057.
So your installation was correct to downgrade.

From you error message above, it looks like, you did not run

sudo port clean qt4-kde qt4-mac

before trying to upgrade.

You mentioned that you already had a version of qt4-mac installed.
If that is the case, you want "port upgrade" instead of "port install."

comment:9 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Some library seems to think that openssl should still be at version 1.0.0.
Instead of trying to track it down, you could uninstall qt4, rebuild openssl and all its dependencies,
and try to reinstall.
I believe the commands are

sudo port clean qt4-kde qt4-mac
sudo port uninstall qt4-kde qt4-mac
sudo port -fR upgrade openssl
sudo port install qt4-kde qt4-mac

comment:10 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:11 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Did reinstalling openssl work?

comment:12 in reply to:  11 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: worksforme
Status: newclosed

Replying to mcalhoun@…:

Did reinstalling openssl work?

Closing due to a lack of response.

comment:13 in reply to:  description Changed 14 years ago by frases@…

Resolution: worksforme
Status: closedreopened

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

comment:14 Changed 14 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: reopenedclosed

This ticket isn't about qt4-x11. Furthermore, the openssl port was version 0.9.8k when it was opened.

comment:15 in reply to:  14 Changed 14 years ago by frases@…

Very good then. I will open a new ticket.

Note: See TracTickets for help on using tickets.