Update of /cvsroot/fink/web/xml/faq
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15706

Modified Files:
        faq.ja.xml faq.zh.xml 
Log Message:
= faq.en.xml 1.57

Index: faq.ja.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.ja.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- faq.ja.xml  9 Jul 2005 13:56:39 -0000       1.32
+++ faq.ja.xml  24 Aug 2005 00:51:50 -0000      1.33
@@ -622,14 +622,16 @@
 <em>注記:</em> 古いバージョンの fink では、スクリプト名が 
<filename>/sw/bin/pathsetup.sh</filename> ではなく 
<filename>/sw/bin/pathsetup.command</filename> 
となっていることがあります。
 あるいは、 Fink 
バイナリディストリビューションのディスクイメージ内にある
 <filename>pathsetup.app</filename> を実行する方法もあります。
 </p>
-<p>このエラーが Apple X11 ターミナルでのみ出る場合,
-<link url=" http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc 
">.xinitrc</link> 
-というファイルを作成し、</p>
-<codeblock>. /sw/bin/init.sh</codeblock> 
-<p>の一行を最初の方
-(他のプログラムが実行される前)
-に追加します。
-X11 が立ち上がっている場合、 X11 を再起動します。</p> 
+<p>
+Apple X11 terminal でのみこの問題が発生するのであれば、
+簡単な解決方法は 
X11 アプリケーションメニューの&quot;ターミナル&quot;を、<em>アプリケーション-&gt;メニューをカスタマイズ...</em>から変更します。
+</p>
+        <codeblock>xterm</codeblock>
+        <p>cコマンドの欄を</p>
+        <codeblock>xterm -ls</codeblock>
+        <p>とします。ここで<code>ls</code> は <quote>login 
shell</quote> を意味し、ログインセットアップが (OS X 
ターミナルと同様に) 使用されることになります。</p>
+        <p><filename>/sw/bin/init.*</filename> 
スクリプトは、<filename>/sw/bin</filename> 
をパスに追加する以外にも様々なことをしています。
+       
多くのパッケージは、この追加処理がなくては正常に動作しません。</p>
 <codeblock>source ~/.cshrc</codeblock>
 </answer>
 </faqentry>
@@ -980,6 +982,7 @@
 # Official binary distribution: download location for updated
 # packages built between releases
 deb http://bindist.finkmirrors.net/bindist 10.3/current main crypto</codeblock>
