当然gcc,make等基本工具是要先装好的。
从http://www.blastwave.org/pkg-get.php下载pkg-get.实际上就是把第一行的链接的.pkg文件下载下来。安装(pkgadd )就可以了。这个公司的软件全部装到/opt/csw/下的。然后pkg-get -u 把pkg-get自身升级。不然-i参数无效。
如果gcc,make没的话可用pkg-get装gcc和gmake的最新版本
然后
1.使用pkg-get -i gaim;自动安装上gaim0.82。之所以这样做。自动安装为我省下了太多的事情。因为我刚装的solaris x86,甚么lib也没。pkg-get不仅可以装上gaim0.82,同时也能装上它所有的dependences.(这个工具真是很爽〕
2.pkgrm CSWgaim; 这一步我吧gaim0.82又删掉。因为目前支持0。82的的openq的plugs还没有。删掉的是为了自己编译gaim
4.如果你知道gaim的重要的dependences并且可以自己安装的话上面是没必要的
1.从http://openq.linuxsir.org/download/openQ-0.3.0.p3.tbz下载最近的openQ的原代码
2.解压文件bunzip2 openQ*; tar xvf openQ*;
3 cd open*;cd gaim*;
export LDFLAGS=-L/opt/csw/lib;
export CPPFLAGS=-I/opt/csw/include;
将CPPFLAGS和LDFLAGS的值指到dependences的lib和include 目录。上面写的是pkg-get得到的 dependences的目录
./configure --disable-perl
这里configure的参数意思如下:(可以通过./configure --help查〕
参数--disable-perl,不然的话编译的时候回出现一个符号冲突的错误。
如果不加gnutls,openQ协议就无法被gaim识别。而且加了gnutls,mns也能用了。gnutls是很重要的。
最后configure得输出是建议对比下。
config.status: creating po/Makefile
gaim 0.79
Build Protocol Plugins........ : yes
Protocols to link statically.. :
Protocols to build dynamically : qq gg irc jabber msn napster novell oscar yahoo zephyr
UI Library.................... : GTK 2.x
SSL Library/Libraries......... : GNUTLS
Build with Plugin support..... : yes
Build with Perl support....... : no
Build with Tcl support........ : no
Build with Tk support......... : no
Build with Audio support...... : yes
Build with NAS support........ : no
Build with GtkSpell support... : yes
Use kerberos 4 with zephyr.... : no
Use external libzephyr........ : no
Use XScreenSaver Extension.... : yes
Use X Session Management...... : yes
Use startup notification.......: yes
Print debugging messages...... : no
Gaim will be installed in /usr/local/bin.
Warning: You have an old copy of gaim at /usr/local/bin/gaim.
configure complete, now type ^make^
(其中有几个显示‘no’的库文件也在机子里。只是没做必要的设置,configure暂时找不到path,因为pkg-get已经把所有的 dependences装了.然而就显示出来gtk,gnutls,pulugins support,etc被找到了,就足够运行openqq,象tcl,tck等完全可以通过configure的参数指出路径〕
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 安装 文件 目录 可以 pkg-get gnutls 参数 dependences |
注册
个人空间
