./configure --disable-nls fails on xgettext

Bug #398572 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intltool
Triaged
Low
Unassigned

Bug Description

I ran 'make dist' on Ubuntu and copied the package to an opensolaris machine.

on opensolaris ./configure
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
/usr/bin/xgettext: illegal option -- version
Usage: xgettext [-a [-x exclude-file]] [-jns][-c comment-tag]
        [-d default-domain] [-m prefix] [-M suffix] [-p pathname] files ...
        xgettext -h
ERROR: Cannot open file --version.
configure: error: GNU gettext tools not found; required for intltool

then tried ./configure --disable-nls

checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
/usr/bin/xgettext: illegal option -- version
Usage: xgettext [-a [-x exclude-file]] [-jns][-c comment-tag]
        [-d default-domain] [-m prefix] [-M suffix] [-p pathname] files ...
        xgettext -h
ERROR: Cannot open file --version.
configure: error: GNU gettext tools not found; required for intltool

dobey (dobey)
Changed in intltool:
assignee: nobody → Rodney Dawes (dobey)
milestone: none → 0.41.0
status: New → Triaged
dobey (dobey)
Changed in intltool:
milestone: 0.41.0 → 0.41.1
Revision history for this message
Данило Шеган (danilo) wrote :

We don't support non-GNU xgettext: Solaris one (the only one with some feature-parity) doesn't have the --keyword argument, so it won't work for any of the packages using anything other than what's hard-coded in it. Rodney, if you don't mind, I'd mark this as "Won't fix".

FWIW, according to http://docs.sun.com/app/docs/doc/816-5165/xgettext-1?a=view, only gettext() and dgettext() calls are extracted.

Changed in intltool:
milestone: 0.41.1 → 0.42.0
Revision history for this message
dobey (dobey) wrote :

Danilo, I think this should stay open, because it still fails with --disable-nls (which is why I agreed to fix it in the first place). The bug isn't mine personally, I just moved it over from bugzilla.gnome.org.

summary: - ./configure fails on xgettext
+ ./configure --disable-nls fails on xgettext
Revision history for this message
fujiwara (takao-fujiwara) wrote :

Replying the original issue.

> I ran 'make dist' on Ubuntu and copied the package to an opensolaris machine.

If you build GNU applications on OpenSolaris, you need to install SUNWgnu-gettext then I think your issue will be fixed.

Changed in intltool:
milestone: 0.50.0 → 0.51.0
importance: Undecided → Low
dobey (dobey)
Changed in intltool:
assignee: Rodney Dawes (dobey) → nobody
dobey (dobey)
Changed in intltool:
milestone: 0.51.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.