Skip to main content

Topic: How to compile in linux? (Read 11160 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • spitf1r3
  • [*]
How to compile in linux?
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.

  • Speek
  • [*][*][*][*]
How to compile in linux?
Reply #1
I think you need to install the program m4.

  • xmixahlx
  • [*][*][*][*][*]
How to compile in linux?
Reply #2
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

  • PaJaRo
  • [*][*][*]
How to compile in linux?
Reply #3
It will only work on debian, and distros based on it

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.

  • shadowking
  • [*][*][*][*][*]
How to compile in linux?
Reply #4
aptitude build-dep <package>

will also install needed compilation tools like build ess
wavpack -b4x4s1c