[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] -lguile not found
From: |
Simon Josefsson |
Subject: |
[bug-mailutils] -lguile not found |
Date: |
Thu, 29 Dec 2005 16:17:44 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Hi! Guile is used even though it shouldn't. Patch below fixes it for
me.
checking for guile-config... /usr/bin/guile-config
checking for guile version 1.4 or higher... OK
checking whether to build guile support... no
...
Use Guile...................... no
...
/* Enable Guile support */
/* #undef WITH_GUILE */
...
gcc -g -O2 -o .libs/mail.local main.o mailquota.o script.o -lguile
-lguile-ltdl -lqthreads -lm ../lib/.libs/libmuaux.a
../libsieve/.libs/libsieve.so ../mailbox/mbox/.libs/libmu_mbox.so
../auth/.libs/libmuauth.so -lgsasl /usr/lib/libgnutls.so /usr/lib/libgcrypt.so
-lpam ../mailbox/.libs/libmailutils.so -ldl -L/usr/lib -lz -lnsl -lcrypt
-lresolv -lpthread
/usr/bin/ld: cannot find -lguile
collect2: ld returned 1 exit status
make[3]: *** [mail.local] Error 1
make[3]: Leaving directory `/home/jas/src/mailutils/mail.local'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jas/src/mailutils/mail.local'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jas/src/mailutils'
make: *** [all] Error 2
address@hidden:~/src/mailutils$
--- guile.m4 26 Aug 2005 12:41:22 +0200 1.3
+++ guile.m4 29 Dec 2005 16:11:59 +0100
@@ -1,5 +1,5 @@
dnl This file is part of GNU mailutils.
-dnl Copyright (C) 2001 Free Software Foundation, Inc.
+dnl Copyright (C) 2001, 2005 Free Software Foundation, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -76,6 +76,10 @@
GUILE_INCLUDES=`guile-config compile`
GUILE_LIBS=`guile-config link`
fi
+ if test $mu_cv_lib_guile = no; then
+ GUILE_INCLUDES=
+ GUILE_LIBS=
+ fi
AC_MSG_CHECKING(whether to build guile support)
MU_RESULT_ACTIONS([mu_cv_lib_guile],[LIBGUILE],[$2],[$3])
AC_MSG_RESULT(${cached}$mu_cv_lib_guile)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-mailutils] -lguile not found,
Simon Josefsson <=