-   Ubuntu (
-   -   Error while compiling Pidgin 2.0 (

huxflux 05-12-2007 02:47 AM

Error while compiling Pidgin 2.0
I've run both

./configure --enable-gnutls=yes --enable-mono --enable-nm --enable-consoleui --enable-gevolution --enable-gstreamer --enable-plugins --disable-schemas-install --enable-screensaver

as well as simple configure

and everytime, I get this error while running 'mske':

make[3]: Leaving directory `/root/shitz/downloads/pidgin-2.0.0/pidgin'
make[2]: Leaving directory `/root/shitz/downloads/pidgin-2.0.0/pidgin'
Making all in m4macros
make[2]: Entering directory `/root/shitz/downloads/pidgin-2.0.0/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/shitz/downloads/pidgin-2.0.0/m4macros'
Making all in po
make[2]: Entering directory `/root/shitz/downloads/pidgin-2.0.0/po'
file=`echo af | sed 's,.*/,,'`.gmo \
          && rm -f $file &&  -o $file af.po
/bin/sh: line 1: -o: command not found
make[2]: *** [] Error 127
make[2]: Leaving directory `/root/shitz/downloads/pidgin-2.0.0/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/shitz/downloads/pidgin-2.0.0'
make: *** [all] Error 2

I'm running Ubuntu Feisty.

Any ideas on how to fix this? thanks

weibullguy 05-12-2007 11:24 AM

The problem is this

file=`echo ar | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file ar.po
/bin/sh: line 1: -o: command not found
The command -o can't be found. The actual line from the Makefile is something like this

file=`echo $* | sed 's,.*/,,'`.gmo \
          && rm -f $$file && $(GMSGFMT) -o $$file $

The variable $(GMSGFMT) is apparently not set on your system. The GMSGFMT variable should be set by the configure script. Gettext is required to set GMSGFMT. I've seen several people having problems with this on Debian and *buntu systems. In all of the solutions I've seen, installing the gettext package was common.

apt-get install gettext

IndyGunFreak 05-12-2007 04:02 PM

Not exactly the site you'd go to to look for a file like this, but here's the .deb file. It worked fine for me on my PC and Laptop


All times are GMT -5. The time now is 04:09 PM.