[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling Katoob



On 10 Jun 2002, Mohammed Sameer wrote:

> On Mon, 2002-06-10 at 20:48, Behdad Esfahbod wrote:
>     Hi all,
>     
>     Finally I checked out the arabeyes CVS today to have a look.  I 
>     compiled a full gtk-2.0.3 without any serious problem.  Then I 
>     started to compile katoob, which I found I'm going to have lots 
>     of troubles:
>     
>     	* The first is that the new gtk and friends (pango, glib, 
>     ...), use pkg-config, and there is no gtk-config-2.0 anymore, so 
>     the configure for katoob nagged about an old verison of gtk-2.0, 
>     what I did to fix it was copying an old gtk-config-2.0 and hack 
>     it to work for the new one.
> that's strange i know about pkg-config, 
> where did you install pkg-config, gtk, tec.......
> -prefix= ??

in /home/behdad, I have set up everything to be found in my home.

> is the dir where you installed pkg-config in your path ?

Ofcourse.

> "on my system it's in /usr/bin"

And in mine in /home/behdad/bin

> there is an environmental variable PKG_CONFIG_PATH it should point to
> where the gtk+2.0.pc is installed

[behdad at gilas behdad]$ ls $PKG_CONFIG_PATH/gtk* | cat
/home/behdad/lib/pkgconfig/gtk+-2.0.pc
/home/behdad/lib/pkgconfig/gtk+-x11-2.0.pc

>     	* The next problem was with 2 unresolved autoconf symbols 
>     BUILD_INCLUDED_LIBINTL and INTL_LIBTOOL_SUFFIX_PREFIX which were 
>     used in intl/makefile.in, what I did was adding following files 
>     in configure.in and then running autoconf:
>     
>     	BUILD_INCLUDED_LIBINTL=yes
>     	AC_SUBST(BUILD_INCLUDED_LIBINTL)
>     	INTL_LIBTOOL_SUFFIX_PREFIX=l
>     	AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
> the gettext portion of the makefiles is the most stupid part. don't ask
> me how i made them done
>
>     	* Another problem arised with libtool, it seems that the 
>     package needs libtool (the error was so), but not libtoolized, 
>     what I did was:
>     
>     	- run libtoolize.
>     	- copy libtool and ltconfig from some other project.
>     	- add one line containing AM_PROG_LIBTOOL in configure.in 
>     and rerun autoconf.
> 
> sure you'll need libtool if you decide to use the included gettext.

Wow!  Why doesn't it use the gettext installed on system by 
default?
     
>     After all these the compilation went somehow smooth, but when I 
>     tried to run it, I got following errors, which this time I really 
>     don't know how to cope with:
>     
>     
> do you have a .gtk2rc file in your home directory ?
> it looks like an issue with the fonts

No I don't have, and don't know how to create one.  Is it only a 
font problem? So harsh?

> was you able to run any gtk2 application also ?

I easily run gtk-demo.

>     And I really don't know what to do :(.
>     
>     Also I may be of some use if have commit access to arabeyes CVS.
>     
> that's for mo. elzubeir ;)

Yes.

--
Behdad Esfahbod				20 Khordad 1381, 2002 Jun 10
http://behdad.org/			[Finger for Geek Code]

Ritchie's Rule:
	(1) Everything has some value -- if you use the right currency.
	(2) Paint splashes last longer than the paint job.
	(3) Search and ye shall find -- but make sure it was lost.