[MacPorts] #25715: qca-ossl cannot find qca during configure phase
MacPorts
noreply at macports.org
Sun Jul 18 03:39:43 PDT 2010
#25715: qca-ossl cannot find qca during configure phase
-----------------------------------------+----------------------------------
Reporter: dave.evans55@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.99
Keywords: | Port: qca-ossl
-----------------------------------------+----------------------------------
Comment(by dave.evans55@…):
Replying to [comment:4 dave.evans55@…]:
I turned on the --verbose option for configure in the qca-ossl port file
and did a
cleaned and reconfigure for the port. It is looking for a qca-debug
library
Here is the log:
{{{
---> Configuring qca-ossl
DEBUG: Using compiler 'Mac OS X gcc 4.2'
DEBUG: configure phase started at Sun Jul 18 11:20:20 BST 2010
DEBUG: Executing org.macports.configure (qca-ossl)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch x86_64'
CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64'
LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
CXX='/usr/bin/g++-4.2'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
/_Users_davidevans_macports_svn-repo_macports-trunk_dports_devel_qca-
ossl/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib
-arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64'
INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2
-m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build
/_Users_davidevans_macports_svn-repo_macports-trunk_dports_devel_qca-
ossl/work/qca-ossl-2.0.0-beta3" && ./configure
--qtdir=/opt/local/libexec/qt4-mac --with-qca=/opt/local --verbose'
Configuring qca-ossl ...
EX_QTDIR=/opt/local/libexec/qt4-mac
QC_STATIC=
QC_RELEASE=
QC_DEBUG=
QC_DEBUG_AND_RELEASE=
QC_NO_SEPARATE_DEBUG_INFO=
QC_SEPARATE_DEBUG_INFO=
QC_UNIVERSAL=
QC_MAC_SDK=
QC_PLUGINS_PATH=
QC_WITH_QCA=/opt/local
QC_WITH_OPENSSL_INC=
QC_WITH_OPENSSL_LIB=
Verifying Qt 4 build environment ...
qmake found in /opt/local/libexec/qt4-mac/bin/qmake
-> ok
conf command: [./configure]
conf path: [./configure]
srcdir: [/opt/local/var/macports/build
/_Users_davidevans_macports_svn-repo_macports-trunk_dports_devel_qca-
ossl/work/qca-ossl-2.0.0-beta3]
builddir: [/opt/local/var/macports/build
/_Users_davidevans_macports_svn-repo_macports-trunk_dports_devel_qca-
ossl/work/qca-ossl-2.0.0-beta3]
profile: [/opt/local/var/macports/build
/_Users_davidevans_macports_svn-repo_macports-trunk_dports_devel_qca-
ossl/work/qca-ossl-2.0.0-beta3/qca-ossl.pro]
qmake path: [/opt/local/libexec/qt4-mac/bin/qmake]
make tool: [/opt/local/bin/gmake]
* extra += CONFIG += release
Checking for QCA >= 2.0 ...ld: library not found for -lqca_debug
collect2: ld returned 1 exit status
gmake: *** [atest] Error 1
* Wrote atest.cpp:
#include <QtCrypto>
int main()
{
unsigned long x = QCA_VERSION;
if(x >= 0x020000 && x < 0x030000) return 0; else return 1;
}
* Wrote atest.pro:
CONFIG += console
CONFIG -= qt app_bundle
SOURCES += atest.cpp
CONFIG += qt
QT -= gui
CONFIG *= qt
INCLUDEPATH += /opt/local/include/QtCrypto
LIBS += -L/opt/local/lib
LINKAGE = -lqca
CONFIG(debug, debug|release) {
windows:LINKAGE = -lqcad
mac:LINKAGE = -lqca_debug
}
LIBS += $$LINKAGE
CONFIG += release
* [/opt/local/libexec/qt4-mac/bin/qmake atest.pro]
* returned: 0
* [/opt/local/bin/gmake]
/usr/bin/g++-4.2 -c -pipe -O2 -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB
-DQT_SHARED -I/opt/local/libexec/qt4-mac/mkspecs/macx-g++ -I.
-I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/Headers
-I/opt/local/libexec/qt4-mac/include -I/opt/local/include/QtCrypto -I.
-F/opt/local/libexec/qt4-mac/lib -o atest.o atest.cpp
/usr/bin/g++-4.2 -headerpad_max_install_names -o atest atest.o
-F/opt/local/libexec/qt4-mac/lib -L/opt/local/libexec/qt4-mac/lib
-L/opt/local/lib -lqca_debug -framework QtCore
-L/opt/local/libexec/qt4-mac/lib
* returned: 512
* [/opt/local/bin/gmake distclean]
rm -f atest.o
rm -f *~ core *.core
rm -f atest
rm -f Makefile
* returned: 0
-> no
Error: need QCA >= 2.0!
}}}
--
Ticket URL: <http://trac.macports.org/ticket/25715#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list