#27820 closed defect (invalid)
Problem with installing libxml2 with non-functional xcodebuild
Reported by: | konstantinkrut@… | Owned by: | 0xced (Cédric Luthi) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | libxml2 |
Description
If I do
sudo port install libxml2
answer is
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 libxml2Error: 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? To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (11)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | libxml2 removed |
---|---|
Owner: | changed from macports-tickets@… to cedric.luthi@… |
Port: | libxml2 added |
Summary: | Problem with installing libxml2 → Problem with installing libxml2 with non-functional xcodebuild |
comment:2 Changed 14 years ago by konstantinkrut@…
I actually have it fully installed and working. Can we make more detail diagnostic? Thanks.
comment:3 Changed 14 years ago by jmroot (Joshua Root)
So /usr/bin/xcodebuild and /usr/bin/make exist and work for you outside of MacPorts?
comment:4 follow-up: 8 Changed 14 years ago by konstantinkrut@…
Hm. Don`t know how to check if that works but both of them are existing.
comment:7 Changed 14 years ago by konstantinkrut@…
Sorry, I have tried to install libxslt. The same problem.
comment:8 Changed 14 years ago by jmroot (Joshua Root)
Replying to konstantinkrut@…:
Hm. Don`t know how to check if that works but both of them are existing.
This will serve as a basic check that they can execute at all:
/usr/bin/make -v /usr/bin/xcodebuild -version
While you're at it, you might as well show us the output of:
port version uname -a sw_vers
comment:9 Changed 14 years ago by konstantinkrut@…
The output was that I dont have Xcode installed. I decided to reinstall and that resolved the problem. It turned to be that I didn
t have "UNIX Development" installed. There is an option during Xcode installation.
Thanks for your help!
comment:10 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:11 Changed 13 years ago by robertoschwald (Robert Oschwald)
Just to add additional info:
If you have installed Xcode 4.2.x and the unix command line tools but still receive the error message:
/usr/bin/xcodebuild -version Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path.
Then you need to switch manually to the new Xcode install dir in /Applications:
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app
Please remember to fill in the Port field and cc the maintainer.
As the error message says, you don't appear to have a complete Xcode install. This is required as per the install page.