- 论坛徽章:
- 0
|
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 |
|