LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-21-2004, 07:20 AM   #1
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
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??

Last edited by thehundredthone; 03-21-2004 at 07:25 AM.
 
Old 03-21-2004, 10:12 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
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...
 
Old 03-21-2004, 10:15 AM   #3
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Original Poster
Rep: Reputation: 15
Talking

nothing at all!

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?
 
Old 03-28-2006, 12:58 PM   #4
tux21
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 1
/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 .

Last edited by tux21; 03-28-2006 at 01:03 PM.
 
Old 03-28-2006, 11:25 PM   #5
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I *just installed* glib but pango can't find it Avatar Linux - Software 5 09-14-2005 01:07 PM
updating GLib..or pango...or gtk+ or etc etc nadroj Linux - Software 7 01-16-2005 01:54 AM
Pango wants >=glib-2.4.0, I installed glib 2.4.7 and pango still says I need >=2.4.0 Locura Red Hat 5 11-01-2004 05:53 PM
Pango won't install because GLib >=2.4 is required!? black hole sun Linux - Software 18 09-08-2004 07:13 PM
Pango-1.2.1 and GLib-2.2.1 Adam Shapiro Linux - Software 0 04-19-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration