- 论坛徽章:
- 0
|
I finished this !just do as next:
1.download SUNStudio12 and install it!
2.then set PATH,add gmake path and make path,if you don't know these path
use find / -name gmake or find / -name make to get !
3. go to directory where you extract the installing files
4. use ./configure
5. make
There are several possible reasons for this problem to occur.
1. You may not have Qt installed.
2. You may have the wrong version of Qt installed.
3. You may have a version of Qt installed which was not compiled for multithreading support.
You can check these possibilities by using the command:
rpm -qa | sort | less
Check the output to see whether you have the correct version of Qt installed.
You did not say how you are trying to install the program. From the
format of the error message I guess that you are trying to conpile
kile. If so then check the rpm data base for installed source packages
as well as installed binary packages.
Recompiling Qt may or may not be the solution depending on what the problem is.
Download as much as you like.
http://www.sun.com/software/products/studio/index.xml
http://www.sun.com/software/products/studio/buy.xml
You will need a Solaris 10 machine with a Developer Installation .
If you have installed All of Solaris 10 you are OK. I you just selected
END User installation when you installed Solaris 10 , You should do an
uppgrade or
a re-installtion of your server first.
The first thing you need to do when using any compiler is to configure your
Build environment in a useful fasion. To set up a user account on
Solaris 10 to utilise the studio 11 compiler suite, I reccomend the
following
setup in regard to the environment variables that you need.
PATH=/opt/SUNWspro/bin:/usr/ccs/bin:$PATH ; export PATH
CC=/opt/SUNWspro/bin/cc ;export CC
CXX=/opt/SUNWspro/bin/CC ; export CXX
LDFLAGS="-L/usr/lib -R/usr/lib -L/usr/sfw/lib -R/usr/sfw/lib
-L/usr/openwin/lib -R/usr/openwin/lib"
export LDFLAGS
CFLAGS and CXXFLAGS needs to be tuned to the machine you are compiling on
Two examples:
For a SUNBLADE 1500 workstation :
CFLAGS="-fast -xtarget=ultra3i -xarch=v8plusb"
CXXFLAGS="-fast -xtarget=ultra3i -xarch=v8plusb"
export CFLAGS CXXFLAGS
For a Athlon64 PC workstation :
CFLAGS="-fast -xtarget=opteron -xarch=amd64a"
CXXFLAGS="-fast -xtarget=opteron -xarch=amd64a"
export CFLAGS CXXFLAGS
Here is the User guide !
http://docs.sun.com/app/docs/doc/819-3688
Have Fun !
//Lars
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/44757/showart_485490.html |
|