Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12706) Events framework: lua+tolua
Home

[Freeciv-Dev] (PR#12706) Events framework: lua+tolua

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12706) Events framework: lua+tolua
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 26 Apr 2005 09:51:17 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12706 >

Hello,

I made this tarball and patch with all the dependencies we need. It has
a more flat tree structure than the standard distributions, but all the
files are in the original unmodified form, except for the COPYRIGHT.*
files, which were made.

To install:
$ cd freeciv/
$ tar zxvf lua_deps.tar.gz
$ patch -p0 < lua_deps.diff

The Makefile.am's are a bit broken. tolua needs lua to be built first,
and requires -lm, I do not know how to do that properly. Someone more
skilled with how automake works should try fixing it. That's you Per. :-).

Index: Makefile.am
===================================================================
RCS file: /home/freeciv/CVS/freeciv/Makefile.am,v
retrieving revision 1.50
diff -u -u -r1.50 Makefile.am
--- Makefile.am 19 Mar 2005 23:04:35 -0000      1.50
+++ Makefile.am 26 Apr 2005 16:45:09 -0000
@@ -7,7 +7,7 @@
 endif
 
 if SERVER
-SSUBDIRS = ai server
+SSUBDIRS = ai lua server
 else
 SSUBDIRS =
 endif
Index: configure.ac
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.ac,v
retrieving revision 1.99
diff -u -u -r1.99 configure.ac
--- configure.ac        25 Mar 2005 21:13:48 -0000      1.99
+++ configure.ac        26 Apr 2005 16:45:09 -0000
@@ -682,6 +682,8 @@
          server/userdb/Makefile
          manual/Makefile
          intl/Makefile
+         lua/Makefile
+         lua/tolua/Makefile
          po/Makefile.in
          doc/Makefile
          doc/man/Makefile

Attachment: lua_deps.tar.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]