This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
[autogen.sh/Debian] Errors similar to those reported by others.
- To: GNU Guile Scheme <guile at sourceware dot cygnus dot com>
- Subject: [autogen.sh/Debian] Errors similar to those reported by others.
- From: karlheg at bittersweet dot inetarena dot com (Karl M. Hegbloom)
- Date: 22 May 2000 00:01:49 -0700
CVS update as of an hour ago. Turned out that "aclocal.m4" was *not*
being generated due to a duplicate macro definition brought about by
there being a "qthreads.m4" already in "/usr/share/aclocal". The
solution was to do:
% sudo mv /usr/share/aclocal/qthreads.m4 /tmp
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% aclocal -I .
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% ls aclocal.m4
aclocal.m4
I have the Debian Guile 1:1.3.4-3 packages installed, and they have
installed the "qthreads.m4" I had to move aside.
What can we do to fix this? Or should I just move that aside anytime
I need to rerun the `autogen.sh'?
Here's a log of the session, showing the errors... Way down at the
bottom is the diff between the version that was in /usr/share/aclocal
and the one from guile-core CVS.
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% ./autogen.sh --help
aclocal: ./qthreads.m4: 67: duplicated macro `QTHREADS_CONFIGURE'
configure.in:312: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:121: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:122: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:312: warning: AC_TRY_RUN called without default to allow cross compiling
autoconf: Undefined macros:
configure.in:105:AC_LIBLTDL_CONVENIENCE
configure.in:110:AC_LIBTOOL_DLOPEN
configure.in:143:AC_CHECK_LIB(m, main)
configure.in:146: AC_CHECK_LIB(nsl, gethostbyname)
configure.in:150: AC_CHECK_LIB(socket, connect)
configure.in:319: [AC_CHECK_LIB(rx, main)
configure.in:483: AC_CHECK_LIB(pthread, main)
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./mkinstalldirs'
automake: configure.in: installing `./missing'
configure.in: 27: required file `libguile/scmconfig.h.in' not found
libguile/Makefile.am:38: variable `THREAD_LIBS_LOCAL' not defined
libguile/Makefile.am:114: variable `THREAD_LIBS_LOCAL' not defined
libguile/Makefile.am:114: variable `THREAD_LIBS_LOCAL' not defined
doc/Makefile.am:21: installing `doc/mdate-sh'
guile-readline...
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% aclocal --version
aclocal (GNU automake) 1.4
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% autoconf --version
Autoconf version 2.13
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% automake --version
automake (GNU automake) 1.4
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% sudo apt-get -q install autoconf
Reading Package Lists...
Building Dependency Tree...
Sorry, autoconf is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 267 not upgraded.
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% sudo apt-get -q install automake
Reading Package Lists...
Building Dependency Tree...
Sorry, automake is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 267 not upgraded.
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% dpkg --status autoconf automake | <abbreviate>
Package: autoconf
Maintainer: Ben Pfaff <pfaffben@pilot.msu.edu>
Version: 2.13-20
Recommends: automake
Package: automake
Maintainer: Kevin Dalley <kevind@rahul.net>
Version: 1.4-8
Depends: autoconf
% sudo apt-get -q install libtool
Reading Package Lists...
Building Dependency Tree...
1 packages upgraded, 0 newly installed, 0 to remove and 266 not upgraded.
Need to get 180kB of archives. After unpacking 85.0kB will be freed.
Get:1 http://http.us.debian.org woody/main libtool 1.3.4-4 [180kB]
Fetched 180kB in 7s (23.9kB/s)
100% [Scanning packages]
(Reading database ... 99025 files and directories currently installed.)
Preparing to replace libtool 1.3.3-9.1 (using .../libtool_1.3.4-4_all.deb) ...
Unpacking replacement libtool ...
Setting up libtool (1.3.4-4) ...
Configuring libtool...
You have new mail.
karlheg@bittersweet:/usr/local/src/anoncvs.cygnus.com/guile-core
% ./autogen.sh --help
aclocal: ./qthreads.m4: 67: duplicated macro `QTHREADS_CONFIGURE'
configure.in:312: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:121: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:122: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:312: warning: AC_TRY_RUN called without default to allow cross compiling
autoconf: Undefined macros:
configure.in:105:AC_LIBLTDL_CONVENIENCE
configure.in:110:AC_LIBTOOL_DLOPEN
configure.in:143:AC_CHECK_LIB(m, main)
configure.in:146: AC_CHECK_LIB(nsl, gethostbyname)
configure.in:150: AC_CHECK_LIB(socket, connect)
configure.in:319: [AC_CHECK_LIB(rx, main)
configure.in:483: AC_CHECK_LIB(pthread, main)
configure.in: 27: required file `libguile/scmconfig.h.in' not found
libguile/Makefile.am:38: variable `THREAD_LIBS_LOCAL' not defined
libguile/Makefile.am:114: variable `THREAD_LIBS_LOCAL' not defined
libguile/Makefile.am:114: variable `THREAD_LIBS_LOCAL' not defined
guile-readline...
% diff -u /tmp/qthreads.m4 ./qthreads.m4
--- /tmp/qthreads.m4 Thu Feb 24 08:16:18 2000
+++ ./qthreads.m4 Fri Apr 21 07:12:05 2000
@@ -37,7 +37,6 @@
dnl can link against libqthreads.a:
dnl THREAD_PACKAGE --- set to "QT" if configuration succeeds, or
dnl the empty string if configuration fails.
-dnl THREAD_CPPFLAGS --- set to `-I' flags for thread header files
dnl THREAD_LIBS_LOCAL --- linker options for use in this source tree
dnl THREAD_LIBS_INSTALLED --- linker options for use after this package
dnl is installed
@@ -69,10 +68,6 @@
AC_REQUIRE([AC_PROG_LN_S])
AC_MSG_CHECKING(QuickThreads configuration)
- # How can we refer to the qt source directory from within the qt build
- # directory? For headers, we can rely on the fact that the qt src
- # directory appears in the #include path.
- qtsrcdir="`(cd $srcdir; pwd)`/qt"
changequote(,)dnl We use [ and ] in a regexp in the case
@@ -97,13 +92,6 @@
;;
esac
;;
- m68k-*-*)
- port_name=m68k
- qtmd_h=md/m68k.h
- qtmds_s=md/m68k.s
- qtmdc_c=md/null.c
- qtdmdb_s=md/m68k.s
- ;;
mips-sgi-irix[56]*)
port_name=irix
qtmd_h=md/mips.h
@@ -150,7 +138,6 @@
if test -n "$THREAD_PACKAGE"; then
AC_MSG_RESULT($port_name)
QTHREAD_LTLIBS=libqthreads.la
- THREAD_CPPFLAGS="-I$qtsrcdir -I../qt"
THREAD_LIBS_LOCAL="../qt/libqthreads.la"
THREAD_LIBS_INSTALLED="-lqthreads"
else
@@ -164,7 +151,6 @@
AC_SUBST(qtdmdb_s)
AC_SUBST(qthread_asflags)
AC_SUBST(THREAD_PACKAGE)
- AC_SUBST(THREAD_CPPFLAGS)
AC_SUBST(THREAD_LIBS_LOCAL)
AC_SUBST(THREAD_LIBS_INSTALLED)
])
Exit Status: [0]
--
Those who do not study Lisp are doomed to reimplement it - Poorly.
A few months in the laboratory often saves several hours at the library.
mailto:karlheg@debian.org (Karl M. Hegbloom)