[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bombermaze-dev] unable to compile bombermaze
From: |
Sydney Andrew Tang |
Subject: |
Re: [bombermaze-dev] unable to compile bombermaze |
Date: |
Wed, 17 Jul 2002 18:35:16 -0600 (MDT) |
I got all the latest sources from CVS and put them into a fresh. empty
folder to avoid any possible contamination from pre-existing files.
Doing only the configure and make, I was able to build the entire package
with no errors.
Perhaps configure isn't working correctly. Looking at the output of
"make" that you had, I notice that there is no command-line option that
looks like "-I/usr/include/gdk-pixbuf-1.0". However, based on the
directories given to you by "rpm -ql", there needs to be an option that
looks like this.
At the top level directory, try doing
$ automake
$ autoconf
$ ./configure --prefix=/usr
$ make
To see if the adding "automake; autoconf" helps at all.
You would not previously have been able to do this, because until today, I
had neglected to add the AUTHORS file to CVS, and AUTHORS is required by
automake. It's there now, so you should be able to run automake. I also
made a change to configure, but it was only to add the classicbman and
stickdeath themes, so I don't think that change would have any impact on
whether the package builds OK or not.
When I did the 4 steps listed above, everything also worked fine for me,
but then I have the relevant include file located at:
/usr/include/gdk-pixbuf/gdk-pixbuf.h
My guess is that automake; autoconf will still not work for you.
If they do not, then try modifying src/Makefile.am so that the line that
reads
CPPFLAGS = -Wall
becomes
CPPFLAGS = -Wall $(GDK_PIXBUF_CFLAGS)
instead. Then do automake; autoconf; configure --prefix=/usr; make;
If that does not work, try undoing the above change and then adding a line
that looks like:
$(GDK_PIXBUF_CFLAGS)
After the line that looks like
INCLUDES = -I$(top_srcdir) -I$(includedir) $(GNOME_INCLUDEDIR) \
in src/Makefile.am
Let me know what happens.
On Tue, 16 Jul 2002, Mathieu Roy wrote:
> From the cvs tree
>
> ./configure --prefix=/usr && make
>
> make[3]: Entre dans le r?pertoire `/home/vrac/bombermaze/src'
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include
> -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
> -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2
> -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2
> -I/usr/X11R6/include -DG_LOG_DOMAIN=\"bombermaze\"
> -DGNOMELOCALEDIR=\""/usr/share/locale"\"
> -DPACKAGE_DATADIR=\"/usr/share/bombermaze\" -I../intl -I../intl
> -Wall -g -O2 -c ui.cc
> ui.cc:33:35: gdk-pixbuf/gdk-pixbuf.h: Aucun fichier ou r?pertoire de ce
> type
> make[3]: *** [ui.o] Erreur 1
> make[3]: Quitte le r?pertoire `/home/vrac/bombermaze/src'
> make[2]: *** [all-recursive] Erreur 1
>
> despite the fact that ...
>
> address@hidden bombermaze]$ rpm -ql gdk-pixbuf-devel | grep h
> /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf-features.h
> /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf-loader.h
> /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf-xlib.h
> /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf-xlibrgb.h
> /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gdk-pixbuf.h
> /usr/include/gdk-pixbuf-1.0/gdk-pixbuf/gnome-canvas-pixbuf.h
> [...]
>
> others infos:
> address@hidden bombermaze]$ rpm -qv gdk-pixbuf
> gdk-pixbuf-0.14.0-8
> address@hidden bombermaze]$ rpm -qv gcc gcc-2.96-110