[gcompris-devel] Re: gcompris autoconf
Bruno Coudoin
bruno.coudoin at free.fr
Mon Nov 25 00:36:01 UTC 2002
I use Mandrake 9.0 at home and can compile gcompris but take care, there
is a comment in the configure.in concerning the ogg path.
Use the mandrake one and comment the other.
Don't know yet which one is the correct one. It will probably converge
at some point I hope.
Then, run
sh ./autogen.sh
That's the magic that will set everything clean to compile.
Bruno.
Le dim 24/11/2002 à 16:05, Håvard Bjåstad a écrit :
> Hi Bruno,
>
> sorry for the long delay, but now I have the machine reconfigured with
> Mandrake 9.0 and am destined to get this translation completed. So I
> went and grabbed the latest sources to try the compilation. Here's what
> I got:
>
> [root at villa gcompris]# ./configure
> loading cache ./config.cache
> ./configure: line 524: syntax error near unexpected token `gcompris,'
> ./configure: line 524: `AM_INIT_AUTOMAKE(gcompris, 1.1.0)'
>
> I think maybe I need a newer version of automake, but I'm not sure.
> Which version do you use?
> Here's mine:
>
> # rpm -q automake
> automake-1.4-21.p6.mdk
>
> HB.
>
> On Thu, 2002-07-18 at 15:23, Bruno Coudoin wrote:
> > It won't work until you install it unless gcompris is already on your
> > system from an rpm for example.
> >
> > By default make install will install gcompris under /usr/local/
> > and thus you must be root
> > to change that, you can do:
> > $ sh ./configure --prefix=/usr
> >
> > Then gcompris will overwrite the rpm one if installed.
> >
> > You can use --prefix=<my home dir>
> > but I believe you won't be able to run it completly from there. At
> > least, i18n won't work.
> >
> > Best is to keep /usr/local unless you know what you are doing.
> >
> > Good luck.
> >
> > Bruno.
> >
> >
> > Le jeu 18/07/2002 à 14:52, Håvard Bjåstad a écrit :
> > > OK, now I got it compiled and linked. So I guess the next step is to do
> > > a 'make install' ?
> > > What exactly does this do? (I'm comfortable doing 'make', since I know
> > > everything's contained within the current directory, but when doing
> > > 'make install' I feel I loose control over my system...)
> > > Can I control where things are installed? Can I run it without doing
> > > 'make install'? Must I be root when doing it (I assume not) ?
> > >
> > > HB.
> > >
> > > On Thu, 2002-07-18 at 14:28, Bruno Coudoin wrote:
> > > OK, we're getting closer. For texi here is what I have:
> > > $ rpm -qf /usr/bin/texi2html
> > > tetex-1.0.7-44mdk
> > >
> > > Bruno.
> > >
> > > Le jeu 18/07/2002 à 14:08, Håvard Bjåstad a écrit :
> > > > I couldn't find gnome-libs-devel any more (only for older Mandrake
> > > > versions), but the files seem to have been moved into
> > > > libgnome32(-devel), cause when I updated them I got further.
> > > >
> > > > You were right about the FAT partition, I ran into another problem:
> > > > Can't link files under FAT :-(
> > > > So, I copied all files to another directory (ext3) to get on...
> > > >
> > > > Now we're hopefully approaching the end of these missing packages...:
> > > >
> > > > texi2html -monolithic gcompris.texi
> > > > make[3]: texi2html: Command not found
> > > >
> > > > HB.
> > > >
> > > > On Thu, 2002-07-18 at 11:21, Bruno Coudoin wrote:
> > > > It is gnome-libs-devel
> > > >
> > > > Bruno.
> > > >
> > > > Le jeu 18/07/2002 à 00:12, Håvard Bjåstad a écrit :
> > > > > Getting ever closer...now the makefile was generated and compilation
> > > > > works, but linking fails:
> > > > >
> > > > > libtool: link: cannot find the library `/usr/lib/libgnomeui.la'
> > > > > make[3]: *** [gcompris] Error 1
> > > > >
> > > > > I guess there's another package needed, can you please do
> > > > >
> > > > > rpm -qf /usr/lib/libgnomeui.la
> > > > >
> > > > > to see which package the file belongs to?
> > > > >
> > > > > HB.
> > > > >
> > > > > On Wed, 2002-07-17 at 19:31, Bruno Coudoin wrote:
> > > > > Here you are:
> > > > >
> > > > > grep AM_PATH_GDK_PIXBUF /usr/share/aclocal/*
> > > > > /usr/share/aclocal/gdk-pixbuf.m4:dnl
> > > > > AM_PATH_GDK_PIXBUF([MINIMUM-VERSION, [ACTION-IF-FOUND [,
> > > > > ACTION-IF-NOT-FOUND]]])
> > > > > /usr/share/aclocal/gdk-pixbuf.m4:AC_DEFUN(AM_PATH_GDK_PIXBUF,
> > > > > [bcoudoin at arnaud ipricot]$ rpm -qf <file containing AM_PATH_GDK_PIXBUF>
> > > > > bash: syntax error near unexpected token `AM_PATH_GDK_PIXBUF>'
> > > > > [bcoudoin at arnaud ipricot]$ rpm -qf /usr/share/aclocal/gdk-pixbuf.m4
> > > > > libgdk-pixbuf2-devel-0.16.0-1mdk
> > > > >
> > > > > Can you find this file ?
> > > > >
> > > > > Bruno.
> > > > >
> > > > > Le mer 17/07/2002 à 19:56, Håvard Bjåstad a écrit :
> > > > > > Yes, I am certainly getting closer :-)
> > > > > >
> > > > > > intltool, I already had (remember previous emails...), but I needed
> > > > > > glib-gettextize to get rid of the second error.
> > > > > >
> > > > > > libxml2-devel fixed the third error.
> > > > > >
> > > > > > So, there's just one left, AM_PATH_GDK_PIXBUF. I couldn't find
> > > > > > libgdk-pixbuf-devel, so could you please do the following to make sure
> > > > > > that's the package I need:
> > > > > >
> > > > > > grep AM_PATH_GDK_PIXBUF /usr/share/aclocal/gnome-macros/*
> > > > > > /usr/share/aclocal/*
> > > > > > rpm -qf <file containing AM_PATH_GDK_PIXBUF>
> > > > > >
> > > > > > If you still end up with libgdk-pixbuf-devel, hopefully you can send me
> > > > > > the RPM file (I use Mandrake 8.2).
> > > > > >
> > > > > > HB.
> > > > > >
> > > > > > On Wed, 2002-07-17 at 15:39, Bruno Coudoin wrote:
> > > > > > OK, this means you need gdk-pixbuf-devel, intltool, libxml2-devel
> > > > > > installed.
> > > > > >
> > > > > > Sory for the complexity, I will wrap all these comments and write an faq
> > > > > > out of our exchanges.
> > > > > >
> > > > > > You are getting closer :/
> > > > > >
> > > > > > Bruno.
> > > > > >
> > > > > > Le mer 17/07/2002 à 15:52, Håvard Bjåstad a écrit :
> > > > > > > After installing gnome-common and getting the latest CVS version I got a
> > > > > > > bit further:
> > > > > > >
> > > > > > > ----------------------------------------------------------
> > > > > > > [root at tank gcompris]# sh autogen.sh
> > > > > > > /usr/bin/gnome-autogen.sh
> > > > > > > **Warning**: I am going to run `configure' with no arguments.
> > > > > > > If you wish to pass any to it, please specify them on the
> > > > > > > `autogen.sh' command line.
> > > > > > >
> > > > > > > processing .
> > > > > > > deletefiles is
> > > > > > > Running intltoolize...
> > > > > > > no need for patching file 'Makefile.in.in'
> > > > > > > Running libtoolize...
> > > > > > > You should add the contents of `/usr/share/aclocal/libtool.m4' to
> > > > > > > `aclocal.m4'.
> > > > > > > Running aclocal -I /usr/share/aclocal/gnome-macros ...
> > > > > > > aclocal: configure.in: 24: macro `AM_PATH_GDK_PIXBUF' not found in
> > > > > > > library
> > > > > > > aclocal: configure.in: 25: macro `AM_PATH_XML2' not found in library
> > > > > > > aclocal: configure.in: 35: macro `AM_GLIB_GNU_GETTEXT' not found in
> > > > > > > library
> > > > > > >
> > > > > > > **Error**: aclocal failed. This may mean that you have not
> > > > > > > installed all of the packages you need, or you may need to
> > > > > > > set ACLOCAL_FLAGS to include "-I $prefix/share/aclocal"
> > > > > > > for the prefix where you installed the packages whose
> > > > > > > macros were not found
> > > > > > > ----------------------------------------------------------
> > > > > > >
> > > > > > > Seems like I'm missing more packages, do you know which?
> > > > > > >
> > > > > > > HB.
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
More information about the Gcompris-devel
mailing list