On 7/5/12 2:51 PM, Robert Johnson wrote: > Hi Alexander. > > I seem to have sed installed correctly as shown below when i run the "which > sed" command > > Robert-Johnsons-MacBook-Pro:~ Rob_MacPro$ which sed > /usr/local/bin/sed > > I have already tries to work around the update issue by trying commandline > "fink install sed" but I get pretty much the same errors as in the original > post. When i type "sed" i can access the sed package and the help files > appear. > > Thanks for your help on this, I can't work it out. > > Cheers > > Rob > >
I must have missed seeing where sed gets triggered in general builds. If you _only_ have /usr/local/bin/sed, then you're still possibly going to have problems, because fink doesn't use your PATH. Try type -a sed If /usr/bin/sed doesn't show up, then you're going to need _a_ /usr/bin/sed somehow. A few options are: 1) make a symbolic link from your /usr/local/bin/sed to /usr/bin/sed: cd /usr/bin sudo ln -s /usr/local/bin/sed 2) copy it sudo cp /usr/local/bin/sed /usr/bin 3) Copy it from another 10.6 machine Note that options 1) and 2) may give a /usr/bin/sed which uses different options than does Apple's. I don't know if this will cause any build problems in packages which explicitly use /usr/bin/sed. Fink assumes that the base system stuff in /usr hasn't been tampered with. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners