Next Previous Contents

3. ¦w¸Ë StarOffice

¦w¸Ë StarOffice ¥]§t¡G

3.1 Libc ª©¥»¤Î­×¸É³B

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¦]¦¹§A­n¦Û¤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

3.2 ¦w¸Ëtar ÀÉ®×

¤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

3.3 ³]©w»P«Øº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

3.4 COL (Caldera OpenLinux) ³]©w¤p¦ä

Phil Reardon ( pcr@busprod.com ) »¡:

" §Úµo²{¦ñÀH Caldera COL ¼Ð·Çª©¬°¤F StarOffice ªº³]©w¤â½Z¦³°¦ ¤p¦ä¡C¥¦·|¦b¤@­Ó¸ô®|¤¤«Ø¥ß­ì¥»À³¸Ó¥u¦³¤@­Ó / ¦ý«o¦¨¬° // (¨â­Ó±×¸¹ ) ªº¡A­n­×§ï¥¦¡A¥u­n±q³o¦æ¤¤§â²Ä¤@­Ó±×¸¹®³±¼´N¥i¥H¤F:
exec ${pfad:='.'}/linux-x86/bin/$name;;
¦b linux-x86."«e¤£À³¸Ó¦³ / (±×¸¹)¤~¹ï¡C

3.5 ­×§ï LANG Åܼƪº°ÝÃD

.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


Next Previous Contents