Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-Nov-2005, 17:30
Craig Harrison
Guest
 
Posts: n/a
Default Gweled 0.7

As a Palm Device owner (and addict of Bejeweled) I was amazed to find an
Open source version for Linux. SO O downloaded the Source, Now I find I
am unable to compile it. the configure complete succesfully but when
trying to compile it with make ib bombs out. THe logs are below if
anyone could shed any light on this...

First the Configure messages

craig@AmsTech-Desktop:~/gweled-0.7> ls
acconfig.h config.h.in depcomp install-sh NEWS src
aclocal.m4 configure gweled.desktop Makefile.am pixmaps
AUTHORS configure.in gweled.png Makefile.in README
ChangeLog COPYING INSTALL missing sounds
craig@AmsTech-Desktop:~/gweled-0.7> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libglade-2.0,libgnomeui-2.0,librsvg-2.0... yes
checking PACKAGE_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/libart-2.0
-I/opt/gnome/include/libglade-2.0 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0
-I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gconf/2
-I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0
-I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0
-I/opt/gnome/lib/gnome-vfs-2.0/include
-I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/librsvg-2
checking PACKAGE_LIBS... -Wl,--export-dynamic -pthread -L/opt/gnome/lib
-L/usr/X11R6/lib -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2
-lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2
-lbonobo-activation -lORBit-2 -lgthread-2.0 -lrsvg-2 -lgdk_pixbuf-2.0
-lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Configuration:

Source code location: .
Compiler: gcc

Use setgid binaries true
Scores user games
Scores & setgid group games

craig@AmsTech-Desktop:~/gweled-0.7>

And now the compilation (that fails)

craig@AmsTech-Desktop:~/gweled-0.7> make
make all-recursive
make[1]: Entering directory `/home/craig/gweled-0.7'
Making all in src
make[2]: Entering directory `/home/craig/gweled-0.7/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_DATA_DIR=\""/usr/local/share"\"
-DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/libxml2
-I/usr/include/libart-2.0 -I/opt/gnome/include/libglade-2.0
-I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include
-I/usr/X11R6/include -I/opt/gnome/include/atk-1.0
-I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/libgnomeui-2.0
-I/opt/gnome/include/libgnome-2.0
-I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gconf/2
-I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0
-I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0
-I/opt/gnome/lib/gnome-vfs-2.0/include
-I/opt/gnome/include/bonobo-activation-2.0
-I/opt/gnome/include/librsvg-2 -g -O2 -pthread -D_REENTRANT -MT
main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
In file included from /opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:33,
from /opt/gnome/include/gtk-2.0/gdk/gdkcursor.h:5,
from /opt/gnome/include/gtk-2.0/gdk/gdk.h:31,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163: error:
syntax error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:163: warning:
data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:184: error:
syntax error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:184: warning:
data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:201: error:
syntax error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:201: warning:
data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:129: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:129: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: warning: data definition
has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:438: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:438: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: warning: data definition
has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:177: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:177: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:181: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:181: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:185: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:185: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:133: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:133: warning: data definition
has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:143: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:143: warning: data definition
has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:26,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcombobox.h:25,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:65,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:82,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: error: syntax
error before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: data
definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:158,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:4,
from main.c:29:
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:189: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:189: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:196: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:196: warning: data
definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:295: error: syntax error
before "G_GNUC_SENTINEL"
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:295: warning: data
definition has no type or storage class
In file included from
/opt/gnome/include/libgnome-2.0/libgnome/libgnome.h:29,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:5,
from main.c:29:
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:35:18: popt.h:
No such file or directory
In file included from
/opt/gnome/include/libgnome-2.0/libgnome/libgnome.h:29,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:5,
from main.c:29:
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:195: error:
syntax error before "gnome_program_preinit"
/opt/gnome/include/libgnome-2.0/libgnome/gnome-program.h:198: warning:
data definition has no type or storage class
In file included from
/opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:55,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:7,
from main.c:29:
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-ui-init.h:50: error:
syntax error before "poptContext"
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/craig/gweled-0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/craig/gweled-0.7'
make: *** [all] Error 2
craig@AmsTech-Desktop:~/gweled-0.7>

There are a lot of Synta errors in there but I am no sufficiently
tech-minded to work out what is wrong. If anyone knows of an RPM of this
game then I would be eternally grateful

Kind Regards

Craig
  #2 (permalink)  
Old 02-Nov-2005, 02:25
baskitcaise
Guest
 
Posts: n/a
Default Re: Gweled 0.7

Craig Harrison adjusted his/her tinfoil beanie to post:

> As a Palm Device owner (and addict of Bejeweled) I was amazed to find
> an Open source version for Linux. SO O downloaded the Source, Now I
> find I am unable to compile it. the configure complete succesfully but
> when trying to compile it with make ib bombs out. THe logs are below
> if anyone could shed any light on this...


Craig,

Have you made sure you have all the Gnome "devel" rpms installed?

I have just d/loaded and compiled the gweled v7.0 from this site:

http://linux.softpedia.com/progDownl...load-3449.html

And it compiled perfectly here with no added parameters, just a
plain ./configure, make, checkinstall to make the rpm which installs
and runs OK.

This is on 64bit though otherwise I would send you the rpm.

HTH
--
Mark
Twixt hill and high water
N. Wales, UK
Novell Support Forums SysOp

  #3 (permalink)  
Old 02-Nov-2005, 17:46
Craig Harrison
Guest
 
Posts: n/a
Default Re: Gweled 0.7

baskitcaise wrote:

> Have you made sure you have all the Gnome "devel" rpms installed?
>
> I have just d/loaded and compiled the gweled v7.0 from this site:
>
> http://linux.softpedia.com/progDownl...load-3449.html
>
> And it compiled perfectly here with no added parameters, just a
> plain ./configure, make, checkinstall to make the rpm which installs
> and runs OK.
>
> This is on 64bit though otherwise I would send you the rpm.
>
> HTH


OK, Now I am really stumped then, I now have all the Gnome DEVEL
packages installed (including VFS and Bluetooth!!!) and I still get the
same issue. Could anyone with a 32bit system try and make these RPM's
for me as I seem to fail

Regards

Craig
  #4 (permalink)  
Old 03-Nov-2005, 15:12
baskitcaise
Guest
 
Posts: n/a
Default Re: Gweled 0.7

Craig Harrison adjusted his/her tinfoil beanie to post:

> OK, Now I am really stumped then, I now have all the Gnome DEVEL
> packages installed (including VFS and Bluetooth!!!) and I still get
> the same issue. Could anyone with a 32bit system try and make these
> RPM's for me as I seem to fail
>
> Regards
>
> Craig


Craig,

Have just d/loaded the source on a 32bit machine and it compiled
perfectly here again, I have created an rpm with checkinstall, if you
want it you are welcome, it is about 200K, however I do not know if I
have the same version of libs and devel as you so no guarantee that it
will work there, the 32bit machine is a tester and so runs some exotic
versions of stuff but should be pretty standard in gnome.

Drop me a mail on baskitcaise <at> gmx <dot> co <dot> uk with gweled in
the subject line and I will reply with the rpm attached if you want.

HTH
--
Mark
Twixt hill and high water
N. Wales, UK
Novell Support Forums SysOp

  #5 (permalink)  
Old 03-Nov-2005, 18:03
Craig Harrison
Guest
 
Posts: n/a
Default Re: Gweled 0.7 - Now Working

baskitcaise wrote:

> Have just d/loaded the source on a 32bit machine and it compiled
> perfectly here again, I have created an rpm with checkinstall, if you
> want it you are welcome, it is about 200K, however I do not know if I
> have the same version of libs and devel as you so no guarantee that it
> will work there, the 32bit machine is a tester and so runs some exotic
> versions of stuff but should be pretty standard in gnome.
>
> Drop me a mail on baskitcaise <at> gmx <dot> co <dot> uk with gweled in
> the subject line and I will reply with the rpm attached if you want.
>
> HTH


Did this and got the 32 bit RPM, Found the missing libs were

Cairo (Which was missing completely)
Pango and Pango Devel (I had 1.8 installed gweled needs libs only found
in 1.1)

Installed all of these and now gweled works and I can go waste some
valuable time with a stupid (but highly addictive) little game!

Regards

Craig
  #6 (permalink)  
Old 04-Nov-2005, 05:43
baskitcaise
Guest
 
Posts: n/a
Default Re: Gweled 0.7 - Now Working

Craig Harrison adjusted his/her tinfoil beanie to post:


> Did this and got the 32 bit RPM, Found the missing libs were
>
> Cairo (Which was missing completely)
> Pango and Pango Devel (I had 1.8 installed gweled needs libs only
> found in 1.1)
>
> Installed all of these and now gweled works and I can go waste some
> valuable time with a stupid (but highly addictive) little game!
>
> Regards
>
> Craig


Glad to be of help Craig,

After compiling that game and testing it ( rather more than expected ) I
have found it to be very addictive as well :-)

--
Mark
Twixt hill and high water
N. Wales, UK
Novell Support Forums SysOp

 

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2