[MacPorts] #25716: liblastfm-0.3.0 fails to build: configure couldn't read Makefile
MacPorts
noreply at macports.org
Mon Jul 19 10:51:18 PDT 2010
#25716: liblastfm-0.3.0 fails to build: configure couldn't read Makefile
---------------------------------+------------------------------------------
Reporter: macports@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: liblastfm
---------------------------------+------------------------------------------
Comment(by macports@…):
{{{
$ sudo port clean liblastfm
---> Cleaning liblastfm
$ sudo port configure liblastfm
---> Computing dependencies for liblastfm
---> Fetching liblastfm
---> Verifying checksum(s) for liblastfm
---> Extracting liblastfm
---> Applying patches to liblastfm
---> Configuring liblastfm
$ cd `port dir liblastfm`/work/liblastfm-0.3.0/src
$ sudo /usr/bin/qmake -spec macx-g++ -config release
}}}
The spec definition is needed because qmake will create a xcode-project
otherwise. Unfortunately, I cannot test further because the installed Qt
is 32bit:
{{{
$ sudo make
/usr/bin/g++-4.2 -c -pipe -fno-operator-names -O2 -arch x86_64
-I/opt/local/include -fvisibility-inlines-hidden -fvisibility=hidden -arch
i386 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIp
In file included from
/Library/Frameworks/QtCore.framework/Versions/4/Headers/QtGlobal:1,
from /opt/local/include/lastfm/global.h:24,
from ws/ws.h:23,
from ws/ws.cpp:20:
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qglobal.h:288:2:
error: #error "You are building a 64-bit application, but using a 32-bit
version of Qt. Check your build configuration."
lipo: can't open input file: /var/tmp//cce6R0bo.out (No such file or
directory)
make: *** [_build/ws.o] Error 1
}}}
Additionally, the Makefile is now generated with -arch x86_64 and -arch
i386 (but I think this is to be expected, because it is a 32bit Qt)
{{{
$ cat Makefile
#############################################################################
# Makefile for building: liblastfm.0.3.0.dylib
# Generated by qmake (2.01a) (Qt 4.6.1) on: Mon Jul 19 18:50:34 2010
# Project: lastfm.pro
# Template: lib
# Command: /usr/bin/qmake -spec /usr/local/Qt4.6/mkspecs/macx-g++ -macx
-config release -o Makefile lastfm.pro
#############################################################################
####### Compiler, tools and options
CC = /usr/bin/gcc-4.2
CXX = /usr/bin/g++-4.2
DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-DQT_SHARED
CFLAGS = -pipe -O2 -arch x86_64 -I/opt/local/include -arch i386
-Wall -W -fPIC $(DEFINES)
CXXFLAGS = -pipe -fno-operator-names -O2 -arch x86_64
-I/opt/local/include -fvisibility-inlines-hidden -fvisibility=hidden -arch
i386 -Wall -W -fPIC $(DEFINES)
INCPATH = -I/usr/local/Qt4.6/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml -I/usr/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_liblastfm/work/liblastfm-0.3.0/_include
-I_build -F/Library/Frameworks
LINK = g++
LFLAGS = -headerpad_max_install_names -L/opt/local/lib -arch x86_64
-arch i386 -single_module -dynamiclib -compatibility_version 0.3
-current_version 0.3.0 -install_name liblastfm.0.dylib
LIBS = $(SUBLIBS) -F/Library/Frameworks -L/Library/Frameworks
-framework SystemConfiguration -framework Carbon -framework CoreFoundation
-framework QtXml -framework QtNetwork -framework QtCore
AR = ar cq
RANLIB = ranlib -s
QMAKE = /usr/bin/qmake
TAR = tar -cf
COMPRESS = gzip -9f
COPY = cp -f
SED = sed
COPY_FILE = cp -f
COPY_DIR = cp -f -R
STRIP =
INSTALL_FILE = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
INSTALL_PROGRAM = $(COPY_FILE)
DEL_FILE = rm -f
SYMLINK = ln -f -s
DEL_DIR = rmdir
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
export MACOSX_DEPLOYMENT_TARGET = 10.4
####### Output directory
}}}
--
Ticket URL: <http://trac.macports.org/ticket/25716#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list