免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 548 | 回复: 0
打印 上一主题 下一主题

sun [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-28 07:53 |只看该作者 |倒序浏览

                                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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP