LinuxQuestions.org
Visit Jeremy's Blog.
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 07-02-2009, 12:14 PM   #1
CMarshall
LQ Newbie
 
Registered: Jul 2009
Location: Batavia, IL
Distribution: ScientificLinux
Posts: 2

Rep: Reputation: 0
GTK+ 2.16.3 will not make


I am trying to build GTK+ 2.16.3 on ScientificLinux. I have installed (I think correctly, but am not 100% positive) the following packages to support building GTK:
glib 2.20.4
pkg-config-0.23
atk 1.13.0
Cairo 1.8.8
Pango 1.24.2
Pixman 0.12.0
Freetype 2.3.9
Fontconfig 2.7.0

The ./configure step works fine with GTK, but the make step terminates with the following error
../../../modules/other/gail/gailutil.h:62: error: syntax error before "AtkMisc"
../../../modules/other/gail/gailutil.h:62: warning: no semicolon at end of struct or union
../../../modules/other/gail/gailutil.h:69: error: syntax error before "AtkMiscClass"
../../../modules/other/gail/gailutil.h:69: warning: no semicolon at end of struct or union
make[1]: *** [libgail_la-gail.lo] Error 1
make[1]: Leaving directory '/mydirectory/gtk+-2.16.3/modules/other/gail'
make: *** [all-recursive] Error 1

I looked inside the gailutil.h file and there does not appear to be a syntax error. Here is an excerpt of the code with line numbers:

60 struct _GailMisc
61 {
62 AtkMisc parent;
63 };
64
65 GType gail_misc_get_type (void);
66
67 struct _GailMiscClass
68 {
69 AtkMiscClass parent_class;
70 };

Any experience with an error like this? Any ideas are much appreciated.

Thanks.
 
Old 07-03-2009, 10:08 AM   #2
shpenat
Member
 
Registered: Dec 2008
Distribution: LFS
Posts: 99

Rep: Reputation: 21
GTK+-2.16.3 is pretty new so I have no experiences. Can you tell us, whether you used any parameters in .configure and what gcc and glibc do you use?
 
Old 07-03-2009, 02:09 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
You will NOT be able to build and install a new gtk on ScientificLinux - easily

you Might if you install everything ( and i DO MEAN build and install EVERYTHING needed -- ps by the time you are done with that you will have build fedora 11 from scratch --

build and install EVERY dependency in a "build folder " that IS NOT IN THE SYSTEM PATH
and use the cflags and linker flags to point to EVERYTHING that you build on top of those -- ps this will mean EVERYTHING above glib--

for the most part you will be building Gnome from scratch

and if you install anything "new" on top of the ScientificLinux 's version you WILL KILL the OS
DO NOT INSTALL ANY OF THE NEW CODE IN /usr or /usr/local THAT WILL KILL "ScientificLinux" but install it some place like /usr/opt or /opt, or /opt/NEWgtk
 
  


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
gtk make error, PLEASE HELP...... mpshevate Linux - Software 1 09-16-2007 06:37 AM
problem of GTK+ make makalan SUSE / openSUSE 9 07-27-2006 04:50 AM
GTK+2.8.1 make errors tiggur Mandriva 1 09-25-2005 05:59 PM
how to make gtk programs kira Programming 1 04-28-2005 07:34 AM
Make gtk+ failure arubin Slackware 7 06-06-2004 05:43 AM

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

All times are GMT -5. The time now is 12:13 AM.

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