Opened 10 years ago
Closed 7 years ago
#46771 closed defect (invalid)
mhash @0.9.9.9 Build error
Reported by: | erik@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | tiger legacy-os | Cc: | |
Port: | mhash |
Description
OS X Tiger 10.4.11
Fresh install of
xcode25_8m2558_developerdvd.dmg
MacPorts 2.3.3
port selfupdate port install php56 . . :error:build Failed to install mhash :debug:build could not read "/opt/local/share/man/man3/libxml.3.gz": no such file or directory port install libxml port clean mhash port install mhash
Failed with error I don't understand
Log attached
Attachments (1)
Change History (6)
Changed 10 years ago by erik@…
comment:1 Changed 10 years ago by erik@…
comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | mhash added |
comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)
:info:build /usr/bin/ld: unknown flag: -compatibility_version
comment:4 Changed 7 years ago by raimue (Rainer Müller)
Keywords: | tiger legacy-os added |
---|
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
You're using /usr/bin/ld... this implies you haven't installed the ld64 port which would provide /opt/local/bin/ld which would have been used instead and which would have understood the -compatibility_version
flag. This implies you are using the apple-gcc42 port with its +bootstrap variant, since if you were not, ld64 would have been a dependency of it. So the solution is to reinstall apple-gcc42 without the +bootstrap variant. When you originally installed the apple-gcc42 port with the +bootstrap variant, it should have printed a note telling you to do that, but I know it's easy to overlook those notes, especially if many other ports' notes were printed at the same time.
Apologies for incomplete bug report. Clicked cancel at upload attachment when I realized it, but ticket was already created:(