Cannot setup macports, error on Xcode binaries

Bjarne D Mathiesen macintosh at mathiesen.info
Thu Jun 23 17:29:51 PDT 2011


Dan-George Filimon wrote:
> Please help:
> 
> $sudo port install guile
> 
> Warning: xcodebuild exists but failed to execute
> 
> Warning: Xcode does not appear to be installed; most ports will likely
> fail to build.

I had the exact same problem this morning :-(

Nothing I did seemed to fix the problem:
1) reinstall XCode4 both on top of the existing install
   as well as re-installing from scratch
2) making _really_ sure that ${PATH} is correct
3) trying to set the full ${PATH} in
   /opt/local/etc/macports/macports.conf
3) re-install of the port binary
   on top of my existing install of macports

I'm sure my problem was caused by re-installing Mac OS X 10.6.7 on top
of an existing 10.6.7 as I had gotten a corrupt install of Mac OS X by
doing an rsync between some directories between two computers

However, I finally resorted to re-installing everything from the ground
up !!! This had the advantage of me finding some bugs in some of my
customised Portfiles ;-)

> 
> --->  Computing dependencies for guileError: Unable to execute 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?
> 
> --- --- ---
> I've added the Xcode binaries to my .profile but it still doesn't work.
> Invoking gcc/make/... from the command line works as normal :)
> 
> Thanks a lot,
> Dan


-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.6.7 Snow Leopard ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
                                       http://webadmin.mathiesen.info/


More information about the macports-users mailing list