About Fink


OSNN Junior Addict
28 Feb 2004
I want to install Gimp and I try to use Fink to install it,but it failed.
error info:
Can't exec "/usr/bin/nm": No such file or directory at /sw/lib/perl5/Fink/VirtPackage.pm line 234.
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
aalib aalib-bin aalib-shlibs gimp-shlibs libjpeg-shlibs libmpeg-shlibs
libpng3-shlibs libtiff-shlibs xfree86 xfree86-shlibs
The following packages will be REMOVED:
The following NEW packages will be installed:
aalib aalib-bin aalib-shlibs gimp gimp-shlibs libjpeg-shlibs libmpeg-shlibs
libpng3-shlibs libtiff-shlibs xfree86 xfree86-shlibs
0 packages upgraded, 11 newly installed, 1 to remove and 12 not upgraded.
Need to get 60.9MB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n]
Get:1 http://us.dl.sourceforge.net 10.3/current/main xfree86-shlibs [2792kB]
Get:2 http://us.dl.sourceforge.net 10.3/current/main xfree86 [48.8MB]
Get:3 http://us.dl.sourceforge.net 10.3/current/main aalib-shlibs 1.4rc5-22 [87.9kB]
Get:4 http://us.dl.sourceforge.net 10.3/current/main aalib-bin 1.4rc5-22 [64.4kB]
Get:5 http://us.dl.sourceforge.net 10.3/current/main aalib 1.4rc5-22 [115kB]
Get:6 http://us.dl.sourceforge.net 10.3/release/main libpng3-shlibs 1.2.5-4 [202kB]
Get:7 http://us.dl.sourceforge.net 10.3/release/main libjpeg-shlibs 6b-6 [70.5kB]
Get:8 http://us.dl.sourceforge.net 10.3/release/main libtiff-shlibs 3.5.7-7 [179kB]
Get:9 http://us.dl.sourceforge.net 10.3/release/main libmpeg-shlibs 1.3.1-6 [41.4kB]
Get:10 http://us.dl.sourceforge.net 10.3/current/main gimp-shlibs 1.2.5-1 [4787kB]
Get:11 http://us.dl.sourceforge.net 10.3/current/main gimp 1.2.5-1 [3759kB]
Fetched 60.9MB in 6m47s (150kB/s)
Can't exec "/usr/bin/nm": No such file or directory at /sw/lib/perl5/Fink/VirtPackage.pm line 234.
dpkg - warning: ignoring request to remove system-xfree86 which isn't installed.
Can't exec "/usr/bin/nm": No such file or directory at /sw/lib/perl5/Fink/VirtPackage.pm line 234.
Selecting previously deselected package xfree86-shlibs.
(Reading database ... 3927 files and directories currently installed.)
Unpacking xfree86-shlibs (from .../xfree86-shlibs_4.3.99.16-2_darwin-powerpc.deb) ...

You have an existing X11 installation in /usr/X11R6/lib.
This package refuses to overwrite these. Remove them, then tell Fink to
install xfree86-shlibs again. (The package won't be recompiled.)

Press Return to continue.
Then I tried again,error.....
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

So I type dpkg --configure -a in terminal windows,but ...
keiraimato:~ keirai$ dpkg --configure -a
Can't exec "/usr/bin/nm": No such file or directory at /sw/lib/perl5/Fink/VirtPackage.pm line 234.
dpkg: requested operation requires superuser privilege
keiraimato:~ keirai$

Please help me!
Only ever tried Fink once and couldn't really get my head around it, so it was promptly removed.

However, relating to the dpkg error, are you using "su" to login as root before running the command?
SU? My login account keirai was the adimn.Is it the root user?
Nope, it's a normal user. You need to enable your root account.

Hop into your Applications Folder
Then the Utilities Folder
Open up "NetInfo Manager"
Click Security->Authenticate
Enter your user password when prompted.
Now click Security->Enable root user.
You will then be prompted for a password, make it something secure.

Now hop into a terminal and type "su", type the root password, and voilla, you're now running things as root.

Should look like so..
[213:~] davidker% su
213:/Users/davidkerry root#
Once you've done what you've got to do, I'd recommend going back to NetInfo Manager and disabling the root account, as it doesn't really need to be activated when you're not using it.
Thanks!I had tried what u had tole me to do .But it still don't works:
keiraimato:~ keirai$ su
keiraimato:/Users/keirai root# dpkg --configure -a
Can't exec "/usr/bin/nm": No such file or directory at /sw/lib/perl5/Fink/VirtPackage.pm line 234.
keiraimato:/Users/keirai root#

Any ideas?
It appears to be looking for /usr/bin/nm. Had a quick look round and it seems that this error is not important and can be ignored.. apparently anyway. Like I say, I don't use fink so I can't really be much help with this one. I'd recommend giving google a go to see if there's anyone else with similar problems.
SpeedY_B,it is so strange!I can use fink to install wget.I don't know what happened when I tryied to install Gimp.May be I need nm?What is "nm"?
Apparently it's something to do with developer tools (should be on your OS install CD/DVD) and isn't important.

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Latest member