News:

--

Main Menu

build fails looking for lrelease

Started by ajschult, February 25, 2013, 05:27:30 AM

Previous topic - Next topic

ajschult

With the translations back on, my build (Fedora) fails with

CMake Error at /build/andrew/avidemux/avidemux_2.6.0/cmake/Ts.cmake:24 (MESSAGE):
  LRELEASE_EXECUTABLE-NOTFOUND not found - ts files can't be processed
Call Stack (most recent call first):
  /build/andrew/avidemux/avidemux_2.6.0/cmake/Ts.cmake:119 (FIND_LRELEASE)
  i18n/CMakeLists.txt:3 (COMPILE_TS_FILES)

I have lrelease on my system, but it's called lrelease-qt4 (apparently to distinguish from the qt3 version).


-               FIND_PROGRAM(LRELEASE_EXECUTABLE lrelease PATHS
+               FIND_PROGRAM(LRELEASE_EXECUTABLE lrelease lrelease-qt4 PATHS


made the build happy for me.  It seems still other systems have lrelease4 instead.

mean

Now checking for both lrelease and lrelease-qt4
Do you know who is using lrelease4 ?

ajschult

Unfortunately, no.  But it seemed common among scripts that were sniffing for lrelease.

http://ostree.gnome.org/work/checkouts/yocto/meta/recipes-devtools/cmake/cmake/support-oe-qt4-tools-names.patch
looks like OpenEmbedded uses it (whatever that is!).

Jan Gruuthuse

Wiki OpenEmbedded and OpenEmbedded
devices: BeagleBoard, Buglabs-BUG, Cm-x270, IMote2, MotorolaEzx, OpenmokoNeo, OXNAS, Ronetix-PM9263, SheevaPlug, Zaurus, ...