PDA

View Full Version : dumb?


didde
03-19-2002, 03:45 AM
Hello!

I have just installed Fink through their package. When I'm in dselect and try to run the "install" option it says it cannot find the "apt-config" program. Ok, so I exit dselect and try to run "sudo apt-config" from the terminal and it does not work at all. Finally I figured out that I could run the app if I used: "./apt-config" instead...

It seems to be some kind of problem with Fink not being "global".. Meaning I have to be inside the /sw/bin/ to run the apps and have to prefix them with "./".

How can I fix this? I am no *nix pro as you probably can tell :mad:

//dd.

mervTormel
03-19-2002, 09:44 AM
sounds like your PATH variable is lacking...

the Fink ReadMe.rtf says (if you're running the stock OSX shell, tcsh) to put the following in your ~/.cshrc file:

source /sw/bin/init.csh


that should supplement your PATH variable with the paths to the fink /sw world with subsequent shell launches:

$ echo $PATH
/sw/bin:/sw/sbin:/Users/merv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin

sao
03-19-2002, 10:19 AM
dumb...?

Please, even if you are an absolute beginner it's important after any installation, to at least read the documentation on how to set up your environment :

http://fink.sourceforge.net/doc/users-guide/install.php#setup

Cheers...