Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to compile in linux? (Read 13529 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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.

How to compile in linux?

Reply #1
I think you need to install the program m4.

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

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.

 

How to compile in linux?

Reply #4
aptitude build-dep <package>

will also install needed compilation tools like build ess