Opened 5 years ago

Last modified 5 years ago

#59205 new defect

failed to build pth under macOS 10.4.11 — at Version 4

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 :-)

Change History (5)

Changed 5 years ago by dzhub

Attachment: pth-main.log added

comment:1 Changed 5 years ago by kencu (Ken)

please try this:

sudo port clean pth
sudo port -v install cctools
sudo port -v install ld64

and then

sudo port -v install pth

and report back, with another log if it fails again.

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
Note: See TracTickets for help on using tickets.