Translating into Arabic - Testing Problems
Hi,
I managed to compile the trunk successfully. But, ...
On testing the binary I found nothing in Arabic excepting Qt native arabised strings. To my dismay, I found out I hadn't followed the steps mentioned in the Development/Translation section. So, I proceeded to do the missing steps. But, whenever I do "make lrelease" within the build directory I receive:
[hosadeeb@bedroom build]$ sudo make lrelease Password: /bin/sh: /home/hosadeeb/Download/trunk/mscore/gen-qt-projectfile: Permission denied make[3]: *** [CMakeFiles/lrelease] Error 126 make[2]: *** [CMakeFiles/lrelease.dir/all] Error 2 make[1]: *** [CMakeFiles/lrelease.dir/rule] Error 2 make: *** [lrelease] Error 2
As you can see, this happens even when I'm superuser! I noticed that making the file executable makes it invisible to the make script... Searching the site for relevant comments, it appears I'm not the only one receiving such error messages. But I found no suggestions or pieces of advice.
As I understand from the described steps, I needn't recompile the whole programme (it took more than 9 whole hours on my old Pentium V); only the language files, right?
Thanks and regards.
Hosam Adeeb Nashed
Comments
It seems like your 'permission denied' issue is just addressed in a topic about compiling MuseScore on OpenSuse: # chmod +x trunk/mscore/gen-qt-projectfile
I hope this might solve it.
In reply to chmod +x by Thomas
Er, well, this didn't solve my problem...
I just received a different error message
Does this provide any more insight?
Hosam Adeeb Nashed
In reply to Er, well, this didn't solve by HosAdeeb
Is the Qt/bin directory listed in your PATH variable? If not then you need to add it so that it knows where to look for the lrelease program.
In reply to Is the Qt/bin directory by David Bolton
Hi,
I had downloaded the latest versions of Qt, CMake, and libsndfile, and adjusted all paths and environment variables. Indeed, it would have been otherwise impossible to compile mscore itself.
Thanks in advance for any suggestions.
In reply to All Paths Duly Defined by HosAdeeb
Can you try to run
which lrelease
and
which lrelease-qt4
If the second is found, you can create a symbolic link to have the first one in your path.
You installed qt from nokia website ? or from your distrib repositorie?
In reply to Can you try to run which by [DELETED] 5
Finally!
I found out that my PATH env variable has, for some reason, reverted to before my installations (spooky!!), but once this is re-remedied all went well.
But for completion, I had downloaded Qt from Nokia's site.
Phew!!!
Hosam Adeeb Nashed