Richard Nelson wrote:
[]
> Here is where I get into really deep water. About this stuff I know
> nothing, but here goes.
>
> Here is my $PATH (in terminal I typed echo $PATH):
>
> /Library/Frameworks/Python.framework/Versions/Current/bin:/sw/bin:/sw/sbi
> n:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin
> :/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin
>
> Here is my .profile (I typed open .profile):
>
> . /sw/bin/init.sh
> . /sw/bin/init.sh
This shows you did this by hand. The automatic procedure fron Fink's
pathsetup.sh would have done it slightly differently (first checked
whether /sw/bin/init.sh exists, so that your startup script doesn't fail
when Fink is removed).
You don't need it twice, of course, but it is basically OK.
> export PATH=/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:$PATH
OK if you want to mix Fink and Macports, with Fink coming first.
> export DISPLAY=:0
On Leopard, this is *bad*. This is the line that prevents your X11 from
starting up automatically. In this blunt form, it was even bad on Tiger
already. It should at least look if DISPLAY is already set to some other
value.
On Leopard, it is important that you remove this line.
> export EDITOR=/usr/bin/pico
> # Setting PATH for MacPython 2.5
> # The orginal version is saved in .profile.pysave
> PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
> export PATH
>
> And finally here is my .bashrc:
>
> . /sw/bin/init.sh
> # The following line sets-up the prompt
> # when you change dirs it lets you know were you are
> export PS1='\h \w $ '
> # The following lines alter the way ls prints its output
> export LS_OPTIONS="-G -F -b -T"
> alias ls='/bin/ls $LS_OPTIONS '
> # The following line allows you to use 'dir' like a dos window
> alias dir='/bin/ls --format=vertical'
> # The following sets-up useful paths
> export
> PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
In my book, ~/.bashrc is not the place where you set PATH. But if you do
it, put at least /usr/X11/bin at the end.
--
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users