Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful error on absence of gettext #3

Open
bobf opened this issue Oct 26, 2011 · 0 comments
Open

Unhelpful error on absence of gettext #3

bobf opened this issue Oct 26, 2011 · 0 comments

Comments

@bobf
Copy link

bobf commented Oct 26, 2011

When gettext is not installed the build output (for me) is as follows:

scons: Reading SConscript files ...
Checking for pkg-config... (cached) yes
Checking for libavformat... (cached) yes
Checking for libavutil... (cached) yes
Checking for libavcodec... (cached) yes
Checking for sqlite3... (cached) yes
Checking for libexif... (cached) yes
Checking for id3tag... (cached) yes
Checking for flac... (cached) yes
Checking for ogg... (cached) yes
Checking for vorbis... (cached) yes
Checking for ogg... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library jpeg... (cached) yes
Checking for C header file sys/inotify.h... (cached) yes
Checking for C header file iconv.h... (cached) yes
Checking for C header file libintl.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
Compiling: po/da.po
sh: check-domain: not found
Installing: po/da.mo => /usr/share/locale/da/LC_MESSAGES/minidlna.mo
scons: *** [/usr/share/locale/da/LC_MESSAGES/minidlna.mo] po/da.mo: No such file or directory
scons: building terminated because of errors.

I think you want to check that WhereIs("msgfmt") in tools/gettext.py doesn't return None and provide a more helpful error if it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant