24 Jun 2011 01:41
Cannot setup macports, error on Xcode binaries
Dan-George Filimon <dangeorge.filimon <at> gmail.com>
2011-06-23 23:41:29 GMT
2011-06-23 23:41:29 GMT
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.
---> 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
<div> <p>Please help:</p> <div> <br><div> <div>$sudo port install guile</div> <div><br></div> <div>Warning: xcodebuild exists but failed to execute</div> <div><br></div> <div>Warning: Xcode does not appear to be installed; most ports will likely fail to build.</div> <div><br></div> <div>---> 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?</div> </div> <div><br></div> <div>--- --- ---</div> <div>I've added the Xcode binaries to my .profile but it still doesn't work.</div> <div>Invoking gcc/make/... from the command line works as normal :)</div> <div><br></div> <div>Thanks a lot,</div> <div>Dan</div> </div> </div>
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
RSS Feed