Opened 15 years ago
Closed 15 years ago
#21208 closed defect (invalid)
Build fail on git-core
Reported by: | renehh@… | Owned by: | bryan@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Leopard | Cc: | maccheck@…, ryandesign (Ryan Carsten Schmidt) |
Port: | git-core |
Description
Hello,
I've been trying to install git-core, but it fails with error messages I'm not able to decipher. I think I might be missing some vital libraries, but I'm not sure how to fix it. This is the output of "sudo port -vc -d install git-core":
Attachments (1)
Change History (19)
comment:1 Changed 15 years ago by renehh@…
Cc: | renehh@… added |
---|
comment:2 follow-up: 3 Changed 15 years ago by mf2k (Frank Schima)
Cc: | maccheck@… added; renehh@… removed |
---|---|
Owner: | changed from macports-tickets@… to bryan@… |
What version of Xcode are you running?
comment:3 follow-up: 4 Changed 15 years ago by renehh@…
Replying to macsforever2000@…:
What version of Xcode are you running?
Currently running 3.1.2 and my installed gcc:
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Copyright (C) 2005 Free Software Foundation, Inc.
If that is of any relevance :)
comment:4 Changed 15 years ago by maccheck@…
Replying to renehh@…:
Currently running 3.1.2 and my installed gcc:
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Copyright (C) 2005 Free Software Foundation, Inc.
I have nearly the same installation (Xcode 3.1.3) but it works for me. I was able to build it on a clean Snow Leopard installation as well.
comment:5 follow-up: 6 Changed 15 years ago by blb@…
Just to make sure, if you have Xcode 3.1.2, you're using 10.5 right? If 10.6, you'd need to update to 3.2.
comment:6 Changed 15 years ago by renehh@…
Replying to blb@…:
Just to make sure, if you have Xcode 3.1.2, you're using 10.5 right? If 10.6, you'd need to update to 3.2.
Yes, I'm running Leopard 10.5.8 to be exact. I'll try upgrading XCode, see if it's the problem...
comment:7 Changed 15 years ago by renehh@…
Just downloaded the newest iPhone SDK with XCode 3.1.4. Still having the same problem...
comment:8 Changed 15 years ago by maccheck@…
Could you do a
sudo port clean --all git-core
and try it again, please?
I'm a little bit confused you see these LINK statements that early in the build process.
comment:9 Changed 15 years ago by renehh@…
I ran
sudo port clean --all git-core
And then tried installing againg:
sudo port -vc -d install git-core
No dice... Here's the output
comment:10 Changed 15 years ago by maccheck@…
The command line before the error looks a little bit odd because their is a line break right behind the cd
command. But I don't know if that may inject such an error.
Besides that odd newline I have the same command line parameters in the assembled command and it works flawless here. Do you have another git installation where MacPorts may try to use the libraries from? (Random guessing here)
comment:11 Changed 15 years ago by renehh@…
Yes, after it wouldn't compile, I proceeded to download the git-osx-installer from http://code.google.com/p/git-osx-installer/, I've removed it, ran "sudo port clean --all installed" and tried again, but same failure occures:
http://pastebin.com/f52a732ea
I tried to install the SPIM emulator and it complains similarly:
comment:12 Changed 15 years ago by maccheck@…
Okay, so it seems that it isn't a git-core specific issue but has something to do with your MacPorts and build tools installation. I have to admit that I don't have any clou how to deal with that besides removing MacPorts completely and trying to reinstall.
comment:13 Changed 15 years ago by renehh@…
I'll look into that as soon as I can. Only, I use a lot of the installed programs on a regular basis, so it might be awhile...
comment:14 follow-up: 15 Changed 15 years ago by david@…
I'm having this same problem on a Snow Leopard machine with a brand new MacPorts install. Interestingly, I'm also having this problem with graphviz.
comment:15 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Changed 15 years ago by david@…
Attachment: | git-corelog added |
---|
Results of sudo port -d install git-core failing on 10.6
comment:16 follow-up: 17 Changed 15 years ago by david@…
At least in my case, this was due to user error. I had a botched boost installation which had a regex.h file being detected before the system's, which was causing all this problem. Removing the offending file (in my case, from /usr/local/include) completely solved this problem.
comment:17 Changed 15 years ago by renehh@…
Inspiring. I did a find / -name regex.h and sure enough, I too had remnants of a past Boost installation. I nuked all Boost directories I could find and now, for the first time since I opened this ticket, I've actually been able to upgrade all my installed ports without fail.
comment:18 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Glad you got it working.
Cc Me!