Re: gentoo



Am 2002.04.23 15:55:36 +0200 schrieb(en) Lang Hurst:
[cut]
> checking whether to build ESMTP support... yes
> checking for smtp_start_session in -lesmtp... no
> configure: error: *** You enabled ESMTP but esmtp library 
> is not found.

The same problem for me. I have installed libesmtp
in /usr/local/libesmtp-$VERSION, made a soft link
/usr/local/libesmtp -> /usr/local/libesmtp-$VERSION
and further more have soft links for all the files
in /usr/local/libesmtp/bin|include|lib from the
corresponding directories under /usr/local.
Although /usr/local/libesmtp/lib is in my /etc/ld.so.conf
balsa's configure gives the above mentioned error.

I always "fixed" it by adding LIBS=-L/usr/local/libesmtp/lib
CFLAGS=-I/usr/local/libesmtp/include to the configure line.

The relevant parts of config.log are attached.

BTW, there's one more thing about configure that
always botherd me...
---
checking for catalogs to be installed...  az bg ca cs da de 
en_GB el es et fi fr
  ga hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sv tr 
uk wa zh_CN zh_TW
sed: can't read ./intl/po2tbl.sed.in: No such file or 
directory
---
The file really does not exist.

Regards,
Sebastian Zerbe



configure:9024: checking whether to build ESMTP support
configure:9029: checking for smtp_start_session in -lesmtp
configure:9048: colorgcc -o conftest -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/g
lib/include -D_REENTRANT  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/
lib/glib/include -I/usr/X11R6/include  conftest.c -lesmtp  -lcrypt -lpspell  -L/
usr/lib -lgthread -lglib -lpthread 1>&5
/usr/bin/ld: cannot find -lesmtp
collect2: ld returned 1 exit status
configure: failed program was:
#line 9037 "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 smtp_start_session();

int main() {
smtp_start_session()
; return 0; }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]