(looks like this accidentally didn't get passed through
moderation--remedying that here)
The important error seems to be this one:
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/../../src/corelib/tools/qlist.h:54:15:
error: new: No such file or directory
... with all the later errors following from that. I don't understand
how the compiler isn't finding it -- there's no problem compiling a
trivial "#include <new>" program with llvm-g++-4.2. And the reported
command line doesn't mention -nostdinc or anything.
However, I suspect the reported command line might not be the whole
story. When I run that same command (below) on its own, while in the
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/qmake
directory where project.cpp is, I get a very different error:
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/qconfig.h:1:46:
error: ../../src/corelib/global/qconfig.h: No such file or directory
What could be happening?
Thanks for any advice.
Stuart
Here's the latter part of the build output, including all the errors,
plus fink/xcode/etc. version info at the bottom:
[...]
header created for
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/qt3support/widgets/q3vbox.h
(2)
header created for
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/qt3support/widgets/q3vgroupbox.h
(2)
header created for
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/qt3support/widgets/q3whatsthis.h
(2)
header created for
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/qt3support/widgets/q3widgetstack.h
(2)
header (master) created for Qt3Support
headers.pri file created for Qt3Support
Creating qmake. Please wait...
llvm-g++-4.2 -c -o project.o -arch i386 -pipe
-I/sw/lib/system-openssl/include -DQMAKE_OPENSOURCE_EDITION -g
-fconstant-cfstrings -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac -Igenerators/symbian
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/corelib/global
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/corelib/xml
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/tools/shared
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_NO_COMPRESS
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/mkspecs/macx-g++
-DHAVE_QCONFIG_CPP
-DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
In file included from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/qglobal.h:1,
from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/../../src/corelib/tools/qalgorithms.h:45,
from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/qalgorithms.h:1,
from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/../../src/corelib/tools/qstringlist.h:45,
from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/../../src/corelib/global/qglobal.h:323:6:
warning: #warning "This version of Mac OS X is unsupported"
In file included from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/qlist.h:1,
from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/../../src/corelib/tools/qstringlist.h:47,
from
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/qstringlist.h:1,
from project.h:45,
from project.cpp:42:
/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore/../../src/corelib/tools/qlist.h:54:15:
error: new: No such file or directory
<snip>
Package manager version: 0.33.1
Distribution version: selfupdate-rsync Wed Jun 13 13:01:59 2012, 10.7,
x86_64
Trees: local/main stable/main
Xcode.app: 4.3.2
Xcode command-line tools: 4.3.0.0.1
Max. Fink build jobs: 1
-------------
It works for me (10.7.4/Xcode 4.3.3).
At the same point in my own build I have
Creating qmake. Please wait...
llvm-g++-4.2 -c -o project.o -arch i386 -pipe
-I/sw/lib/system-openssl/include -DQMAKE_OPENSOURCE_EDITION -g
-fconstant-cfstrings -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac -Igenerators/symbian
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/include/QtCore
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/corelib/global
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/src/corelib/xml
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/tools/shared
-DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
-DQT_NO_COMPRESS
-I/sw/src/fink.build/qt4-base-mac-4.7.3-35/qt-kde-qt-mac/mkspecs/macx-g++
-DHAVE_QCONFIG_CPP
-DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp
<build continues>
which looks pretty much the same as what you get.
--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users