Stragonian |
11-25-2010 10:17 PM |
qt4.Slackbuild problems compiling qt4
I have installed Slackware 13.1(64bit) on my laptop. I did not however install qt4, I installed qt3 and the KDE3.5.10 Desktop environment from Slam64 12.2. I've been trying to compile the qt4.Slackbuild library form Slackbuild (12.2), as it is suppose to be able to coexist with qt3. It seem to error out while compiling. :
Code:
make[1]: Entering directory `/tmp/SBo/qt-x11-opensource-src-4.7.1/src/script'
/tmp/SBo/qt-x11-opensource-src-4.7.1/bin/qmake -spec ../../mkspecs/linux-g++-64 -o Makefile script.pro
make[1]: Leaving directory `/tmp/SBo/qt-x11-opensource-src-4.7.1/src/script'
make[1]: Entering directory `/tmp/SBo/qt-x11-opensource-src-4.7.1/src/script'
compiling ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp
compiling ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp
compiling ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_tables.cpp
compiling ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_ucp_searchfuncs.cpp
compiling ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_xclass.cpp
compiling ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp
In file included from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:28:
../3rdparty/javascriptcore/JavaScriptCore/API/JSBasePrivate.h:46: error: 'size_t' has not been declared
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:33,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Identifier.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/DateInstanceCache.h:43: error: 'GregorianDateTime' does not name a type
../3rdparty/javascriptcore/JavaScriptCore/runtime/DateInstanceCache.h:45: error: 'GregorianDateTime' does not name a type
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/NumericStrings.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:38,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Identifier.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:301: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:301: error: expected ';' before 'static'
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:302: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:302: error: expected ';' before 'static'
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/UString.h:27,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/NumericStrings.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:38,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Identifier.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h: In static member function 'static QTJSC::UStringImpl& QTJSC::UStringImpl::null()':
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:183: error: 's_null' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h: In static member function 'static QTJSC::UStringImpl& QTJSC::UStringImpl::empty()':
../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h:184: error: 's_empty' was not declared in this scope
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Identifier.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/Structure.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSAPIValueWrapper.h:28,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:29,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h: At global scope:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:136: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:136: error: expected ';' before 'void'
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:137: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:137: error: expected ';' before 'void'
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:138: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:138: error: expected ';' before 'void'
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:139: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalData.h:139: error: expected ';' before 'void'
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h:25,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h: In function 'QTJSC::JSCell* QTJSC::getJSFunction(QTJSC::JSGlobalData&, QTJSC::JSValue)':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:44: error: 'class QTJSC::JSGlobalData' has no member named 'jsFunctionVPtr'
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h:25,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h: At global scope:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:54: error: ISO C++ forbids declaration of 'JS_EXPORTDATA' with no type
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:54: error: expected ';' before 'const'
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h:25,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h: In member function 'virtual const QTJSC::ClassInfo* QTJSC::JSArray::classInfo() const':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:108: error: 'info' was not declared in this scope
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h: In function 'bool QTJSC::isJSArray(QTJSC::JSGlobalData*, QTJSC::JSValue)':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:139: error: 'class QTJSC::JSGlobalData' has no member named 'jsArrayVPtr'
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h: In function 'bool QTJSC::isJSArray(QTJSC::JSGlobalData*, QTJSC::JSCell*)':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSArray.h:141: error: 'class QTJSC::JSGlobalData' has no member named 'jsArrayVPtr'
In file included from ../3rdparty/javascriptcore/JavaScriptCore/runtime/StringObject.h:25,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/StringPrototype.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/API/APICast.h:30,
from ../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:30:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSString.h: At global scope:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSString.h:65: error: expected initializer before ':' token
../3rdparty/javascriptcore/JavaScriptCore/API/JSBase.cpp:112: error: expected '}' at end of input
make[1]: *** [obj/release/JSBase.o] Error 1
make[1]: Leaving directory `/tmp/SBo/qt-x11-opensource-src-4.7.1/src/script'
make: *** [sub-script-make_default-ordered] Error 2
I thought I'd ask for help to see if anyone has an ideal on how to overcome these errors.
|