fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]The 5.7.1 release of fetchmail is available

2001-03-04 13:34:23
On Sun, Mar 04, 2001 at 13:53:03 -0500, Eric S. Raymond wrote:
Byrial Jensen <byrial(_at_)image(_dot_)dk>:
As far as I can see the problem is the symbolic link in the intl
directory from libintl.h to libgettext.h. Remove it! It shadows for
the real libintl.h in /usr/include.

Alas, that does not solve the problem.  After deleting the symlink and
doing configure --enable-nls:

snark:~$ cd WWW/fetchmail
/home/esr/WWW/fetchmail
snark:~/WWW/fetchmail$ l intl
ChangeLog      cat-compat.c   gettext.c      l10nflist.c    localealias.c
Makefile       dcgettext.c    gettext.h      libgettext.h   po2tbl.sed
Makefile.in    dgettext.c     gettextP.h     linux-msg.sed  po2tbl.sed.in
VERSION        explodename.c  hash-string.h  loadinfo.h     textdomain.c
bindtextdom.c  finddomain.c   intl-compat.c  loadmsgcat.c   xopen-msg.sed
snark:~/WWW/fetchmail$ make 
gcc -L/usr/kerberos/lib -L/usr/kerberos/lib  rcfile_y.o rcfile_l.o socket.o 
getpass.o pop2.o pop3.o imap.o etrn.o odmr.o fetchmail.o idle.o env.o 
options.o daemon.o driver.o sink.o rfc822.o smtp.o xmalloc.o uid.o mxget.o 
md5ify.o cram.o kerberos.o gssapi.o opie.o rpa.o interface.o netrc.o base64.o 
error.o unmime.o conf.o checkalias.o smbdes.o smbencrypt.o smbmd4.o smbutil.o 
ipv6-connect.o  md5c.o -lkrb4 -ldes425 -lcrypt  -lresolv -lkrb5 -lcrypto 
-lcom_err -lfl -o fetchmail
rcfile_y.o: In function `yyparse':
rcfile_y.o(.text+0x3a6): undefined reference to `dcgettext__'
rcfile_y.o(.text+0x4ee): undefined reference to `dcgettext__'
rcfile_y.o(.text+0x5ea): undefined reference to `dcgettext__'
rcfile_y.o: In function `yyerror':
rcfile_y.o(.text+0xc00): undefined reference to `dcgettext__'
rcfile_y.o(.text+0xc4c): undefined reference to `dcgettext__'
rcfile_y.o(.text+0xd7d): more undefined references to `dcgettext__' follow
collect2: ld returned 1 exit status
make: *** [fetchmail] Error 1
snark:~/WWW/fetchmail$ 

NLS works for me with Redhat 7.0. There is no dcgettext__ in glibc,
it is only defined in the code in the intl subdir. So my guess is
that you did not recompile after removing the symlink.

Try: make clean ; make

-- 
Byrial
http://home.worldonline.dk/~byrial/