StarOffice
¦w¸Ë StarOffice ¥]§t¡G
/usr/local
¤ºsetup
µ{¦¡.sd.sh
©Î .sd.csh
StarOffice »P libc 5.4.4
³sµ²¡C
StarOffice 3.1 ¥i¦b Libc 5.3.x
¤W¤u§@¡C¦ý¬O¡A¥¦ªº³]©wµ{¦¡
¥²¶·¦b 5.4.4 ©Î§ó°ªªºª©¥»¤~¦æ¡C ¦pªG§A¦³ libc 5.3.x
¡AÀ³¸Ó
¥i¥H¨ú±o libc 5.4.4+
¨Ã¦b°õ¦æ setup
¤â½Z«e§â¥¦¥[
¨ì§Aªº LD_LIBRARY_PATH Àô¹ÒÅܼƤº¡A³o¼Ë´N¥i¸Ñ¨M³o°ÝÃD¤F¡C §Ú¨S³o»ò
¸Õ¹L¡A¦]¦¹§An¦Û¤w°µ¬Ý¬Ý¡C
¦pªG§A¸ÕµÛ¦b¤ñ 5.4.4 ª©ÁÙ¦ªº libc ª©¥»¤W°õ¦æ setup
¤â½Z
ªº¸Ü¡A§A·|¦¬¨ì¤U¦Cªº¿ù»~°T®§¡G
line 1: Syntax error at token 'I' expected declarator;
i.e. File ...
n¤É¯Å§Aªº libc¡A FTP ¨ì
sunsite.unc.edu
¬Ý¬Ý
/pub/Linux/GCC
¥Ø¿ý¤ºªº libc-5.4.33.bin.tar.gz
ÀÉ®× (©Î¬O¦³§ó·sªº libc
¦b¨º¨à )¡C§â³oÓÀɮתº¤º®e¸Ñ¶}¨ì¤@ӼȦs¥Ø¿ý¤º¡C·|¦³Ó·sªº lib/ ¥Ø
¿ý³Q«Ø¥ß¤F¡CSu ¦¨ root «á«þ¨© libc.so.5.4.33
³oÓÀÉ®×±q³o
ӥؿý¨ì§Aªº /lib ¥Ø¿ý¤º¡C¦A¥H¤U±ªº©R¥O°µÓ²Å¸¹³sµ²±q
libc.so.5
¦¨ libc.5.4.33
¡G
ln -sf /lib/libc.so.5.4.33 /lib/libc.so.5
µM«á°õ¦æ ldconfig
©R¥O¡C
Romano Giannetti ³Õ¤h (
romano@iet.unipi.it )
»¡¡G
... §Ú¥u·Q¥[µù»¡¡A §Ú¥i¥H¦³ libc5.3 ªº Redhat 4.2 ¨t²Î¤W¦w¸Ë (¦p±z ©Ò«Øijªº ) StarWriter¡A¦Ó¥B¤£»Ýn°µ³o¼Ëªº¤É¯Å¡C
¥¿½Tªº¨BÆJ¬O¡G
1. ¨ú±o libc.so.5.4.x¡C¦pªG§A¦³ redhat rpm ®M¥ó (¦b contrib ¥Ø¿ý¤º ¥i¥H§ä¨ì )¡A§A¥i¥H¨ì²{¦³ªº¥Ø¿ý¤º§âµ{¦¡®w¸Ñ¶}¡A¦p¤U:
rpm2cpio libc.so.5.4.x-y.rpm | cpio --extract --make-directories
³oÓµ{¦¡®w·|¥X²{¦b ./lib ¦¸¥Ø¿ý¤º
2. ²¾¨«¦b§Aªº¥D¥Ø¿ý¤Uªº libc.so.5.4.x¡C µM«á (°²³]¤@Ó¹³ sh ªº shell)¡G
ln -s libc.so.5.4.x libc.so.5
export LD_LIBRARY_PATH=$HOME:/lib:/usr/lib
3. ²{¦b§A¥i¥H°õ¦æ setup¤F
¤U¸ü§¹ StarOffice «á¡A su ©Îñ¤J¦¨ root ¨Ã±N¨ú±oªºÀɮשñ¦b
/usr/local/
¤º¡C §ïÅܥؿý¨ì /usr/local/
«á¸Ñ¶}³o
¨ÇÀɮסC¥H¤U¬O¸ÑÀ£ÁY³Q gzip «á¦A³Q tar ¹LªºÀɮתº©R¥O¡G
tar -xzvf filename.tar
¦bªº¨t²Î¤W¥i¯à»Ýn§A¥ý¨Ï¥Î gzip -d
©R¥O¨Ó¸ÑÀ£ÁY³Q zip
¹LªºÀɮסAµM«á¨Ï¥Î tar -xvf
©R¥O¨Ó¸Ñ tar ¥¦¡C
³o¨ÇÀÉ®×·|¸Ñ¶}¨ì·s«Ø¥ßªº usr/local/StarOffice-3.1
¥Ø¿ý¤º
ªºì¦ì¸m¤W¡C
¦b±z¥H root ¨¥÷¸Ñ¶} StarOffice ªºÀɮפ§«á¡A§A»Ýnñ¤J¦¨§A¦Û¤v
ªº¨Ï¥ÎªÌ¦WºÙ¡C§ïÅܥؿý¨ì /usr/local/StarOffice-3.1
¤º¨Ã¥B
°õ¦æ setup
µ{¦¡¡C³oÓµ{¦¡·|¦w¸Ë«D¦@¨ÉªºÀɮשM²Å¸¹³sµ²µ¹Ó
§O»Ýnªº¨Ï¥ÎªÌ¡C§Ú̫غc±z°µ¼Ð·Çªº¦w¸Ë¡C¦pªG§A¤£±µ¨ü¤º©wªº¦w¸Ë¸ô®|
ªº¸Ü¦³¥i¯à·|¦³°ÝÃD¡C
StarOffice ¦³¨Ï¥Î´XÓÀô¹ÒÅܼơC ÀÉ®× .sd.sh
(µ¹ Bourne
Shell ¨Ï¥Îªº®æ¦¡ ) ¥H¤Î .sd.csh
(®æ¦¡µ¹ C Shell ¨Ï¥Î ) ¦³
´£¨Ñµ¹ StarOffice ¨Ï¥ÎªºÀô¹ÒÅܼơC³o¨ÇÀɮ׳£©ñ¦b§Aªº¥D¥Ø¿ý¤º¡C
¦pªG§A¨Ï¥Î bash
¡A½sקAªº .bashrc
¨Ã¥B¥[¤W³o¦æ¡G
source /.sd.sh
°µ§¹«á¡A«·s°õ¦æ bash
´N·|±NÀô¹ÒÅܼƥ\¯à¥´¶}¡C
¦pªG§A¨Ï¥Î¤£¦Pªº shell¡A ½Ð¥ý§ä shell ªº man ¶À³¸Ó·|¦³¦p¦ó sourcing Àɮתº¸ê°T¡C
Phil Reardon (
pcr@busprod.com
) »¡:
" §Úµo²{¦ñÀH Caldera COL ¼Ð·Çª©¬°¤F StarOffice ªº³]©w¤â½Z¦³°¦ ¤p¦ä¡C¥¦·|¦b¤@Ó¸ô®|¤¤«Ø¥ß쥻À³¸Ó¥u¦³¤@Ó / ¦ý«o¦¨¬° // (¨âӱ׸¹ ) ªº¡Anק復¡A¥un±q³o¦æ¤¤§â²Ä¤@ӱ׸¹®³±¼´N¥i¥H¤F:¦b linux-x86."«e¤£À³¸Ó¦³ / (±×¸¹)¤~¹ï¡Cexec ${pfad:='.'}/linux-x86/bin/$name;;
.sd.sh
©M .sd.csh
¨âÓÀɮ׳]©w LANG ÅܼơC³o¼Ë·|
¦b¨Ï¥Î perl ©M man ®É²£¥Í°ÝÃD¡Cman ·|±o¨ì¤U±ªº¿ù»~°T®§
" Failed to open the message catalog man on the path NLSPATH="Perl ·|¦³¿ù»~ªº°T®§
" warning: setlocale(LC_CTYPE, "")..."
.sd.sh
Àɮצ³¦æ³]©w LANG=us ¨ä¥Lªº exports ¤@°ïªºÅܼơA¥]
§t LANG¡C§â LANG=us ³o¦æ®³±¼¡A¨Ã±N LANG ±qÅܼƦCªí¤¤®³±¼¡A³o¼Ë´N¥i
¥H×¥¿¸Ó°ÝÃD¤F¡C
¦b .sd.csh
ÀÉ®×ùØ (¥H c shell ªº®æ¦¡©Ò¼g )¡A §A»Ýn§â¦³
"setenv LANG us" ªº¨º¦æ®³±¼¡C
ÁÂÁÂ Adam L. Klein (
alklein@adelphia.net
) §i¶D×¥¿³oÓ°ÝÃDªº¤èªk¡C