Friday, January 2, 2009

Gyache on Ubuntu

Target: To have Yahoo messenger running on Ubuntu.
Now, Yahoo is not available for any linux flavor, so I searched for Yahoo equivalent IMs and found a ton of them, although they do not support integrating with Yahoo's webcam and voice. The only one that I came across is Gyache/Gyachi/Gyachl.

The following is painfull, and recommend to only those who like to enjoy pain once in a while. Building Gyache from source.

1> Downloaded Gyache from Sourceforge http://downloads.sourceforge.net/gyachi/gyachi-1.1.60.tar.gz
2> Extracted the gz file via File Roller Archive Manager in a folder called Applications
3> Opened a terminal went to the extracted folder and ran ./autogen.sh
4> Error: automake not found.
4.1> Opened Synaptics Package Manager and hunted for latest version of automake, marked for installation and applied the change.
4.2> Synaptics downloaded the package and installed it.
5> Ran ./autogen.sh again.
5.1> Error: macro `AM_PATH_GTK_2_0' not found in library
5.2> Opened Synaptics again and marked the libgtk2.0-dev package for installation. This package imported (dependencies) around 40 other packages which were needed anyways like glib, X and others.
6> Ran ./autogen.sh again. No errors. These were the messages...

~/Applications/gyachi-1.1.60$ ./autogen.sh
searching for GNU gettext intl directory...
-> /usr/share/gettext/intl ... found it
copying gettext intl files ...
running aclocal ...
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
/usr/share/aclocal/lock.m4:29: gl_LOCK_EARLY_BODY is expanded from...
/usr/share/aclocal/lock.m4:22: gl_LOCK_EARLY is expanded from...
/usr/share/aclocal/lock.m4:253: gl_LOCK is expanded from...
/usr/share/aclocal/intl.m4:186: gt_INTL_SUBDIR_CORE is expanded from...
/usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from...
/usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_MINIX
running libtoolize ...
running autoheader ...
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
aclocal.m4:9967: gl_LOCK_EARLY_BODY is expanded from...
aclocal.m4:9960: gl_LOCK_EARLY is expanded from...
aclocal.m4:10191: gl_LOCK is expanded from...
aclocal.m4:1340: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:1179: AM_INTL_SUBDIR is expanded from...
aclocal.m4:92: AM_GNU_GETTEXT is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_MINIX
running automake ...
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
aclocal.m4:9967: gl_LOCK_EARLY_BODY is expanded from...
aclocal.m4:9960: gl_LOCK_EARLY is expanded from...
aclocal.m4:10191: gl_LOCK is expanded from...
aclocal.m4:1340: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:1179: AM_INTL_SUBDIR is expanded from...
aclocal.m4:92: AM_GNU_GETTEXT is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_MINIX
configure.ac:14: installing `./config.guess'
configure.ac:14: installing `./config.sub'
running autoconf ...
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:389: AC_USE_SYSTEM_EXTENSIONS is expanded from...
aclocal.m4:9967: gl_LOCK_EARLY_BODY is expanded from...
aclocal.m4:9960: gl_LOCK_EARLY is expanded from...
aclocal.m4:10191: gl_LOCK is expanded from...
aclocal.m4:1340: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:1179: AM_INTL_SUBDIR is expanded from...
aclocal.m4:92: AM_GNU_GETTEXT is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_AIX
../../lib/autoconf/specific.m4:436: AC_AIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_AIX
configure.ac:15: warning: AC_COMPILE_IFELSE was called before AC_MINIX
../../lib/autoconf/specific.m4:460: AC_MINIX is expanded from...
configure.ac:15: warning: AC_RUN_IFELSE was called before AC_MINIX
if no errors occured, run ./configure --enable-maintainer-mode

7> Copy pasted the command in the last line (message)
7.1> The installer checked for a lot of libraries and eventually gave me this...
configure: error: cannot find include file gpgme.h. Perhaps you need to install the gpgme development package?
7.2> Went to Synaptic again and searched for gpgme and installed the libgpgme11-dev package.
7.3> configure: error: cannot find include file mcrypt.h. Perhaps you need to install the mcrypt (or libmcrypt) development package?
7.4> From Synaptics (its obvious by now isn't it) searched and installed...libmcrypt-dev. This I had to search in the ALL category.
7.5> configure: error: cannot find include file notification.h. Perhaps you need to install the libnotify development package?
7.6> From Synaptics searched and installed ... libnotify-dev package
7.7> checking for ALSA... configure: error: Package requirements (alsa >= 0.9.8) were not met:
7.8> From Synaptics search and installed ... libasound2-dev package
7.9> configure: error: cannot find include files for libpulse-simple. Perhaps you need to install the libpulse or libpulse-simple development package?
7.10> From Synaptics searched and installed ... libpulse-dev package
7.11> configure: error: cannot find openssl package. Perhaps you need to install the openssl or openssl development package?
7.12> From Synacptics searched and installed ... libssl-dev package
7.13> checking for GTKHTML... configure: error: Package requirements (libgtkhtml-2.0 >= 2.0) were not met
7.14> From Synaptics searched and installed ... libgtkhtml3.14-dev (it installed 25 dependencies)
7.15> Didn't solve the problem so installed ... libgtkhtml2-dev and libgtkhtml3.14-dbg
7.16> configure: error: cannot find jasper and/or jpeg library. Perhaps you need to install the jasper development or jpeg development package?
7.17> From Synaptics searched and installed ... libjasper-dev and libjasper-runtime and libjpeg62-dev
7.18> configure: error: cannot find the convert program. Perhaps you need to install ImageMagick ?
7.19> From Synaptics searched and installed ... imagemagick package

8> Configure complete run make
9> make
10> lots of messages and finally this error
gyachi-gtkspell.c:55: error: ‘GtkSpell’ undeclared (first use in this function)
10.1> From Synaptics searched and installed ... libgtkspell-dev package
11> make install

I managed to get Gyache running, however I haven't managed to get the webcam and voice running yet.

5 comments :

Anonymous said...

lol... you've been using synaptic.. me google and terminall lol

Tubagus said...

i think it's ok. this is good article. much better than laughing someone for vanity.

Sanjose said...

This is an excellant article. Finally I managed to install gyachi

Ani Dadu said...

I have webcam and voice up and running on Skype on Ubuntu.
Pretty easy hassle free setup and configuration.

Giacomo said...

Excelente tutorial!!! esta fantástico.. finalmente logre instalarlo

Powered by Blogger.