Opened 5 years ago
Last modified 5 years ago
#59205 new defect
failed to build pth under macOS 10.4.11
Reported by: | dzhub | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.1 |
Keywords: | Cc: | ||
Port: | pth |
Description (last modified by mf2k (Frank Schima))
While trying to "upgrade outdated" after "port selfupdate" I got this error:
/usr/bin/ld: unknown flag: -compatibility_version
Is there something I can do about it?
Thanks for any help :-)
Attachments (1)
Change History (7)
Changed 5 years ago by dzhub
Attachment: | pth-main.log added |
---|
comment:1 Changed 5 years ago by kencu (Ken)
comment:2 Changed 5 years ago by kencu (Ken)
Although you do need to do those things I mentioned, and to make sure that you followed the instructions to install the compiler apple-gcc42
with the -bootstrap
variant, even after doing that, you may have issues:
:info:build ./libtool --mode=link --quiet /opt/local/bin/gcc-apple-4.2 -o libpth.la pth_debug.lo pth_ring.lo pth_pqueue.lo pth_time.lo pth_errno.lo pth_mctx.lo pth_uctx.lo pth_tcb.lo pth_sched.lo pth_attr.lo pth_lib.lo pth_event.lo pth_data.lo pth_clean.lo pth_cancel.lo pth_msg.lo pth_sync.lo pth_fork.lo pth_util.lo pth_high.lo pth_syscall.lo pth_ext.lo pth_compat.lo pth_string.lo \ 392 :info:build -rpath /opt/local/lib -version-info `./shtool version -lc -dlibtool pth_vers.c`
the link want to use -rpath
, which Tiger's linker doesn't support.
I'm working on that issue...
comment:3 Changed 5 years ago by mf2k (Frank Schima)
The Milestone field is for use by Macports team members only, please do not set it.
In the future, please use WikiFormatting.
comment:4 Changed 5 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Milestone: | MacPorts 2.7.0 |
comment:5 Changed 5 years ago by jmroot (Joshua Root)
Might benefit from autoreconf, given that upstream last updated in 2006.
comment:6 Changed 5 years ago by dzhub
Sorry to reply only today -- it seems, this has worked on my machine:
sudo port clean pth sudo port -v install cctools sudo port -v install ld64
But after that MacPorts automatically startet to rebuild a bunch of broken ports, and is still rebuilding. I dont recall all of them, but it seems, it managed to compile and install libgcc7.4 for the first time on my machine. Now, the system is compiling and installing libgcc6.5...
All looks well for now, and much better than expected... :-)
please try this:
and then
and report back, with another log if it fails again.