LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pango 1.4.0 and glib.h errors (https://www.linuxquestions.org/questions/linux-newbie-8/pango-1-4-0-and-glib-h-errors-160521/)

thehundredthone 03-21-2004 07:20 AM

pango 1.4.0 and glib.h errors
 
i'm trying to compile gtk-2.4 for myself but pango and atk are acting up :(

when i first tried to compile pango it had a pkg-config error which i resolved. but now it wanted glib.h i was wondering why it hadn't found it because i had already installed glib-2.4. so i went into the glib-2.4.0 source dir and copied glib.h into my /usr/local/include. now it wanted even more headers. i then delved into the glib dir of my glib-2.4 source and copied those files into /usr/local/include/glib/ but now make gives millions of errors like:

In file included from /usr/local/include/glib.h:64,
from otlbuffer.h:17,
from ftxopen.h:283,
from ftxopen.c:18:
/usr/local/include/glib/gstrfuncs.h:50: error: syntax error before '*' token
/usr/local/include/glib/gstrfuncs.h:104: error: syntax error before "g_strlcpy"
/usr/local/include/glib/gstrfuncs.h:106: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:107: error: syntax error before "g_strlcat"
/usr/local/include/glib/gstrfuncs.h:109: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:111: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:116: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:130: error: syntax error before "g_ascii_strtoull"
/usr/local/include/glib/gstrfuncs.h:156: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:158: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:160: error: syntax error before "gssize"
/usr/local/include/glib/gstrfuncs.h:188: error: syntax error before "gsize"
/usr/local/include/glib/gstrfuncs.h:189: error: syntax error before "length"

atk gives this:
make[2]: Entering directory `/2/atk-1.6.0/atk'
..//usr/lib/pkgconfig/gobject/glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: line 1: ..//usr/lib/pkgconfig/gobject/glib-genmarshal: No such file or directory

how do i get this to work?? :confused:

Andrew Benton 03-21-2004 10:12 AM

Gtk-2.4 and glib-2.4 are brand new, cutting edge packages. I've never built them so I can't help you with your problem, I'm just curious. What program is it that you're trying to compile that needs gtk-2.4 and can't get by with good old, tried and tested gtk-2.2? Don't get me wrong, I'm all in favour of keeping everything up to date, but...

thehundredthone 03-21-2004 10:15 AM

nothing at all! :p

i just compiled 2.6.4 with ck1 so i thought i might as well update a few other packages - xfce 4.0.4 and gtk. i was thinking of downloading the freedesktop.org X server but decided against it for lack of space

my problem was that pango - which was looking for glib-2.4 is also looking for glib headers. why?

btw. how fast is LFS? can you install apt-get,yum and rpm on it?

tux21 03-28-2006 12:58 PM

/bin/sh: line 1: ..//usr/lib/pkgconfig/gobject/glib-genmarshal: No such file or directory


FOR THIS ERROR ENSURE THAT U HAVE REMOVED ALL

*-uninstalled.pc (eg : glib-2.0-uninstalled.pc) files

from /usr/lib/pkgconfig & /usr/local/lib/pkgconfig .

also once u compile a package sucessfully copy the *.pc files in the compile dir to the above dirs .

foo_bar_foo 03-28-2006 11:25 PM

Quote:

Originally Posted by thehundredthone
btw. how fast is LFS? can you install apt-get,yum and rpm on it?

LFS is the fastest distro of all if you know what you are doing.
you can install package managers on LFS to use to force install packages you can't find otherwise but these package managers will not "manage your packages".



Quote:

when i first tried to compile pango it had a pkg-config error which i resolved.
apearently you did not resolve this properly


All times are GMT -5. The time now is 07:50 AM.