From: Daniel E. M. <dm...@ne...> - 2005-03-01 21:18:05
|
> Modified Files: > faq.en.xml > Log Message: > Modernize explanation of pathsetup, note that init.* is more than just PATH tweak > > RCS file: /cvsroot/fink/web/xml/faq/faq.en.xml,v > --- faq.en.xml 24 Jan 2005 20:57:39 -0000 1.42 > +++ faq.en.xml 1 Mar 2005 19:18:38 -0000 1.43 > @@ -588,17 +588,28 @@ > installed with Fink.</p> > </question> > <answer> > - <p>If this always happens, then you may have inadvertently modified (or failed to modify) your startup scripts. Run the > - <filename>/sw/bin/pathsetup.command</filename> script (either by > - double-clicking in the Finder or in a terminal), which will attempt to > - detect your startup configuration. You'll then need to open a new > - terminal session so that your environment settings are loaded. <em>Note:</em> for <code>fink-0.18.3</code> and <code>fink-0.19.2</code>, the script has been changed to <filename>/sw/bin/pathsetup.sh</filename>, and must be run in a terminal.</p> > + <p>If this always happens, then you may have inadvertently > + modified (or failed to modify) your startup scripts. Run the > + <filename>/sw/bin/pathsetup.sh</filename> script in a terminal > + window. This program will attempt to detect your default shell > + and add a command to load Fink's shell initialization script > + into your shell's configuration. You'll then need to open a > + new terminal session so that your environment settings are > + loaded. <em>Note:</em> Some older versions fink called this > + script <filename>pathsetup.command</filename> instead > + of <filename>pathsetup.sh</filename>. Alternately, you can run > + 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> > + <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 > + actions.</p> > </answer> > </faqentry> > <faqentry name="invisible-sw"> -- Daniel Macks dm...@ne... http://www.netspace.org/~dmacks |