免费注册 查看新帖 |

Chinaunix

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

Stardict Installation Notes for Solaris 10 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-06-15 13:32 |只看该作者 |倒序浏览
Stardict Installation Notes for Solaris 10\r\n\r\nBUPT-CS Perry  < unixecat@sina.com >;\r\n\r\n=========\r\n\r\nBasic information of my system:\r\nSunOS XXXXX 5.10 s10_72 sun4u sparc SUNW,Sun-Blade-100\r\n\r\nStardict version:Stardict-2.4.4\r\n\r\n1.\r\nStardict-2.4.4 requires the installation of gcc,make ,gawk.\r\nsoftware download URL:\r\nhttp://www.sunfreeware.com/indexsparc10.html\r\ngawk-3.1.4\r\ngcc-3.3.2  (This gcc package requires the installation of libiconv.)\r\nlibiconv-1.8\r\nmake-3.80\r\n\r\ninstall:\r\ngunzip a-sol10-sparc-local.gz\r\npkgadd -d a-sol10-sparc-local\r\n\r\n\r\n2.\r\nNote that this version of gcc was created on build 60 of Solaris 10. If you are using a higher version, you will need to redo some of the header files. This is done by doing the following steps:\r\n\r\ncd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools/\r\n\r\nPut the line SHELL=/bin/sh on the first line of the mkheaders.conf\r\nfile.  Then run\r\n\r\n./mkheaders\r\n\r\nThis will correct some files and make the build 60 gcc usable on\r\nhigher builds.  I have tested this on build 72 and it works fine.\r\n\r\n\r\n[comment]\r\nif you have not done it, when you run \'make\'(compile stardict),there are some error messages like this:\r\n/usr/include/sys/siginfo.h:259: error: \'ctid_t\' is used as a type, but is not\r\n   defined as a type.\r\n/usr/include/sys/siginfo.h:390: error: \'ctid_t\' is used as a type, but is not\r\n   defined as a type.\r\n\r\n3.\r\nbunzip2 -dc stardict-2.4.4.tar.bz2 |tar xvf -\r\n./configure --prefix=/usr --sysconfdir=/etc  --mandir=/usr/share/man\r\n\r\n4.\r\nI believe -mt is not a supported with GNU compilers (-mt works with Sun Studio compilers).  you should edit the GNUmakefile to replace -mt with g++ equivalent option, -pthreads.\r\n\r\nMakefiles include:\r\n\r\n./po/Makefile\r\n./src/tools/Makefile\r\n./src/win32/nsis/Makefile\r\n./src/win32/Makefile\r\n./src/sounds/Makefile\r\n./src/pixmaps/Makefile\r\n./src/Makefile\r\n./data/Makefile\r\n./help/C/Makefile\r\n./help/mk/Makefile\r\n./help/ru/Makefile\r\n./help/uk/Makefile\r\n./help/zh_CN/Makefile\r\n./help/zh_TW/Makefile\r\n./help/Makefile\r\n./pixmaps/Makefile\r\n./Makefile\r\n\r\n[comment]\r\nif you have not done it, when you run \'make\'(compile stardict),there are some error messages like this:\r\ncc1plus: error: invalid option `t\'\r\n\r\n5.\r\nexport PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/bin:/usr/ucb:/usr/local/bin\r\n(if gcc,make are installed in /usr/local/bin)\r\nmake\r\nmake install\r\n\r\nbunzip2 -dc stardict-oxford-gb-2.4.2.tar.bz2 |tar xvf -\r\n\r\n\r\n\r\n6.\r\ninstall tarball dictionaries:\r\nbunzip2 -dc a.tar.bz2 | tar xvf -\r\nmv a /usr/share/stardict/dic\r\n\r\n\r\ninstall tarball tree dictionaries:\r\nbunzip2 -dc a.tar.bz2 | tar xvf -\r\nmv a /usr/share/stardict/treedict\r\n\r\n\r\ninstall WyabdcRealPeopleTTS:\r\nbunzip2 -dc WyabdcRealPeopleTTS.tar.bz2 | tar xvf -\r\nmv WyabdcRealPeopleTTS  /usr/share/WyabdcRealPeopleTTS\r\n\r\nsetting:\r\nstardict ->; perferences ->; floating window->; options ->; pronouce the word when pop up.\r\nthen restart stardict, TTS will work.\r\n\r\n7.\r\nStardict download URL:\r\n\r\nMain program:\r\nhttp://prdownloads.sourceforge.net/stardict/stardict-2.4.4.tar.bz2?download\r\nDictionaries:\r\nhttp://stardict.sourceforge.net/Dictionaries.php\r\nTreeDictionaries:\r\nhttp://stardict.sourceforge.net/TreeDictionaries.php\r\nWyabdcRealPeopleTTS:\r\nhttp://prdownloads.sourceforge.net/stardict/WyabdcRealPeopleTTS.tar.bz2?download\r\n\r\n8.\r\nWho to thank:\r\n\r\nMelvin

论坛徽章:
0
2 [报告]
发表于 2005-06-15 14:35 |只看该作者

Stardict Installation Notes for Solaris 10

原帖由 \"Unixecat\" 发表:\n\r\nif you have not done it, when you run \'make\'(compile stardict),there are some error messages like this:\r\ncc1plus: error: invalid option `t\'\r\n\r\n5.\r\nexport PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:/bi..........
\r\n\r\n\r\n不错,stardict确实在我的solaris x86上很好用,\r\n某些地方,他的词库甚至比金山词霸强,尤其计算机术语

论坛徽章:
0
3 [报告]
发表于 2005-06-15 15:50 |只看该作者

Stardict Installation Notes for Solaris 10

我在solaris8 上编译时出现了这个问题,时什么员应呢?\r\nbash-2.03# ./configure --prefix=/usr --sysconfdir=/etc  --mandir=/usr/share/man\r\nchecking for a BSD-compatible install... ./install-sh -c\r\nchecking whether build environment is sane... yes\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether to enable maintainer-specific portions of Makefiles... no\r\nchecking for gconftool-2... no\r\nchecking for intltool >;= 0.22... 0.27.2 found\r\nchecking for perl... /usr/bin/perl\r\nchecking for XML:arser... configure: error: XML:arser perl module is required for intltool

论坛徽章:
0
4 [报告]
发表于 2005-06-15 17:57 |只看该作者

Stardict Installation Notes for Solaris 10

You need to make sure that you have the right variant of the xml-parser-pm package to match the Perl version for your system. For example, if you\'re on Panther you should have xml-parser-pm581 rather than xml-parser-pm560 (you may also have the xml-parser-pm placeholder), since you have Perl-5.8.1 rather than Perl-5.6.0. If you\'re on Jaguar, and are using the default system Perl version, you\'ll have the pm560 variant, and if you\'ve installed Perl 5.8.0 you may have the pm580 variant.\r\n\r\nfrom: http://fink.sourceforge.net/faq/comp-general.php#xml-parser

论坛徽章:
0
5 [报告]
发表于 2006-04-12 14:05 |只看该作者

盼回复

楼上的问题 没有人清楚怎么回事吗\r\n焦急等待中

论坛徽章:
0
6 [报告]
发表于 2006-04-12 15:44 |只看该作者
原帖由 fat_cat 于 2006-4-12 14:05 发表\r\n楼上的问题 没有人清楚怎么回事吗\r\n焦急等待中
\r\n\r\n\r\nhttp://wiki.gceclub.sun.com.cn/i ... 8.E5.90.97.EF.BC.9F

论坛徽章:
0
7 [报告]
发表于 2006-04-12 16:02 |只看该作者
我的solaris 10本身就带了一个startdict...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP