System: i486-debian-linux-gnu, libc6_2.1.3-2, gcc_2.95.2-7, Linux
2.2.14.
I got m4 via CVS from subversions.gnu.org on 2000-03-12; the last
ChangeLog entry is from 2000-01-16. When I tried to build it, I
got the following error:
| Making all in src
| make[5]: Entering directory `/home/kalle/i386-pc-linux-gnu/Build/FOREIGN-CVS/m4/src'
| make[5]: *** No rule to make target `/home/kalle/src/FOREIGN-CVS/m4/lib/libm4.la',
|needed by `m4'. Stop.
| make[5]: Leaving directory `/home/kalle/i386-pc-linux-gnu/Build/FOREIGN-CVS/m4/src'
| make[4]: *** [all-recursive] Error 1
| make[4]: Leaving directory `/home/kalle/i386-pc-linux-gnu/Build/FOREIGN-CVS/m4'
I looked for libm4.la and found it in the build directory, not in
the source directory. I changed m4/src/Makefile.am (patch at end
of message) and got past this, but then there was another error
in m4/modules/:
| /bin/sh ../libtool --mode=link gcc -O2 -g -Wall -W -no-undefined -module
|-avoid-version -export-dynamic -o test.la -rpath
|/home/kalle/i386-pc-linux-gnu/libexec/m4 -module test.lo
|/home/kalle/src/FOREIGN-CVS/m4/lib/libm4.la
| libtool: link: `/home/kalle/src/FOREIGN-CVS/m4/lib/libm4.la' is not a valid libtool
|archive
| make[5]: *** [test.la] Error 1
| make[5]: Leaving directory
|`/home/kalle/i386-pc-linux-gnu/Build/FOREIGN-CVS/m4/modules'
| make[4]: *** [all-recursive] Error 1
| make[4]: Leaving directory `/home/kalle/i386-pc-linux-gnu/Build/FOREIGN-CVS/m4'
Another change fixed that, and the package then built properly.
2000-03-12 Kalle Olavi Niemitalo <[EMAIL PROTECTED]>
* src/Makefile.am (m4_LDADD): Take libm4.la from the build tree,
not from the source tree.
* modules/Makefile.am (LIBS): Likewise.
--- m4/src/Makefile.am~ Thu Feb 17 03:11:29 2000
+++ m4/src/Makefile.am Sun Mar 12 23:15:20 2000
@@ -21,7 +21,7 @@
EXTRA_m4_SOURCES = numb.c numb.h
-m4_LDADD = @M4OBJS@ $(top_srcdir)/lib/libm4.la @INTLLIBS@
+m4_LDADD = @M4OBJS@ $(top_builddir)/lib/libm4.la @INTLLIBS@
m4_LDFLAGS = -no-undefined @DLLDFLAGS@
$(bin_PROGRAMS): @M4OBJS@
--- m4/modules/Makefile.am~ Thu Feb 17 03:11:30 2000
+++ m4/modules/Makefile.am Sun Mar 12 23:27:21 2000
@@ -16,7 +16,7 @@
time_la_SOURCES = time.c
stdlib_la_SOURCES = stdlib.c
-LIBS = $(top_srcdir)/lib/libm4.la
+LIBS = $(top_builddir)/lib/libm4.la
LDFLAGS = -no-undefined -module -avoid-version @DLLDFLAGS@
test_la_LDFLAGS = -module