+<p>(上記は 10.3 を想定しています。 <code>10.3</code> 
を、現在しよう中有のディストリビューションに変えて使用してください。</p>
             <p>
               とし、保存してエディタを終了します。
               
この後、バイナリパッケージリストを更新してください。
@@ -1437,6 +1440,11 @@
                
不幸にもビルドが不完全で終わるかもしれません。この場合、<code>update</code>
 コマンドを
                繰り返すことで先に進めるでしょう。
         </p>
+               <p>
+                       極端な状況では、<code>libgettext3-dev</code> 
に依存するものと別に、<code>gettext-dev</code> 
+                       (など、問題を起こしているペア) 
にビルド依存するパッケージをインストールする必要があります。
+                       
パッケージを一つずつインストールする必要があるかもしれません。
+               </p>
         <p>この問題の解決は <code>fink-0.2.5</code> 
で予定されています。</p>
       </answer>
     </faqentry>
@@ -2081,7 +2089,15 @@
                
これは、パッケージをソースからビルドする際に必須です。
                X11SDK は Xcode CD にありますが、XCode 
をインストールしても、デフォルトではインストール<em>されません</em>。
                
インストール時にカスタムを選択してパッケージを選択するか、
-               XCode の CD 内の <filename>Packages</filename> 
フォルダから X11SDK pkg をダブルクリックします。
+               Panther の XCode CD または Tiger DVD の XCode Tools 
フォルダ内にあります。
+               Panther 
では、デフォルトではインストールされませんので、カスタムインストールを選択するか、
+               <filename>Packages</filename> フォルダ内の 
<filename>X11SDK pkg</filename> アイコンをダブルクリックします。
+               Tiger では、 (たとえ X11User がなくても) 
デフォルトでインストール<em>されます</em>が、一部のファイルがインストールされないことがあります。
+               </p>
+               <p>
+               XCode 
ディスクが付随されていないコンピュータの場合、<filename>X11SDK.pkg</filename>
 を含むディスクイメージがある場合があります。
+               <filename> /Applications/Installers </filename> 
などのディレクトリを探してください。
+               <filename>X11User.pkg</filename> 
も同じディレクトリにある場合があります。
                </p>
                <p>
                これでも問題がある場合、
@@ -2207,6 +2223,15 @@
         <p>
                この方法は、Apple X11 
のアプリケーションメニューからでも、ターミナルからでも有効です。
         </p>
+        <p>
+               これをグローバルに設定する 
(スタートアップスクリプトと <code>.xinitrc</code>、GNOME 
を使う場合には必須) のも良いでしょう。
+               (ログインシェルに関わらず) <code>.xinitrc</code> 
と、 <em>bash</em> ユーザーは <code>.profile</code> 
(または他のスタートアップスクリプト) に、
+        </p>
+        <codeblock>export DYLD_FALLBACK_LIBRARY_PATH=:</codeblock>
+        <p>と記述し、<em>tcsh</em> ユーザーは、同様に 
<code>.cshrc</code> (または他のスタートアップスクリプト) 
に、</p>
+        <codeblock>setenv DYLD_FALLBACK_LIBRARY_PATH :</codeblock>
+        <p>と記述します。</p>
+           <p>これは <code>base-files-1.9.7-1</code> 
以降では自動的に追加されます。</p>
       </answer>
     </faqentry>
 </chapter>

Index: faq.zh.xml
===================================================================
RCS file: /cvsroot/fink/web/xml/faq/faq.zh.xml,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- faq.zh.xml  9 Jul 2005 13:56:39 -0000       1.18
+++ faq.zh.xml  24 Aug 2005 00:51:50 -0000      1.19
@@ -588,11 +588,12 @@
         of <filename>pathsetup.sh</filename>. Alternately, you can run
         the <filename>pathsetup.app</filename> application on the Fink
         binary distribution disk image.</p>
-        <!-- end translation -->
-        <p>另一方面,如果你只在苹果的 X11 
终端中碰到这个问题,这也许意味着你需要创建一个 <link 
url="http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc"; 
>.xinitrc</link> 
文件并在靠近文件开头的地方(就是说,在运行任何程序以前)添加一行:</p>
-        <codeblock>. /sw/bin/init.sh</codeblock>
-        <p>在做完以后,重新运行 X11。</p>
-        <!-- start translation -->
+        <p>On the other hand, if you only have problems in the Apple X11
+        terminal, the easy solution is to modify the "Terminal" entry in the 
X11 Application menu via the <em>Applications-&gt;Customize Menu... 
</em>option.  Instead of just</p>
+        <codeblock>xterm</codeblock>
+        <p>change the command field to read</p>
+        <codeblock>xterm -ls</codeblock>
+        <p><code>ls</code> here means <quote>login shell</quote>, and the 
result is that your full login setup gets used (just like the OS X 
Terminal).</p>
                <p>These <filename>/sw/bin/init.*</filename> scripts do much
                more than just add <filename>/sw/bin</filename> to your PATH.
                Many packages will not work correctly without these additional
@@ -889,6 +890,7 @@
 # Official binary distribution: download location for updated
 # packages built between releases
 deb http://bindist.finkmirrors.net/bindist 10.3/current main crypto</codeblock>
+<p>(The above of course assumes you're on 10.3.  If you're on a different OS 
replace <code>10.3</code> with what your current distribution is.</p>
             <p>Then save your work and quit the editor.  Now update your 
binary package list again.</p>
           </li>
         </ul>
@@ -1262,6 +1264,7 @@
         <p>Some packages that need <code>gettext</code> headers to build have 
been updated to use <code>libgettext3-dev</code> and some still use 
<code>gettext-dev</code>.  Consequently, Fink may try to switch to whichever 
one isn't currently installed in order to satisfy a build dependency for some 
package that you're trying to update.  In addition, the <code>fink </code>tool 
treats <code>gettext-dev</code> as essential, and will install it any time you 
selfupdate.</p>
         <p>Similar behavior can happen for other pairs of packages, too. </p>
         <p>Unfortunately, due to limitations in the build-dependency engine, 
you may find that your build bombs because you've swapped in one of these but 
some later package in your build chain wants the other one.  You can proceed by 
repeating your update command again.</p>
+<p>In extreme cases you may wind up having to install those packages which 
build-depend on <code>gettext-dev</code> separately from those which want 
<code>libgettext3-dev</code> (or whichever pair are causing problems).  You may 
even have to install packages one by one.</p>
         <p>A permanent fix should hopefully be available in 
<code>fink-0.2.5</code>.</p>
       </answer>
     </faqentry>
@@ -1812,8 +1815,9 @@
           </li>
           <li>
             <em>You are installing from source:</em>
-           <p>If you have a current version of <code>fink</code>, then 
typically this error means that you need to (re)install the X11SDK, which is 
<em>mandatory</em> if you want to build packages from source. It is on the 
Xcode CD, and is <em>not</em> installed by default. Even if you install XCode, 
the X11SDK is <em>not</em> installed by default. It has to be installed either 
with a custom Xcode install, or by clicking on the X11SDK pkg in the 
<filename>Packages</filename> folder of the XCode CD.</p>
-           <p>If you are still having problems, run </p>
+               <p>If you have a current version of <code>fink</code>, then 
typically this error means that you need to (re)install the X11SDK, which is 
<em>mandatory</em> if you want to build packages from source. It is on the 
Panther Xcode CD or in the XCode Tools folder of a TIger DVD, and is 
<em>not</em> installed by default when you install XCode on Panther--it has to 
be installed either with a custom Xcode install, or by clicking on the 
<filename>X11SDK pkg</filename> icon in the <filename>Packages</filename> 
folder of the XCode CD.  It <em> is</em>, on the other hand, installed by 
default when you install Xcode on Tiger (even if X11User isn't present), but 
it's still possible for the Installer program to miss a file.  </p>
+               <p>If your computer didn't come with XCode media, then a disk 
image for it, containing <filename>X11SDK.pkg</filename> among other things, is 
quite likely present on your computer somewhere--check for a directory like 
<filename> /Applications/Installers </filename> for an XCode disk image.  
<filename>X11User.pkg</filename> may be present in that directory as well. </p>
+               <p>If you are still having problems, run </p>
             <codeblock>fink list -i system-xfree86  </codeblock>
             <p>It should show the <code>system-xfree86</code>, 
<code>system-xfree86-shlibs</code>, and <code>system-xfree86-dev</code> 
packages as installed.  If the <code>-dev</code> package is missing, reinstall 
the X11SDK, since sometimes the Apple Installer misses a file.  You may need to 
keep doing this.  If either of the other two are missing, then reinstall the 
X11User package (same reason).</p>
             <p>
@@ -1889,6 +1893,13 @@
         <p>E.g., if you want to use <code>gnucash</code>, you'd use</p>
         <codeblock>env DYLD_FALLBACK_LIBRARY_PATH=: gnucash</codeblock>
         <p>This method works for applications that are launched via the 
Application Menu in Apple's X11 as well as a terminal.</p>
+        <p>You may find it preferable to set this globally (e.g. in your 
startup script, and/or in your <code>.xinitrc</code> , which you may need to do 
to run GNOME).  Put</p>
+        <codeblock>export DYLD_FALLBACK_LIBRARY_PATH=:</codeblock>
+        <p>in your <code>.xinitrc</code> (regardless of your login shell) or 
your <code>.profile</code> (or other startup script) for <em>bash</em> users 
and:</p>
+        <codeblock>setenv DYLD_FALLBACK_LIBRARY_PATH :</codeblock>
+        <p>is the corresponding command to use in e.g. your 
<code>.cshrc</code> file for <em>tcsh</em> users.</p>
+       <p>This will automatically be set if you install 
+<code>base-files-1.9.7-1</code> or later.</p>
       </answer>
     </faqentry>
     <!-- end translation -->



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to