Subject: Re: Some problems with gettext after libintl is now in the basesystem
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 11/02/2000 23:24:38
On Thu Nov 2 11:26:27 2000, itojun@iijlab.net wrote:
>
>
> >> > could I see build log for mutt? pkgsrc/mail/mutt has DEPENDS
> >> > to devel/gettext, and i guessed it will go okay...
> >> I guess you don't have msgfmt reachable in your $PATH when you built
> >> mutt. is it correct?
> >No, I have it in my $PATH.
>
> please update src/lib/libintl (if you have gettext_dummy.c, you should
> be okay). as described in separate email, gettext.m4 checks
> undocumented symbol to check if we have GNU gettext library or not.
> as we are 100% compatible with GNU gettext, i supplied the symbol
> just to make gettext.m4 happy.
That doesn't help for xtraceroute.
From the config.log:
configure:2460: checking for xgettext
configure:2500: cc -o conftest -O2 -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c 1>&5
/tmp/ccf09QXp.o: In function `main':
/tmp/ccf09QXp.o(.text+0x4): undefined reference to `_nl_msg_cat_cntr'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2492 "configure"
#include "confdefs.h"
int main() {
extern int _nl_msg_cat_cntr;
return _nl_msg_cat_cntr
; return 0; }
There is no -lintl in the link line. So it can't find _nl_msg_cat_cntr.
Bernd