[MacPorts] #66639: ruby31 3.1.3: fails to build on OS X 10.8 and 10.9
MacPorts
noreply at macports.org
Sat Jan 7 01:51:51 UTC 2023
#66639: ruby31 3.1.3: fails to build on OS X 10.8 and 10.9
---------------------+-------------------------------------
Reporter: erikbs | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: mountainlion, mavericks
Port: ruby31 |
---------------------+-------------------------------------
Comment (by erikbs):
When building from source outside Macports I had to apply two patches
manually:
* Add -framework Security to Makefile
* Change MAP_ANONYMOUS to MAP_ANON in yjit_asm.c
I have no reason to believe that any of these changes affect the final
result. There are a few compiler errors that prevent the build from
succeeding, but that is not relevant here. The important thing is that it
gets past the Makefile issue.
I configured with `CC=clang ./configure --enable-shared --enable-install-
static-library --disable-install-doc --mandir="/opt/local/share/man"
--enable-pthread --without-gmp --with-opt-dir="/opt/local" --program-
suffix=31 --with-rubyhdrdir=/opt/local/include/ruby-31 --with-ruby-
libprefix=/opt/local/lib/ruby31 --with-openssl-dir=/opt/local --without-
baseruby`, applied the patches mentioned above and built with `make -j16`.
I will attach that log as well for comparison.
--
Ticket URL: <https://trac.macports.org/ticket/66639#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list