hedayaty / NetSpeed

An extension for gnome 3 to show internet speed
264 stars 83 forks source link

make install issue #159

Open AnuragAnalog opened 1 year ago

AnuragAnalog commented 1 year ago

I am not able to install the gnome extension using the git repository

Steps to reproduce:

anuraganalog@anuraganalog:~/Downloads$ git clone https://github.com/hedayaty/NetSpeed.git
Cloning into 'NetSpeed'...
remote: Enumerating objects: 726, done.
remote: Counting objects: 100% (76/76), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 726 (delta 42), reused 67 (delta 37), pack-reused 650
Receiving objects: 100% (726/726), 216.29 KiB | 8.01 MiB/s, done.
Resolving deltas: 100% (474/474), done.
anuraganalog@anuraganalog:~/Downloads$ cd NetSpeed/
anuraganalog@anuraganalog:~/Downloads/NetSpeed$ make install

Error

mkdir -p `dirname locale/ca/LC_MESSAGES/netspeed.mo`
msgfmt po/ca.po -o locale/ca/LC_MESSAGES/netspeed.mo
make: msgfmt: No such file or directory
make: *** [Makefile:29: locale/ca/LC_MESSAGES/netspeed.mo] Error 127
anuraganalog@anuraganalog:~/Downloads/NetSpeed$
martinkg commented 1 year ago

does /usr/bin/msgfmt (package gettext) is installed on your system ?

lakinduakash commented 7 months ago

Installing gettext resolves the issue. But now getting

make: *** No rule to make target 'locale/nl_NL/LC_MESSAGES/netspeed.mo', needed by 'pack'.  Stop.
zkronos73 commented 7 months ago

remove nl_NL from LANGUAGE variable on Makefile

rx-ted commented 5 months ago

You can input msgfmt in bash, will find that msgfmt not found. So you can run sudo apt install gettext, then run msgfmt, it's successful may.