balsa: configure w/ iconv fails
- From: Thomas Fischer <th fischer gmx net>
- To: balsa-list gnome org
- Subject: balsa: configure w/ iconv fails
- Date: Sat, 21 Apr 2001 13:16:45 +0200
Hello everybody,
I have a problem to configure/compiling Balsa 1.1.3 on
my system. I use gcc version egcs-2.91.66 and gnome 1.2.7
on a glibc 2.0 Linux machine (based on SuSE 6.1).
When I run
./configure --with-ssl --disable-nls && make
it stops when checking for iconv:
checking for crypt in -lcrypt... yes
checking for sigaction.h... no
checking for sigset.h... yes
checking for CVS information... no
checking whether to build unfinished features... no
checking whether to enable reply to MDN requests... yes
checking whether to use threads... yes
checking whether to use LDAP... no
checking whether to use GtkHTML... no
checking whether to use GdkPixbuf... yes
checking whether to install into Gnome's prefix... yes
checking for gawk... gawk
checking whether to build GSS support... no
checking whether to build SSL support... yes
checking for iconv... no
checking for library containing iconv_open... no
configure: error: *** You need iconv for libmutt.
These are the last lines in config.log:
==============================================
configure:6055: checking for iconv
configure:6083: gcc -o conftest -g -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include conftest.c -lcrypt -L/usr/local/lib -lgthread -lglib -lpthread -lssl -lcrypto 1>&5
/tmp/ccBIwsy3.o: In function `main':
/mnt/hdb8/temp/balsa-1.1.3/configure:6077: undefined reference to `iconv'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6060 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char iconv(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char iconv();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_iconv) || defined (__stub___iconv)
choke me
#else
iconv();
#endif
; return 0; }
configure:6102: checking for library containing iconv_open
configure:6120: gcc -o conftest -g -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include conftest.c -lcrypt -L/usr/local/lib -lgthread -lglib -lpthread -lssl -lcrypto 1>&5
/tmp/ccGkDegD.o: In function `main':
/mnt/hdb8/temp/balsa-1.1.3/configure:6116: undefined reference to `iconv_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6109 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char iconv_open();
int main() {
iconv_open()
; return 0; }
configure:6142: gcc -o conftest -g -O2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/X11R6/include conftest.c -liconv -lcrypt -L/usr/local/lib -lgthread -lglib -lpthread -lssl -lcrypto 1>&5
/tmp/ccEIhBj8.o: In function `main':
/mnt/hdb8/temp/balsa-1.1.3/configure:6138: undefined reference to `iconv_open'
collect2: ld returned 1 exit status
configure: failed program was:
#line 6131 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char iconv_open();
int main() {
iconv_open()
; return 0; }
==============================================
It looks like libiconv is not present on my system,
but I installed the latest version 1.6.1 from source.
In /usr/local/lib I have the following files:
/usr/local/lib/libiconv.la
/usr/local/lib/libiconv.so
/usr/local/lib/libiconv.so.2
/usr/local/lib/libiconv.so.2.0.3
/usr/local/lib/libiconv_plug.so
ldconfig detects the library, too:
libiconv_plug.so => libiconv_plug.so
libiconv.so.2 => libiconv.so.2.0.3
Does anybody know what's wrong? Please help me.
Bye,
Thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]