Libsndfile
From Genunix
libsndfile
- A library for reading and writing sound files
Contents |
[edit]
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
[edit]
How to build libsndfile-1.0.16 on Solaris Express
[edit]
Build Environment (platform, compiler, tools, PATH, ld)
[edit]
Configure and compile steps (on x86 hardware)
/usr/bin/gzip -dc libsndfile-1.0.16.tar.gz | /usr/sfw/bin/gtar xf -
cd libsndfile-1.0.16
export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
export MSGFMT="/usr/bin/msgfmt"
./configure --prefix=/usr --mandir=/usr/share/man \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--enable-shared \
--disable-static
make
[edit]
Other configure options
[edit]
Directory paths that libsndfile installs to
bin include lib lib/pkgconfig share/doc/libsndfile1-dev/html share/man/man1 share/octave/site/m
[edit]
Other 3rd party software libsndfile requires
(none)
