Stable: 2.5.2
Development: 2.6-alpha3
Got this error:
/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.in' and run `aclocal' and `autoconf' again.
decoder_plugins/sidplay2/Makefile.am: C++ source seen but `CXX' is undefined
decoder_plugins/sidplay2/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX'
decoder_plugins/sidplay2/Makefile.am: to `configure.in' and run `autoconf' again.
+ '[' 1 '!=' 0 ']'
+ cat
If you see errors it maight be necassary to install additional packages like
autoconf >= 2.60
automake >= 1.9
libltdl (libltdl3-dev debian package)
and all -devel packages mentioned in the README file
2.5.0-alpha3 compiles without problems. ArchLinux, libtool 2.2 WITH libltdl.
StormBlast
Sat, 2008-03-29 06:04
Permalink
Add AC_PROG_CXX to
Add AC_PROG_CXX to configure.in. Autogen and configure scripts finished ok, but when I try to make it still fails:
ohnobinki
Mon, 2008-10-20 01:41
Permalink
Libtool and missing echo command
This problem happens when the m4/libtool.m4 and m4/lt* macros are from libtool-2.* and your system has libtool-1.5* on it. To fix this, you must run "rm m4/{libtool,lt*}.m4". Then, you must rerun "autoreconf -fvi", and then run "./configure", and then run make. I had this same problem with clamav-0.94.1rc1.
The most "direct" cause of this problem is found in the libtool script on the lines mentioned in the errors you listed:
../../libtool: line 765: X--tag=CC: command not found
If you look in the libtool script on line 765, you will find
-*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
and for
../../libtool: line 798: libtool: ignoring unknown tag : command not found
you will find in libtool:
$echo "$progname: ignoring unknown tag $tagname" 1>&2
The problem is that the variable $echo is not set. If you look near the top of the libtool script file, there is probably a declaration of the variable ECHO="echo" or something similar. This definition is inserted into your libtool file from the m4/libtool.m4 scripts if I remember correctly. The rest of your libtool script is from your system, and uses the $echo variable rather than the $ECHO one, thus each time libtool tries to tell you something or even push a variable through a sed script, you get the "command not found" error. This is fixed by removing the libtool-related macro files from the programs macro directory and letting autoreconf -fvi grab the libtool-related macros from your system.
hiben
Sat, 2008-03-29 11:25
Permalink
The SID-decoder is AFAIK the
The SID-decoder is AFAIK the only component that requires a C++ compiler (I created this decoder). It seems like something is missing to setup the compilation on your system - I've never seen that error before.
I'll try to reproduce this with ArchLinux and find a solution.
hiben
Sat, 2008-03-29 19:38
Permalink
I was not able to build
I was not able to build revision 2078 due to problems with the native language support but I was not able to reproduce the described error. The language-problems seem to be fixed in revision 2081 and I had no problems building this revison (with and without sid decoder) in ArchLinux.
Could you try rev 2081 and see if it works for you ?
StormBlast
Sun, 2008-03-30 21:10
Permalink
Still without success...
Still without success... Cannot build SVN 2081. Automake failed. I tried to remove sidplay2 libs but it doesn't change anything. Same error.
StormBlast
Sun, 2008-03-30 22:34
Permalink
Continued... Add AC_PROG_CXX
Continued...
Add AC_PROG_CXX to configure.in. Autogen finished ok. Manually set LIBTOOL var to '/usr/bin/libtool' instead of '$(SHELL) $(top_builddir)/libtool' which was set by script.
Compilation started and continues until this:
I'm not a coder but it seems like libtool issues, no?
Samuli Suominen
Thu, 2008-05-08 18:38
Permalink
Add missing AC_PROG_CXX and use system LTDL.
I've just patch moc in gentoo with following patch,
diff -ur moc-2.5.0-alpha3.orig/configure.in moc-2.5.0-alpha3/configure.in
--- moc-2.5.0-alpha3.orig/configure.in 2008-02-26 00:37:30.000000000 +0200
+++ moc-2.5.0-alpha3/configure.in 2008-05-08 21:17:21.000000000 +0300
@@ -8,6 +8,7 @@
AC_CANONICAL_HOST
AC_PROG_CC
+AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_AWK
diff -ur moc-2.5.0-alpha3.orig/Makefile.am moc-2.5.0-alpha3/Makefile.am
--- moc-2.5.0-alpha3.orig/Makefile.am 2007-12-15 09:38:57.000000000 +0200
+++ moc-2.5.0-alpha3/Makefile.am 2008-05-08 21:20:59.000000000 +0300
@@ -40,8 +40,6 @@
themes.h \
keys.c \
keys.h \
- ltdl.c \
- ltdl.h \
io.c \
io.h \
compat.c \
@@ -70,7 +68,7 @@
jack.c \
jack.h
man_MANS = mocp.1
-mocp_LDADD = @EXTRA_OBJS@
+mocp_LDADD = @EXTRA_OBJS@ -lltdl
mocp_DEPENDENCIES = @EXTRA_OBJS@
mocp_LDFLAGS = @EXTRA_LIBS@ $(RCC_LIBS)
EXTRA_DIST = config.example mocp.1 THANKS keymap.example Doxyfile \