Re: [Freeciv-Dev] trunk lua mess

2007-06-18 Thread William Allen Simpson
William Allen Simpson wrote: Per Inge Mathisen wrote: Also, while on the topic of api_gen.c|h, I do not see why these automatically generated source files are in the repository? All the tools required to generate them are already in the repository. I agree. And there was a part of a bug

Re: [Freeciv-Dev] trunk lua mess

2007-06-18 Thread William Allen Simpson
William Allen Simpson wrote: AFAIK, all that needs to be done is svn delete them, and they should go away. Somebody must have deliberately added them in the past? Yes, for cross compiling from linux to windows in: http://bugs.freeciv.org/Ticket/Display.html?id=13571 There is a better way.

Re: [Freeciv-Dev] trunk lua mess

2007-06-18 Thread William Allen Simpson
Question: is tolua used for anything other than pre-compilation? That is, AFAICT tolua is only used to build api_gen.* Therefore, tolua would never be anything other than natively compiled, and would not be distributed in a binary distribution? Only lua would be generated for the target

[Freeciv-Dev] [Xcode SDL] Need help locating path to civserver

2007-06-18 Thread François Marlier
Hello list, still porting freeciv to Cocoa OSX through SDL in Xcode, I now don't have anymore bugs on opening units, technology and taxes window. I now need to be able to start the server from within SDL. I've seen that the code to launch the server is in connectdlg_common.c and that I can

Re: [Freeciv-Dev] [Xcode SDL] Need help locating path to civserver

2007-06-18 Thread François Marlier
Somehow (and maybe I populated all possible locations with the civserver bin) the server now starts but got a couldn't connect to server log msg. Can that be related to the fact I got a warning when compiling civserver in sernet.c : civserver/sernet.c:812: warning: pointer targets in passing

Re: [Freeciv-Dev] trunk lua mess

2007-06-18 Thread Per I. Mathisen
On Mon, 18 Jun 2007, William Allen Simpson wrote: My observation is that the main problem we experienced was trying to change from tolua++.h to tolua.h. No, that was just an amusing side-show. The problem was that tolua++ generated a faulty api_gen.c file. - Per

Re: [Freeciv-Dev] trunk lua mess

2007-06-18 Thread Per Inge Mathisen
On 6/18/07, William Allen Simpson [EMAIL PROTECTED] wrote: 1) install the latest lua. Make sure it works. Surely the latest lua will still work with the older tolua! No, tolua 5.0 does not work with lua 5.1, unfortunately. And there is no more recent version of tolua, hence the use of

Re: [Freeciv-Dev] trunk lua mess

2007-06-18 Thread William Allen Simpson
Per Inge Mathisen wrote: On 6/18/07, William Allen Simpson [EMAIL PROTECTED] wrote: 1) install the latest lua. Make sure it works. Surely the latest lua will still work with the older tolua! No, tolua 5.0 does not work with lua 5.1, unfortunately. And there is no more recent version of

Re: [Freeciv-Dev] Xcode Intel SDL almost working (no more X11) !

2007-06-18 Thread Vasco Alexandre da Silva Costa
On 6/17/07, fmarlier [EMAIL PROTECTED] wrote: P.-.S your name ring a bell, Vasco do you make noise/abstract/ambient music and/or have you been related with James Plotkin on some projects? Nah, I am affraid my musical skills are rather lacking. I do make lots of noise though. :-) -- Vasco

[Freeciv-Dev] (PR#39403) BUG: 2.1.0b4 MacOSX 3.9 fails to find libintl.h

2007-06-18 Thread William Allen Simpson
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39403 Apparently not using the CPPFLAGS? === export LDFLAGS=-L/opt/local/lib export CPPFLAGS=-I/opt/local/include export CC=gcc -no-cpp-precomp ./autogen.sh --enable-nls --enable-client=gtk2 --prefix=/Users/wastrel/freeciv-i18n ... +

Re: [Freeciv-Dev] (PR#39403) BUG: 2.1.0b4 CPPFLAGS ignored and other makefile oddities

2007-06-18 Thread William Allen Simpson
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39403 Must be using old instructions. Found some newer ones at: http://freeciv.wikia.com/wiki/Install-MacOSX There, it specifies putting them all in the CC variable: export CC=gcc -no-cpp-precomp -I/opt/local/include -L/opt/local/lib

Re: [Freeciv-Dev] (PR#39403) BUG: 2.1.0b4 CPPFLAGS ignored and other makefile oddities

2007-06-18 Thread François Marlier
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39403 should be related to the untraditional approach of Apple gcc/cc the -traditional-cpp or -no-cpp-precomp tell to use the not hacked by Apple gcc version, hence using -no-cpp-precomp in CC should allow you to use CPPFLAGS then...

[Freeciv-Dev] (PR#39404) 2.1 Crash in handle_mouse_cursor when loading save

2007-06-18 Thread Ulrik Sverdrup
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39404 Encountered this crash when going to 'Load saved game', Ok, start 2.1 svn rev 13004 I can't reproduce the crash. The crash involved switching active application while waiting for the save to load, I think. Crash right after loading

[Freeciv-Dev] (PR#39405) S2_1 compile fails in diplodlg.c

2007-06-18 Thread Daniel Markstedt
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39405 S2_1 r13004 on OSX 10.3.9; while compiling gui_sdl: diplodlg.c: In function `gold_callback': diplodlg.c:369: warning: implicit declaration of function `gettext' diplodlg.c:369: warning: passing arg 1 of `append_output_window' makes