rolinh / dfc

Report file system space usage information with style
BSD 3-Clause "New" or "Revised" License
106 stars 10 forks source link

msgmerge: error while opening "/home/nemo/src/dfc/po/nl.po" for reading: No such file or directory #18

Open sebma opened 7 years ago

sebma commented 7 years ago

Hi,

I have the following error when building :

make[3]: Entering directory `/home/nemo/src/dfc/build'
[ 70%] Generating ../../po/nl.po
/usr/bin/msgmerge: error while opening "/home/nemo/src/dfc/po/nl.po" for reading: No such file or directory
make[3]: *** [../po/nl.po] Error 1
make[3]: Leaving directory `/home/nemo/src/dfc/build'
make[2]: *** [po/CMakeFiles/generate-dfc-nl-po.dir/all] Error 2
make[2]: Leaving directory `/home/nemo/src/dfc/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nemo/src/dfc/build'
make: *** [release] Error 2

Can you help me ?

rolinh commented 7 years ago

Hi @sebma,

I need more information because I fail to reproduce this issue (unless I explicitely delete po/nl.po). Which commands did you use to attempt building? Are you building from the git repository or from the release tarball? Which OS and version are you using?

sebma commented 7 years ago

Hi, I used the git and tried to build it on SailFish OS v1.0

rolinh commented 7 years ago

I will try to build on SailFish OS over the weekend. In the meantime, you can try building without translation support:

$ mkdir build && cd build
$ cmake .. -DNLS_ENABLED=false
$ make

EDIT: I don't know if and how I could get access to a SailFish OS instance. In #15, you already tried building dfc for Android and now on another mobile platform. I actually fail to see the use case for that, could you please elaborate on what you're trying to achieve?

sebma commented 7 years ago

Hi, the option -DNLS_ENABLED=false worked, thanks.

I wanted to have your great tool on my two smartphones.

rolinh commented 7 years ago

Interesting. How do you use it on a smartphone since it is not designed for smartphones?

sebma commented 7 years ago

I can ssh to my Jolla smartphone and it's OS (SailFishOS) is a true Linux unlike Android devices :)

rolinh commented 7 years ago

Since I don't own a device with SailFish OS, I doubt that I could fix this issue. I still find the error message to be strange (po/nl.po file should exist).