Modify

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5007 closed defect (worksforme)

build with mpd fails lacking gettext for NSLU2 with K8.09 trunk

Reported by: lance_benson@… Owned by: developers
Priority: normal Milestone: Kamikaze 8.09.1
Component: packages Version: Kamikaze 8.09
Keywords: gettext NSLU2 ipx4xx mpd kamikaze 8.09 trunk Cc:

Description

This error message appears when I try to make a build which includes mpd:

* You must have either have gettext support in your C library, or use the

* GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html

I've now narrowed it down to an attempt to compile mpd. After successfully building 4 different images, forr15407 adding a few modules at a time, it fails when I add mpd. If I remove that, it succeeds again. If in menuconfig I revert to the default configuration, setting it up for ixp4xx and NSLU2, it succeeds. Add only mpd and it fails; remove revert to defaultst again and it succeeds; load last saved good configuration and it succeeds.

Here are lines leading up to the error:

checking libintl.h usability... yes

checking libintl.h presence... yes

checking for libintl.h... yes

checking for ngettext in libc... yes

checking for dgettext in libc... yes

checking for bind_textdomain_codeset... yes

checking for msgfmt... no

configure: error:

* You must have either have gettext support in your C library, or use the

* GNU gettext library. http://www.gnu.org/software/gettext/gettext.html)

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by Lance Benson <lance_benson@…>

This error message appears when I try to make a build which includes mpd:

*** You must have either have gettext support in your C library, or use the 
*** GNU gettext library. ( http://www.gnu.org/software/gettext/gettext.html 

I've now narrowed it down to an attempt to compile mpd. After successfully building 4 different images, for r15407 adding a few modules at a time, it fails when I add mpd. If I remove that, it succeeds again. If in menuconfig I revert to the default configuration, setting it up for ixp4xx and NSLU2, it succeeds. Add only mpd and it fails; remove revert to defaults again and it succeeds; load last saved good configuration and it succeeds.

Here are lines leading up to the error:

checking libintl.h usability... yes 
checking libintl.h presence... yes 
checking for libintl.h... yes 
checking for ngettext in libc... yes 
checking for dgettext in libc... yes 
checking for bind_textdomain_codeset... yes 
checking for msgfmt... no 
configure: error: 
*** You must have either have gettext support in your C library, or use the 
*** GNU gettext library.  http://www.gnu.org/software/gettext/gettext.html) 

comment:2 Changed 9 years ago by nico

  • Milestone changed from Kamikaze to Kamikaze 8.09.1
  • Version changed from Trunk to Kamikaze 8.09

comment:3 Changed 9 years ago by nico

  • Resolution set to worksforme
  • Status changed from new to closed

You seem to be lacking the host "msgfmt" command, try installing "gettext" on your host system.

Here's what I have:

...
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
...

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.