[Freeciv-Dev] Re: [Patch] CMA 1.0
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Raimar Falke writes:
> On Fri, Sep 21, 2001 at 10:57:10AM +0200, Andreas Kemnade wrote:
> > Raimar Falke writes:
> > >
> > > Ok finally I have found the time to put together a release of the
> > > agents infrastructre, a README about agents and the citizen managment
> > > agent.
> > >
> > > AFAIK the code is ready for inclusion but IMHO there should be a
> > > discussion about the direction of the further development of
> > > freeciv. I'm eager to get feedback about the idea of agents in
> > > principle, about the idea of the CMA and any improvement (coding
> > > style, performance) on the implementation of the CMA.
> > >
> > > Note: you have to run "automake;autoconf;./configure".
> > >
> > The first problem. Just an ordinary linux built..
> >
>
> > gcc -DHAVE_CONFIG_H -I. -I../../../freeciv/client/gui-gtk
> > -I../.. -I. -I../../../freeciv/client/gui-gtk/..
> > -I../../../freeciv/client/gui-gtk/../include
> > -I../../../freeciv/common -I../../intl -I../agents
> ^^^^^^^^^^^
>
> This looks ok.
I have looked a bit deeper on it.
This must be -I../../../freeciv/client/agents
You should change gui-gtk/Makefile.am in a way like this (I have accidently
deleted Makefile.am~, so no diff):
INCLUDES = -I. -I$(srcdir)/.. -I$(srcdir)/../include -I$(top_srcdir)/common
-I../../intl -I$(srcdir)/../agents @CLIENT_CFLAGS@
>
> > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> > -I/usr/lib/glib/include -O2 -Wall -c
> > ../../../freeciv/client/gui-gtk/citydlg.c
>
> > ../../../freeciv/client/gui-gtk/citydlg.c:52:
> > citizen_management_frontend_common.h: Datei oder Verzeichnis nicht gefunden
> > ../../../freeciv/client/gui-gtk/citydlg.c:53:
> > citizen_management_frontend_gtk.h: Datei oder Verzeichnis nicht gefunden
> > make[3]: *** [citydlg.o] Fehler 1
> > make[3]: Leaving directory `/home/andi/fc-linux/client/gui-gtk'
>
> Can you cd to "/home/andi/fc-linux/client/gui-gtk" do a "ls ../agents"?
Of course I can. But I do not have the source there.
I do not build freeciv in my source dir.
Follow exactly
the steps at the end of my previous email. That's not an unusal way to
build a project which uses autoconf/automake. It is the preferred way
for e.g. building gcc. I'm building freeciv almost always in that way.
Greetings
Andreas Kemnade
- [Freeciv-Dev] [Patch] CMA 1.0, Raimar Falke, 2001/09/20
- [Freeciv-Dev] Re: [Patch] CMA 1.0, Andreas Kemnade, 2001/09/21
- [Freeciv-Dev] Re: [Patch] CMA 1.0, Gregory Berkolaiko, 2001/09/21
- [Freeciv-Dev] Re: [Patch] CMA 1.0, Raahul Kumar, 2001/09/22
- [Freeciv-Dev] Re: [Patch] CMA 1.0, Raimar Falke, 2001/09/22
- [Freeciv-Dev] The AI Strikes Back: CMA 1.0, Raahul Kumar, 2001/09/22
- [Freeciv-Dev] Re: The AI Strikes Back: CMA 1.0, Raimar Falke, 2001/09/23
- [Freeciv-Dev] Re: The AI Strikes Back: CMA 1.0, Raahul Kumar, 2001/09/23
- [Freeciv-Dev] Re: The AI Strikes Back: CMA 1.0, Raahul Kumar, 2001/09/23
- [Freeciv-Dev] Re: The AI Strikes Back: CMA 1.0, Raimar Falke, 2001/09/23
[Freeciv-Dev] Re: [Patch] CMA 1.0, Raahul Kumar, 2001/09/22
|
|