On 1/18/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote:
> On 1/18/06, Hiroshi SAKURAI <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > fish-1.20.0 cannot build on NetBSD because of
> > undefined reference error.
> >
> > $ gmake
> > <snip>
> > env.o(.text+0x188): In function `handle_locale':
> > /home/sakurai/fish/fish-1.20.0.local/env.c:283: undefined reference
> > to `_nl_msg_cat_cntr'
...
>
> Thanks for the bugreport. Inserting
>
> AC_CHECK_LIB(intl, gettext)
>
> into configure.ac should fix this. Could you verify this?
I've verified it.
Now, I can build fish successfully.
Thanks.
However, I encounterd some problems installing fish.
In short, I have to follow the following steps to do 'make install'
# pkg_add gettext (*1)
# PATH=/usr/pkg/bin:$PATH (*2)
# gmake install
# gmake install (*3)
*1
Install gettext from NetBSD package collection because
/usr/bin/gettext is too old (0.10.35) and it doesn't accept
'--no-wrap' in command line option.
*2
use /usr/pkg/bin/xgettext instead of /usr/bin/gettext
*3
I have to do 'gmake install' twice because first one emits
error message.
# gmake install
if test 1 = 1;then \
xgettext -k_ -kN_ -kcomplete_desc --no-wrap *.c *.h -o messages.pot; \
xgettext -j -k_ -LShell --no-wrap init/*.in init/*.fish
init/completions/*.fish -o messages.pot; \
fi
xgettext: language `Shell' unknown
gmake: *** [messages.pot] Error 1
Second attempt seems to install fish successfully, but
something may be wrong.
How can I prevent this? Do I need a newer version of gettext?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users