[MacPorts] #56463: htop: compiler on older systems
MacPorts
noreply at macports.org
Fri May 11 05:31:01 UTC 2018
#56463: htop: compiler on older systems
--------------------+--------------------
Reporter: iEFdev | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.4
Keywords: Lion | Port: htop
--------------------+--------------------
When installing `htop` on older systems (like my Lion), the bundled
compiler creates a version where no processes are shown in the window. The
bundled version of `gcc` is 4.2. If I test to build it manually using a
newer version of `gcc` it works fine (I tested with gcc5 and gcc7), and
when using the bundled version to mimic MP - it fails.
// To reproduce:
{{{
# cd cloned repo or src dir from gh-tarball
autogen.sh
./configure CC=/usr/bin/gcc # to mimic mp
make
./htop # nope
make clean
./configure CC=gcc # /opt/local/bin/gcc-mp-{5,7}
make
./htop # yes
}}}
I guess the Portfile needs another compiler version to use instead of ther
bundled one, but I don't know what min version it would need. I just tried
with the 2 I have installed.
// Perhaps more systems are affected?
--
Ticket URL: <https://trac.macports.org/ticket/56463>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list