[kde-solaris] qt build problem.

atiqcse at smile.com.bd atiqcse at smile.com.bd
Sun Jan 4 22:06:03 CET 2009


On Mon, 05 Jan 2009 02:52:54 +0600, <atiqcse at smile.com.bd> wrote:
> bash$ ./configure
> This is the Qt/X11 Open Source Edition.
> 
> You are licensed to use this software under the terms of either
> the Q Public License (QPL) or the GNU General Public License (GPL).
> 
> Type 'Q' to view the Q Public License.
> Type 'G' to view the GNU General Public License.
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
> 
> Do you accept the terms of either license? yes
> 
> Creating qmake. Please wait...
> CC -c -o project.o  -I. -Igenerators -Igenerators/unix -Igenerators/win32
> -Igenerators/mac -I/usr/local/qt/include/qmake -I/usr/local/qt/include
> -I/usr/local/qt/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
> -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
> -I/usr/local/qt/mkspecs/solaris-cc -DHAVE_QCONFIG_CPP project.cpp
> make: CC: Command not found
> make: *** [project.o] Error 127
> qmake failed to build. Aborting.
> 

Well, I have got to know that I have to use -platform solaris-g++ option.
But still error remains:

bash$ ./configure -platform solaris-g++
This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
g++ -c -o project.o  -I. -Igenerators -Igenerators/unix -Igenerators/win32
-Igenerators/mac -I/usr/local/qt/include/qmake -I/usr/local/qt/include
-I/usr/local/qt/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/local/qt/mkspecs/solaris-g++ -DHAVE_QCONFIG_CPP project.cpp
In file included from project.cpp:36:
project.h:39:25: qstringlist.h: No such file or directory
project.h:40:21: qstring.h: No such file or directory
project.h:41:18: qmap.h: No such file or directory
In file included from project.cpp:36:
project.h:50: error: `QString' does not name a type
project.h:53: error: ISO C++ forbids declaration of `QMap' with no type
project.h:53: error: expected `;' before '<' token
project.h:54: error: expected `,' or `...' before '&' token
project.h:54: error: ISO C++ forbids declaration of `QString' with no type
project.h:55: error: expected `,' or `...' before '&' token
project.h:55: error: ISO C++ forbids declaration of `QString' with no type
project.h:56: error: expected `,' or `...' before '&' token
project.h:56: error: ISO C++ forbids declaration of `QString' with no type
project.h:56: error: `bool QMakeProject::doProjectTest(int)' and `bool
QMakeProject::doProjectTest(int)' cannot be overloaded
project.h:57: error: expected `,' or `...' before '&' token
project.h:57: error: ISO C++ forbids declaration of `QStringList' with no
type
project.h:58: error: `QString' does not name a type
project.h:65: error: expected `,' or `...' before '&' token
project.h:65: error: ISO C++ forbids declaration of `QString' with no type
project.h:66: error: `uchar' has not been declared
project.h:66: error: ISO C++ forbids declaration of `cmd' with no type
project.h:66: error: `bool QMakeProject::read(int)' and `bool
QMakeProject::read(int)' cannot be overloaded
project.h:68: error: `QString' does not name a type
project.h:69: error: `QString' does not name a type
project.h:71: error: expected `,' or `...' before '&' token
project.h:71: error: ISO C++ forbids declaration of `QString' with no type
project.h:72: error: ISO C++ forbids declaration of `QStringList' with no
type
project.h:72: error: expected `;' before '&' token
project.h:73: error: `QString' does not name a type
project.h:74: error: ISO C++ forbids declaration of `QMap' with no type
project.h:74: error: expected `;' before '<' token
project.h:75: error: expected `,' or `...' before '&' token
project.h:75: error: ISO C++ forbids declaration of `QString' with no type
project.h:79: error: expected `,' or `...' before '&' token
project.h:79: error: ISO C++ forbids declaration of `QString' with no type
project.h:79: error: `bool QMakeProject::read(int)' and `bool
QMakeProject::read(int)' cannot be overloaded
project.h:83: error: `QString' does not name a type
project.h:96: error: `QString' does not name a type
project.h:99: error: expected `,' or `...' before '&' token
project.h:100: error: ISO C++ forbids declaration of `QString' with no type
project.h: In member function `bool QMakeProject::isEmpty(int)':
project.h:100: error: `vars' undeclared (first use this function)
project.h:100: error: (Each undeclared identifier is reported only once for
each function it appears in.)
project.h:100: error: `v' undeclared (first use this function)
project.h: At global scope:
project.h:102: error: expected init-declarator before '&' token
project.h:102: error: expected `,' or `;' before '&' token
................................................................
thousands of errors..........................................

Please help..



More information about the kde-solaris mailing list