Hello,

I modified the /sw/bin/init.sh to add /usr/local/bin to the path.  That allowed 
it to find sed.  That problem is solved.  Thanks.

Now there seems to be a problem with bzip2, see below

If you think I'm better off uninstalling fink and starting fresh I can do that.

Cheers,
Francis

You can also do "bzip2 --help" to see some helpful information. 
"bzip2 -L" displays the software license.

/bin/rm -rf /sw/src/fink.build/root-bzip2-1.0.6-1
/bin/mkdir -p /sw/src/fink.build/root-bzip2-1.0.6-1/sw
/bin/mkdir -p /sw/src/fink.build/root-bzip2-1.0.6-1/DEBIAN
/usr/sbin/chown -R root:admin /sw/src/fink.build/root-bzip2-1.0.6-1
make install PREFIX=/sw/src/fink.build/root-bzip2-1.0.6-1/sw
if ( test ! -d /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin ) ; then mkdir -p 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin ; fi
if ( test ! -d /sw/src/fink.build/root-bzip2-1.0.6-1/sw/lib ) ; then mkdir -p 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/lib ; fi
if ( test ! -d /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man ) ; then mkdir -p 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/man ; fi
if ( test ! -d /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1 ) ; then mkdir 
-p /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1 ; fi
if ( test ! -d /sw/src/fink.build/root-bzip2-1.0.6-1/sw/include ) ; then mkdir 
-p /sw/src/fink.build/root-bzip2-1.0.6-1/sw/include ; fi
cp -f bzip2 /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzip2
cp -f bzip2 /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bunzip2
cp -f bzip2 /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzcat
cp -f bzip2recover /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzip2recover
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzip2
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bunzip2
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzcat
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzip2recover
cp -f bzip2.1 /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1
chmod a+r /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzip2.1
cp -f bzlib.h /sw/src/fink.build/root-bzip2-1.0.6-1/sw/include
chmod a+r /sw/src/fink.build/root-bzip2-1.0.6-1/sw/include/bzlib.h
cp -f libbz2.a /sw/src/fink.build/root-bzip2-1.0.6-1/sw/lib
chmod a+r /sw/src/fink.build/root-bzip2-1.0.6-1/sw/lib/libbz2.a
cp -f bzgrep /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzgrep
ln -s -f /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzgrep 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzegrep
ln -s -f /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzgrep 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzfgrep
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzgrep
cp -f bzmore /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzmore
ln -s -f /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzmore 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzless
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzmore
cp -f bzdiff /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzdiff
ln -s -f /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzdiff 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzcmp
chmod a+x /sw/src/fink.build/root-bzip2-1.0.6-1/sw/bin/bzdiff
cp -f bzgrep.1 bzmore.1 bzdiff.1 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1
chmod a+r /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzgrep.1
chmod a+r /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzmore.1
chmod a+r /sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzdiff.1
echo ".so man1/bzgrep.1" > 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzegrep.1
echo ".so man1/bzgrep.1" > 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzfgrep.1
echo ".so man1/bzmore.1" > 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzless.1
echo ".so man1/bzdiff.1" > 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/man/man1/bzcmp.1
/usr/bin/install -d -m 700 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/doc/bzip2
/bin/cp -r LICENSE /sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/doc/bzip2/
/bin/cp -r README /sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/doc/bzip2/
/bin/cp -r CHANGES /sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/doc/bzip2/
/bin/cp -r manual*.html 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/doc/bzip2/
/bin/chmod -R go=u-w /sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/doc/bzip2
/bin/rm -f /sw/src/fink.build/root-bzip2-1.0.6-1/sw/info/dir 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/info/dir.old 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/info/dir 
/sw/src/fink.build/root-bzip2-1.0.6-1/sw/share/info/dir.old
/bin/rm -rf /sw/src/fink.build/root-bzip2-shlibs-1.0.6-1
/bin/mkdir -p /sw/src/fink.build/root-bzip2-shlibs-1.0.6-1/sw
/bin/mkdir -p /sw/src/fink.build/root-bzip2-shlibs-1.0.6-1/DEBIAN
/usr/sbin/chown -R root:admin /sw/src/fink.build/root-bzip2-shlibs-1.0.6-1
/usr/bin/install -d -m 755 /sw/src/fink.build/root-bzip2-shlibs-1.0.6-1/sw/lib
/bin/mv /sw/src/fink.build/root-bzip2-1.0.6-1/sw/lib/libbz2.*.dylib 
/sw/src/fink.build/root-bzip2-shlibs-1.0.6-1/sw/lib/
mv: rename /sw/src/fink.build/root-bzip2-1.0.6-1/sw/lib/libbz2.*.dylib to 
/sw/src/fink.build/root-bzip2-shlibs-1.0.6-1/sw/lib/libbz2.*.dylib: No such 
file or directory
### execution of /bin/mv failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-bzip2-1.0.6-1
(Reading database ... 7690 files and directories currently installed.)
Removing fink-buildlock-bzip2-1.0.6-1 ...
Failed: phase installing: bzip2-shlibs-1.0.6-1 failed

On 2011-01-13, at 7:44 PM, Robert Wyatt wrote:

> /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

Reply via email to