Bug #1099
mv: cannot stat 't-bs.gmo': No such file or directory
Start date:
08 Aug 2015
Due date:
% Done:
100%
Estimated time:
3.00 h
Description
If you don't have gettext installed at configure time, make fails with an unclear error message:
make[2]: Entering directory '/home/jwilk/exiv2/po' : --update bs.po exiv2.pot rm -f bs.gmo && : -c --statistics -o bs.gmo bs.po mv: cannot stat 't-bs.gmo': No such file or directory Makefile:128: recipe for target 'bs.gmo' failed make[2]: *** [bs.gmo] Error 1
(Tested with svn revision 3885.)
Associated revisions
History
Updated by Robin Mills about 6 years ago
- Category set to build
- Status changed from New to Assigned
- Assignee set to Robin Mills
- Target version set to 0.26
Updated by Robin Mills about 6 years ago
Which distribution are you using?
I use kubuntu (and cygwin and mingw) and gettext is there by default. Difficult to reproduce because I can't easily remove gettext because its a dependency of other pre-installed packages.
rmills@rmillsmbp-k1504:~/gnu/exiv2/trunk$ uname -a Linux rmillsmbp-k1504 3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:08:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux rmills@rmillsmbp-k1504:~/gnu/exiv2/trunk$ apt-cache pkgnames | grep libgettext libgettext-commons-java libgettextpo-dev libgettextpo0 libgettext-ant-tasks-java libgettext-ocaml-dev libgettext-ocaml rmills@rmillsmbp-k1504:~/gnu/exiv2/trunk$
Updated by Jakub Wilk about 6 years ago
I'm using Debian unstable.
I meant the gettext command-line tools (in package gettext
), not gettext libraries.
Updated by Robin Mills almost 6 years ago
- % Done changed from 0 to 50
Fix submitted r4049.
Jakub:
I've fixed this by adding code to config/configure.ac to test that gettext (and msgmerge etc) are on the path. If these utilities are not on the path, NLS will be disabled. So, you'll have to regenerate your configure script to use the fix:
$ svn update . make config ./configure make clean makePlease let me know if this is OK for you. I haven't looked at the CMake scripts to see how/if they deal with this.
Updated by Robin Mills almost 6 years ago
- Status changed from Assigned to Resolved
- % Done changed from 50 to 100
#1099. Fix submitted.