[OTR-users] configure: error: glib

Noah Spam noah_spam at cox.net
Thu May 4 00:20:43 EDT 2006


I am having a problem compiling gaim-otr-3.0.0 under SuSE 10.0. Here is
what I am entering and what I get out:

noah_spam at Susan:~/Downloads/gaim/gaim-otr-3.0.0> aclocal -I ./
noah_spam at Susan:~/Downloads/gaim/gaim-otr-3.0.0> ./configure
--prefix=/usr --mandir=/usr/share/man
...
...
...
checking for glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 gaim >= 1.0... configure:
error: glib
./configure: line 19502: exit: gtk: numeric argument required
./configure: line 19502: exit: gtk: numeric argument required
noah_spam at Susan:~/My Downloads/gaim/gaim-otr-3.0.0> pkg-config --libs
"glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 gaim >= 1.0"
Package gaim was not found in the pkg-config search path.
Perhaps you should add the directory containing `gaim.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gaim' found

But I DO have the -devel packages installed. YaST2 reports:
glib2-devel  2.1.8-3
gtk2-devel   2.8.3-4.3

and I have...
gaim         1.5.0-3

Regarding line 19502, it looks like a bug to me.This is what it says:
   { (exit gtk and gaim required); exit gtk and gaim required; }; }

I think that is buggy. It should (please correct me if I am wrong) say
something like:
   { (echo "gtk and gaim required"); exit 1; }; }


Going throught the email archinves, it appears that I am not the first
with this issue:
(http://lists.cypherpunks.ca/pipermail/otr-users/2005-December/000498.html )

Unfortuantely, I don't know what the solution is. Perhaps an environment
variable not set correctly? (reference:
http://lists.cypherpunks.ca/pipermail/otr-users/2006-February/000562.html )

What environment variables are wrong? My related ones, that I could
find, are:
GTK_PATH=/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0
GTK2_RC_FILES=/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes//Qt/gtk-2.0/gtkrc:/home/noah_spam/.gtkrc-2.0-qtengine:/home/noah_spam/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/opt/gnome/gtk/gtkrc:/home/noah_spam/.gtkrc:/home/noah_spam/.kde/share/config/gtkrc
ACLOCAL_FLAGS=-I /opt/gnome/share/aclocal



So how do I compile and install this plugin?


Thanks,
NS




More information about the OTR-users mailing list