LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Error while compiling Pidgin 2.0 (http://www.linuxquestions.org/questions/ubuntu-63/error-while-compiling-pidgin-2-0-a-553316/)

huxflux 05-12-2007 01:47 AM

Error while compiling Pidgin 2.0
 
I've run both
Code:

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

as well as simple configure
Code:

$./configure
and everytime, I get this error while running 'mske':
Code:

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]: *** [af.gmo] 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 10:24 AM

The problem is this
Quote:

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
Code:

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.
Code:

apt-get install gettext

IndyGunFreak 05-12-2007 03: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

http://www.gnome-look.org/content/sh...?content=57356

IGF


All times are GMT -5. The time now is 02:13 AM.