/usr/bin is in your path as it should be. As Alexander mentioned you will need to deal with why your sed isn't there.
Francis Poulin wrote: > Hello, > > Thanks. You are right that /user/local/bin is not in the path. How do I add > it to the path? If this is difficult I can always create a link in /usr/bin. > > Information about 4394 packages read in 1 seconds. > PATH=/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin > > Thanks, > Francis > > On 2011-01-13, at 7:13 PM, Alexander Hansen wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 1/13/11 6:26 PM, Francis Poulin wrote: >>> Hello, >>> >>> Thanks for the quick reply. Actually, sed is installed but in a slightly >>> different location. When I type which sed I get >>> >>> /usr/local/bin/sed >> >> That didn't come with your system. If you got rid of /usr/bin/sed, a >> number of Fink packages won't work, because they explicitly rely on it. >> >> That being said, the script line in question just wants the first 'sed' >> in the PATH. (see below) >> >>> >>> I think the problem is with my path. >> >> Possibly--more likely the system's PATH setting. fink doesn't apply >> user environment settings when operating. >> >>> >>> When I bought my Mac it came with bash, I changed it to cshrc and recently >>> changed it back to bash. I only did this because everyone says this is the >>> better way to go. >> >> It shouldn't really matter here. >> >>> >>> Anyhow, I created a .bashrc file but it's not executed when I open terminal. >> >> If you have a .profile or .bash_profile, they will override your .bashrc >> . Check for those. >> >> That's why originally it doesn't even find fink. I do add /sw/bin in my >> bashrc shell and when I source it it finds fink. >>> >>> I wonder if for some reason the path needs to be modified for root? >> >> Try "fink dumpinfo -ePATH fink" and that will show what the PATH is that >> fink is using when it updates itself. >> >> >>> >>> I wish I would revert terminal to the original settings but not sure how to >>> do that. >>> >>> Sorry for being so confused but any help would be appreciated. >>> >>> Cheers, Francis >>> >> >> >> - -- >> Alexander Hansen, Ph.D. >> Fink User Liaison >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.11 (Darwin) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAk0vlTwACgkQB8UpO3rKjQ+VEACcCfI+VqBHd+8Ug3+VYTv94Oye >> TD0AniIR4aV0ANgoYqitKJeaXgYD5kg1 >> =YveN >> -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Fink-beginners mailing list > [email protected] > http://news.gmane.org/gmane.os.apple.fink.beginners ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
