jkotra / eOVPN

OpenVPN Configuration Manager.
GNU General Public License v3.0
70 stars 9 forks source link

Build error Program 'msgfmt' not found or not executable #44

Closed alirezaimi closed 11 months ago

alirezaimi commented 11 months ago

Hi In debian testing i want to build project with python 3.11 :

$ meson build -Dprefix=/usr
The Meson build system
Version: 1.2.1
Source dir: /git_repo/eOVPN
Build dir: /git_repo/eOVPN/build
Build type: native build
Project name: eovpn
Project version: 1.28.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Message: /usr
Message: /usr/local/lib/python3.11/dist-packages/
Configuring eovpn.py using configuration
Message: current commit 1558afb2da86b217f492307c28510d308631cf79
Configuring metadata.json using configuration
Message: metadata.json generated!
Message: Update translations
Program msgfmt found: NO
po/meson.build:2: WARNING: Gettext not found, all translation (po) targets will be ignored.
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program msgfmt found: NO

data/meson.build:14:5: ERROR: Program 'msgfmt' not found or not executable

A full log can be found at /home/alireza/git_repo/eOVPN/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
alirezaimi commented 11 months ago

solved by installing gettext

apt install gettext