why can't macports find make
- by GeoffreyF67
I am trying to run macports like thus:
port install php5
When I do so, however, I get this error:
Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
So I looked at my path:
declare -x PATH="/Developer/usr/bin:/opt/subversion/bin:/opt/local/bin:/opt/local/sbin:/usr/local/php5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
and then looked to make sure make was in one of those dirs:
ls -l /Developer/usr/bin/make
$ lrwxr-xr-x 1 root admin 7 Aug 7 16:47 /Developer/usr/bin/make -> gnumake
And typing:
make
produces:
make: *** No targets specified and no makefile found. Stop.
So I know that it's there.
But macports can't find it. Any ideas?
G-Man