Hi,
I got this error compiling 0.12 pre:
" . . . Making all in po make[2]: Entrando no diretório `/var/tmp/geany-0.12pre/po' file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po /bin/sh: -o: not found make[2]: ** [be.gmo] Erro 127 make[2]: Saindo do diretório `/var/tmp/geany-0.12pre/po' . . . "
Thanks, Rodrigo
On Wed, 10 Oct 2007 10:07:40 -0300, "Rodrigo Canellas" rodrigo.canellas@gmail.com wrote:
Hi,
I got this error compiling 0.12 pre:
" . . . Making all in po make[2]: Entrando no diretório `/var/tmp/geany-0.12pre/po' file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po /bin/sh: -o: not found make[2]: ** [be.gmo] Erro 127 make[2]: Saindo do diretório `/var/tmp/geany-0.12pre/po'
Make sure you have installed the gettext and intltool packages as well as their dev packages. Which distribution do you use?
Regards, Enrico
*off-list*
On 10/10/07 15:11:07, Enrico Tröger wrote:
On Wed, 10 Oct 2007 10:07:40 -0300, "Rodrigo Canellas" rodrigo.canellas@gmail.com wrote:
Hi,
I got this error compiling 0.12 pre:
Making all in po make[2]: Entrando no diretório `/var/tmp/geany-0.12pre/po' file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po /bin/sh: -o: not found make[2]: ** [be.gmo] Erro 127 make[2]: Saindo do diretório `/var/tmp/geany-0.12pre/po'
It seems to be from these lines in po/Makefile.in.in:
.po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $<
Perhaps we should add a ./configure test to prevent this, it does seem a confusing error message. But what would we check for? I couldn't work out what $(GMSGFMT) should be.
Make sure you have installed the gettext and intltool packages as well as their dev packages. Which distribution do you use?
Is intltool really necessary for building the .tar.gz?
(BTW, at least on Fedora Core 5, I haven't needed to install gettext- devel, and there doesn't seem to be an intltool-devel package, but of course I have gettext and intltool).
Regards, Nick
On Thu, 11 Oct 2007 17:32:52 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
I got this error compiling 0.12 pre:
Making all in po make[2]: Entrando no diretório `/var/tmp/geany-0.12pre/po' file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po /bin/sh: -o: not found make[2]: ** [be.gmo] Erro 127 make[2]: Saindo do diretório `/var/tmp/geany-0.12pre/po'
It seems to be from these lines in po/Makefile.in.in:
.po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $<
Perhaps we should add a ./configure test to prevent this, it does seem a confusing error message. But what would we check for? I couldn't work out what $(GMSGFMT) should be.
I'm not sure. ./configure itself checks for msgfmt and in my generated po/Makefile $GMSGFMT is set to /usr/bin/msgfmt (same as $MSGFMT). I have no clue why it wasn't set on Rodrigo's system.
Make sure you have installed the gettext and intltool packages as well as their dev packages. Which distribution do you use?
Is intltool really necessary for building the .tar.gz?
It seems it is not necessary. The used intltool-merge script is bundled in the tarball, so there is probably no need for having intltool itself installed on the target system. At least, I just uninstalled intltool locally and did a successfully configure && make && make install of the 0.12 tarball.
Regards, Enrico
On Mon, 15 Oct 2007 15:32:41 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 11 Oct 2007 17:32:52 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
I got this error compiling 0.12 pre:
Making all in po make[2]: Entrando no diretório `/var/tmp/geany-0.12pre/po' file=`echo be | sed 's,.*/,,'`.gmo \ && rm -f $file && -o $file be.po /bin/sh: -o: not found make[2]: ** [be.gmo] Erro 127 make[2]: Saindo do diretório `/var/tmp/geany-0.12pre/po'
It seems to be from these lines in po/Makefile.in.in:
.po.gmo: file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $<
Perhaps we should add a ./configure test to prevent this, it does seem a confusing error message. But what would we check for? I couldn't work out what $(GMSGFMT) should be.
I'm not sure. ./configure itself checks for msgfmt and in my generated
I was wrong, it does not. The above happens when msgfmt isn't found on the system. IMO, the macro AM_GLIB_GNU_GETTEXT from GLib we use in configure.in to initialize all gettext support should explicitly check for msgfmt and fail if it is missing. But it doesn't so I opened a bug report against GLib.
http://bugzilla.gnome.org/show_bug.cgi?id=488235
As a workaround, I will add a configure check especially for msgfmt.
Regards, Enrico