HydrogenAudio

Lossy Audio Compression => MPC => Topic started by: spitf1r3 on 2008-11-28 23:49:39

Title: How to compile in linux?
Post by: spitf1r3 on 2008-11-28 23:49:39
I need to compile libmpcdec to be able to decode SV8 files under linux, can anyone tell me what I need to do?

Quote
trunk $ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:  `/usr/share/aclocal/libtool.m4'
libtoolize:  `/usr/share/aclocal/ltoptions.m4'
libtoolize:  `/usr/share/aclocal/ltversion.m4'
libtoolize:  `/usr/share/aclocal/ltsugar.m4'
libtoolize:  `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:7: installing `config/config.guess'
configure.ac:7: installing `config/config.sub'
configure.ac:4: installing `config/install-sh'
configure.ac:4: installing `config/missing'
src/Makefile.am: installing `config/depcomp'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am:  The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am:  to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am: C+trunk $ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:  `/usr/share/aclocal/libtool.m4'
libtoolize:  `/usr/share/aclocal/ltoptions.m4'
libtoolize:  `/usr/share/aclocal/ltversion.m4'
libtoolize:  `/usr/share/aclocal/ltsugar.m4'
libtoolize:  `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:7: installing `config/config.guess'
configure.ac:7: installing `config/config.sub'
configure.ac:4: installing `config/install-sh'
configure.ac:4: installing `config/missing'
src/Makefile.am: installing `config/depcomp'
/usr/share/automake-1.10/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.10/am/depend2.am:  The usual way to define `am__fastdepCXX' is to add `AC_PROG_CXX'
/usr/share/automake-1.10/am/depend2.am:  to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am: C++ source seen but `CXX' is undefined
src/Makefile.am:  The usual way to define `CXX' is to add `AC_PROG_CXX'
src/Makefile.am:  to `configure.ac' and run `autoconf' again.
+ source seen but `CXX' is undefined
src/Makefile.am:  The usual way to define `CXX' is to add `AC_PROG_CXX'
src/Makefile.am:  to `configure.ac' and run `autoconf' again.
Title: How to compile in linux?
Post by: Speek on 2008-11-29 16:15:10
I think you need to install the program m4.
Title: How to compile in linux?
Post by: xmixahlx on 2008-11-30 04:47:03
on a debian distro the package "build-essential" will resolve all you need.

if you aren't on debian, your distro probably has something similar.


later
Title: How to compile in linux?
Post by: PaJaRo on 2008-12-04 13:11:46
It will only work on debian, and distros based on it (http://www.debian.org/misc/children-distros)

aptitude build-depends or build-dep  <packages>
          Satisfy the build-dependencies of a package. Each package name may
          be a source package, in which case the build dependencies of that
          source package are installed; otherwise, binary packages are found
          in the same way as for the “install” command, and the
          build-dependencies of the source packages that build those binary
          packages are satisfied.
Title: How to compile in linux?
Post by: shadowking on 2008-12-04 13:57:05
aptitude build-dep <package>

will also install needed compilation tools like build ess