SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
Actually you do not need to install any of this old packages. 13.0 and 13.1 comes with compatibility packages of KDE3 and QT3. You can install them as well. Check /extra on the DVD. QT4 is specially created to live with QT3 as it's not compatible with QT3. You can install both of them on the same system without stepping on anything.
However kde-compat packages at /extra is not much. It has just base system. YOu may tryto compile some more for your system with build scripts from old systems.
About your compile error: It feels like compiler fails or You have wrong version of something. Use qt3 package from extra and qt4 from /l. They will work without any problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.