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

Build error on Ubuntu 18.04.5 LTS #145

Open
jp31415926 opened this issue Dec 7, 2020 · 1 comment
Open

Build error on Ubuntu 18.04.5 LTS #145

jp31415926 opened this issue Dec 7, 2020 · 1 comment

Comments

@jp31415926
Copy link

I get an error while building. I suspect I need to install a library. It would be good if configure or the error pointed users to the library that is missing.

Specifically, line 196 of the Makefile has the statement:
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo

It appears GMSGFMT is defined as ":".

Ubuntu version: Ubuntu 18.04.5 LTS
G++ version: g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

Actually error:

Making all in po
make[1]: Entering directory '/home/jp/dev/hldig/po'
test ! -f ./hldig.pot || \
  test -z "nb.gmo nl_NL.gmo ru.gmo" || make nb.gmo nl_NL.gmo ru.gmo
make[2]: Entering directory '/home/jp/dev/hldig/po'
rm -f nb.gmo && : -c --statistics --verbose -o nb.gmo nb.po
mv: cannot stat 't-nb.gmo': No such file or directory
Makefile:194: recipe for target 'nb.gmo' failed
make[2]: *** [nb.gmo] Error 1
make[2]: Leaving directory '/home/jp/dev/hldig/po'
Makefile:231: recipe for target 'stamp-po' failed
make[1]: *** [stamp-po] Error 2
make[1]: Leaving directory '/home/jp/dev/hldig/po'
Makefile:497: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
@jp31415926
Copy link
Author

Turns out I had to install the "gettext" package, re-ran configure, and now it works. Perhaps this should be a dependency for configure.

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