Unhelpful error on absence of gettext #3

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

Comments

Projects
None yet
1 participant

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