[translation] [Fwd: web/xml/faq faq.en.xml,1.52,1.53]
Alexander Hansen <[email protected]> Mon, 25 Jul 2005 11:36:14 -0400
| Newsgroups | gmane.os.apple.fink.i18n |
|---|---|
| Message-ID | <[email protected]> |
-------- Original Message -------- Subject: web/xml/faq faq.en.xml,1.52,1.53 Date: Mon, 25 Jul 2005 15:10:43 +0000 From: Alexander Hansen <[email protected]> Reply-To: [email protected] Newsgroups: gmane.os.apple.fink.cvs Followup-To: gmane.os.apple.fink.devel Update of /cvsroot/fink/web/xml/faq In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6600 Modified Files: faq.en.xml Log Message: Overdue change to "command not found" entry. Expand the "x11 issues" primary FAQ to include Tiger-specific stuff and to mention the prospect of having an XCode disk image preinstalled. Index: faq.en.xml =================================================================== RCS file: /cvsroot/fink/web/xml/faq/faq.en.xml,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- faq.en.xml 8 Jul 2005 00:50:06 -0000 1.52 +++ faq.en.xml 25 Jul 2005 15:10:39 -0000 1.53 @@ -602,11 +602,11 @@ the <filename>pathsetup.app</filename> application on the Fink binary distribution disk image.</p> <p>On the other hand, if you only have problems in the Apple X11 - terminal, this probably means that you need to create a <link url="http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc">.xinitrc</link> - file and add the line</p> - <codeblock>. /sw/bin/init.sh</codeblock> - <p>near the beginning (i.e. before any programs get run). Restart X11 - (if running) after you do this.</p> + terminal, the easy solution is to modify the "Terminal" entry in the X11 Application menu via the <em>Applications->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 @@ -2120,7 +2120,7 @@ </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 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 </filen ame> 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> @@ -2189,6 +2189,11 @@ <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> </answer> </faqentry> </chapter> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click