mv: cannot stat 't-bs.gmo': No such file or directory
|Status:||Closed||Start date:||08 Aug 2015|
|Assignee:||Robin Mills||% Done:|
|Category:||build||Estimated time:||3.00 hours|
If you don't have gettext installed at configure time, make fails with an unclear error message:
make: 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: *** [bs.gmo] Error 1
(Tested with svn revision 3885.)
#3 Updated by Robin Mills about 3 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$
#5 Updated by Robin Mills about 3 years ago
- % Done changed from 0 to 50
Fix submitted r4049.
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.
#7 Updated by Robin Mills almost 3 years ago
- Status changed from Assigned to Resolved
- % Done changed from 50 to 100