Mc

From Genunix

mc - An advanced music player

Contents

Rating

4 points (out of 4)

Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:

  • Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
  • Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
  • Minus 1 if a minor patch is required, or
  • Minus 2 if a major patch(es) is required

How to build mc-4.6.1 on Solaris Express

Build Environment (platform, compiler, tools, PATH, ld)

Configure and compile steps (on x86 hardware)

/usr/bin/gzip -dc mc-4.6.1.tar.gz | /usr/sfw/bin/gtar xf -

cd mc-4.6.1


export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect"

# I punted on building w/ nls and charset enabled. IOW, this
# spec file is in need of someone to give it some proper TLC.

./configure --prefix=/usr  \
            --mandir=/usr/share/man \
            --disable-nls  \
            --disable-charset

make

Other configure options

output of ./configure --help

Directory paths that mc installs to

bin
share/man/man1
share/mc
share/mc/bin
share/mc/extfs
share/mc/syntax

Other 3rd party software mc requires

(none)