Qt4-preview-feedback Archive, March 2008
Source code build error on Mac
Message 1 in thread
I get the following error when trying to build beta 1 on the Mac.
g++ -c -pipe -fconstant-cfstrings -Wreturn-type -fno-strict-aliasing -g
-fvisibility=hidden -fvisibility-inlines-hidden -arch ppc -arch i386
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -DQT_SHARED
-DQT_EDITION=QT_EDITION_DESKTOP -DBUILDING_QT__=1
...
...
-o .obj/debug-shared/collector.o ../JavaScriptCore/kjs/collector.cpp
../JavaScriptCore/kjs/collector.cpp:47:39:../JavaScriptCore/kjs/collector.cp
p:47:39: error: CollectorHeapIntrospector.h: No such file or directory
error: CollectorHeapIntrospector.h: No such file or directory
This was configured with:
./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg -universal
-sdk /Developer/SDKs/MacOSX10.4u.sdk -debug-and-release -qt-sql-sqlite
The file it¹s complaining about is indeed missing from the release. Should
the source be buildable?
-Troy
Message 2 in thread
On Mar 4, 2008, at 1:11 PM, Troy Gillette wrote:
> I get the following error when trying to build beta 1 on the Mac.
>
> g++ -c -pipe -fconstant-cfstrings -Wreturn-type -fno-strict-aliasing
> -g -fvisibility=hidden -fvisibility-inlines-hidden -arch ppc -arch
> i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -DQT_SHARED -
> DQT_EDITION=QT_EDITION_DESKTOP -DBUILDING_QT__=1
> ...
> ...
> -o .obj/debug-shared/collector.o ../JavaScriptCore/kjs/collector.cpp
> ../JavaScriptCore/kjs/collector.cpp:47:39:../JavaScriptCore/kjs/
> collector.cpp:47:39: error: CollectorHeapIntrospector.h: No such
> file or directory
> error: CollectorHeapIntrospector.h: No such file or directory
>
> This was configured with:
>
> ./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg -
> universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -debug-and-release -
> qt-sql-sqlite
>
> The file it’s complaining about is indeed missing from the release.
> Should the source be buildable?
It builds fine here with -qt-sql-psql -I/usr/local/pgsql/include -L/
usr/local/pgsql/lib -no-qt3support -qt-sql-sqlite -dwarf2 -debug
platter:~/Desktop/Safari steve$ tar tzf qt-mac-commercial-src-4.4.0-
beta1.tar.gz.tar | grep CollectorHeapIntrospector.h
qt-mac-commercial-src-4.4.0-beta1/src/3rdparty/webkit/
JavaScriptCore/kjs/CollectorHeapIntrospector.h
platter:~/Desktop/Safari steve$ md5 qt-mac-commercial-src-4.4.0-
beta1.tar.gz.tar
MD5 (qt-mac-commercial-src-4.4.0-beta1.tar.gz.tar) =
dd221c0beb88dd363ab5cf5a0cb4ee10
Perhaps your download is incomplete or corrupted?
Cheers,
Steve
To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Message 3 in thread
I've had similar problems.
It is something in the tar file getting corrupted see attached image.
The files get extracted without the .h
They are there, you just have to add the .h
I've also ran into a few *.cpp files that are extracted as *.cp
Rich
Troy Gillette wrote:
> I get the following error when trying to build beta 1 on the Mac.
>
> g++ -c -pipe -fconstant-cfstrings -Wreturn-type -fno-strict-aliasing
> -g -fvisibility=hidden -fvisibility-inlines-hidden -arch ppc -arch
> i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -DQT_SHARED
> -DQT_EDITION=QT_EDITION_DESKTOP -DBUILDING_QT__=1
> ...
> ...
> -o .obj/debug-shared/collector.o ../JavaScriptCore/kjs/collector.cpp
> ../JavaScriptCore/kjs/collector.cpp:47:39:../JavaScriptCore/kjs/collector.cpp:47:39:
> error: CollectorHeapIntrospector.h: No such file or directory
> error: CollectorHeapIntrospector.h: No such file or directory
>
> This was configured with:
>
> ./configure -prefix /Developer/qt -qt-zlib -qt-libpng -qt-libjpeg
> -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -debug-and-release
> -qt-sql-sqlite
>
> The file it's complaining about is indeed missing from the release.
> Should the source be buildable?
>
> -Troy
--
[ signature omitted ]
