Installed Macports : Keep getting an error message " sudo: port: command not found: and if I follow instructions from read folder - " make " not valid command any ideas how to proceed - figure with the performance of Transmnission of late - more Mac users will be looking to Deluge - maybe together we could settle a simple install
Hey there...just went through this myself.
Short answer: add this to your .profile:
I am going to write this as if you might not know unix well. My apologies if you do.
First, make sure you have the proper Xtools installed. I would guess that you do, if you have macports installed, but if you don't...(if you are running 10.5, it is xcode 3, if you are running 10.4 it will be 2.5).
the xcode and tools can be downloaded for free from the apple developer site:http://developer.apple.com/tools/xcode/index.html
Or much easier, go find your original DVD that came with your mac! (or your newest OS install DVD). It is on there. You will need to install the XCODE tools. This is pretty easy to find. You will also need to install X11 user and X11 SDK. You may have to hunt around on the DVD for these, but both of these packages should be there. Ok, done? good.
You will have to have an admin password, of course.
Now that you have these, there is one more thing to do. open up a terminal window. When you open it up, it should be in your home directory. how to find out? type pwd at the prompt.
You should get a return of: /Users/username. If so, great!
Now, do an ls -al. you may have to scroll up, but we are looking for a file called ".profile" Yes, that is a period at the beginning. (which hides the file from normal view). If it is not there, no big deal. We will make it. if it is, it is really the same procedure! Ok, this will involve a little vi.
(if the file exists, this will open it. If it doesn't, when we put something into it and save it, we will create it. I am going to assume it doesn't exist, because it doesn't by default.)
You will be at the top of the file, and it is empty (ignore the ~ signs.) Now, hit escape, this will put you into command mode. Now type: i (that is, lower case letter "i").
and paste this into your file:
Those should come out as 2 separate lines.
Now, hit escape, and type:
That is colon, the letter "x" and hit enter.
This will save and create your file, and exit you out of vi back to a prompt.
NOW port is in your path. I would quit terminal and start again, and then your "sudo port selfupdate" and so forth should work.
This worked for me...to a point. The install deluge kicked off fine, but has been stuck at
---> Building boost with target all
for about 20 minutes. we will see what happens from here...