About Fink

J.Lee

OSNN Junior Addict
#1
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:
system-xfree86
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 4.3.99.16-2 [2792kB]
Get:2 http://us.dl.sourceforge.net 10.3/current/main xfree86 4.3.99.16-2 [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.
 

J.Lee

OSNN Junior Addict
#2
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!
 

SPeedY_B

I may actually be insane.
#3
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?
 

SPeedY_B

I may actually be insane.
#5
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..
Code:
[213:~] davidker% su
Password:
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.
 

J.Lee

OSNN Junior Addict
#6
Thanks!I had tried what u had tole me to do .But it still don't works:
keiraimato:~ keirai$ su
Password:
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?
 

SPeedY_B

I may actually be insane.
#7
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.
 

J.Lee

OSNN Junior Addict
#9
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"?
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,970
Messages
673,297
Members
89,016
Latest member
Poseeut