Opened 12 years ago
Closed 12 years ago
#35454 closed defect (invalid)
expat: C compiler cannot create executables
Reported by: | potmj (Michael Pot) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.0 |
Keywords: | Cc: | ||
Port: | expat |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
expat @2.1.0 fails to build on 10.5.8, Xcode 3.1.4 - While trying to install gimp2
--disable-dependency-tracking is not supported, but seems to be requested somehow.
Google found this on the matter, but I'm not sure how it applies: http://lists.macosforge.org/pipermail/macports-dev/2009-September/009742.html
Attachments (2)
Change History (6)
Changed 12 years ago by potmj (Michael Pot)
Attachment: | expat_main.log added |
---|
Changed 12 years ago by potmj (Michael Pot)
Attachment: | expat_config.log added |
---|
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | --disable-dependency-tracking removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
Summary: | expat @2.1.0 fails to build on 10.5.8 Xcode 3.1.4 --disable-dependency-tracking → expat: C compiler cannot create executables |
comment:2 follow-up: 3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
This usually means you haven't installed Xcode properly. If you're sure you have, then please attach the config.log so we can investigate further. The config.log is located in the directory identified by the command
port work expat
.
Ah, I see you've already done this. Well, the config.log isn't very clear. It says:
can not open CC_PRINT_OPTIONS_FILE /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/.CC_PRINT_OPTIONS
But I'm not sure why that would be the case. The only possible clue is that the main.log says:
Skipping completed
This tells us this was not a clean build attempt. So please run sudo port clean expat
and try again.
comment:3 Changed 12 years ago by potmj (Michael Pot)
Replying to ryandesign@…:
Replying to ryandesign@…:
This usually means you haven't installed Xcode properly. If you're sure you have, then please attach the config.log so we can investigate further. The config.log is located in the directory identified by the command
port work expat
.Ah, I see you've already done this. Well, the config.log isn't very clear. It says:
can not open CC_PRINT_OPTIONS_FILE /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_expat/expat/work/.CC_PRINT_OPTIONSBut I'm not sure why that would be the case. The only possible clue is that the main.log says:
Skipping completedThis tells us this was not a clean build attempt. So please run
sudo port clean expat
and try again.
Fixed[[BR]]
Sorry, didn't think about trying "sudo port clean expat", duh.
I now remember that this fixed something for me once before.....
Many thanks:-)
comment:4 Changed 12 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
--disable-dependency-tracking
not being supported is only a warning; it is not the cause of the build failure.The cause of the build failure is this line in the log:
This usually means you haven't installed Xcode properly. If you're sure you have, then please attach the config.log so we can investigate further. The config.log is located in the directory identified by the command
port work expat
.