LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-26-2010, 11:22 PM   #1
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 809

Rep: Reputation: 96
Gcompris build fails


I had gcompris running on my -current box a few weeks ago (I built it from source; I simply cannot get the current Slackbuilds.org script to work with the current version), but wound up removing for a couple of reasons. Now I'm trying to reinstall and it won't let me! ./configure runs fine, but when I run make I get this:

Code:
CC     goocanvas.lo
cc1: warnings being treated as errors
goocanvas.c: In function 'goo_canvas_init':
goocanvas.c:481:3: error: implicit declaration of function 'GTK_OBJECT_FLAGS'
goocanvas.c:481:3: error: lvalue required as left operand of assignment
goocanvas.c: In function 'goo_canvas_realize':
goocanvas.c:1457:3: error: lvalue required as left operand of assignment
goocanvas.c: In function 'goo_canvas_map':
goocanvas.c:1569:3: error: lvalue required as left operand of assignment
goocanvas.c: In function 'goo_canvas_expose_event':
goocanvas.c:2729:7: error: implicit declaration of function 'gdk_draw_rectangle'
goocanvas.c: In function 'goo_canvas_focus_in':
goocanvas.c:3261:3: error: lvalue required as left operand of assignment
goocanvas.c: In function 'goo_canvas_focus_out':
goocanvas.c:3277:3: error: lvalue required as left operand of assignment
make[5]: *** [goocanvas.lo] Error 1
make[5]: Leaving directory `/home/gene/gcompris-9.3/src/goocanvas/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/gene/gcompris-9.3/src/goocanvas/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gene/gcompris-9.3/src/goocanvas'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gene/gcompris-9.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gene/gcompris-9.3'
make: *** [all] Error 2
Anyone know what's going on?
 
Old 11-26-2010, 11:50 PM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Running -current guarantees stuff like that will happen every once in a while.
Updated toolchain, GCC, make or even GTK+2, which seems to be the case here.
The first thing to do in most occasions is aquiring the latest upstream available version of the application source code.
Gcompris 9.3 is available, so use that one.
Also take a look at this build script and especially the sed lines.
Hope it helps in the process.

Last edited by sahko; 11-27-2010 at 12:17 AM. Reason: typo
 
Old 11-27-2010, 08:28 AM   #3
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 809

Original Poster
Rep: Reputation: 96
I am using 9.3. I'll look over that build script and see what I can learn. I'm studying build scripts... it's my ambition to write them.
 
Old 11-27-2010, 09:00 AM   #4
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 809

Original Poster
Rep: Reputation: 96
I'm going to try something sneaky... I'm going to build the thing with the older tools on one of my 13.1 boxes and then see if the package will install on -current. Will let you know...
 
Old 11-27-2010, 11:00 AM   #5
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 809

Original Poster
Rep: Reputation: 96
Gcompris 9.3 builds successfully on 13.1 with some modifications to the build script. I'll try installing the package on -current this afternoon.
 
Old 11-27-2010, 06:22 PM   #6
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Slackware 13.1
Posts: 809

Original Poster
Rep: Reputation: 96
Almost forgot to report back in... the package I built on my 13.1 box installed flawlessly on the -current machine. Thanks, sahko.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] easystroke 0.5.3 build fails imitis Slackware 7 06-23-2010 08:42 AM
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
Build Fails - Arguments? tronayne Amigo 2 02-10-2008 01:32 PM
pymedia fails to build shanenin Programming 0 07-29-2005 03:26 PM
postgresql build fails j-ray Linux - Software 3 09-06-2002 07:37 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration