[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Follow-up Comment #6, bug #16142 (project freeciv): ./configure --disable-gtktest --enable-client=sdl,ftwl --enable-ftwl=sdl --enable-debug=yes --with-readline So you are trying to compile both sdl and ftwl client (--enable-client=sdl,ftmwl) and more precisely sdl version of ftwl client (--enable-ftwl=sdl). ftwl client is considered quite exotic at this time :-) Yet all source files for ftwl client should be included in the tarball. Daniel had problems with this in the past since he used ancient versions of autotools. A couple of different solutions were submitted for testing (by Daniel), but maybe no further actions were taken? ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Update of bug #16142 (project freeciv): Category:None = bootstrap Release: = 2.2.1 Summary: Freeciv 2.2.1 doesn’t compile on Mac OS X 10.6.3 = FTWL sources not included in tarball ___ Follow-up Comment #7: Copying discussion from RT ticket #40349, will also attach patch from it. From: Marko Lindqvist cazf...@gmail.com 2008/7/13 Daniel Markstedt: [cazf...@gmail.com - Tue Jul 01 20:47:26 2008]: 2008/7/1 Marko Lindqvist: 2008/7/1 Jason Dorje Short: make dist assumes all conditionals pass to find out what needs to be distributed. I believe make dist collects files from both conditional pass and conditional fails possibilities. In the case of ftwl-directory, I suspect that old automake is not properly handling conditionally built library (even though it's in conditional pass branch) and subsequently not adding source files it would require. Attached patch removes conditionality from library and makes entering to the directory in the first place conditional instead. Conditional subdirs are already used in other places. This works for me (automake 1.10.1) at least. I can compile both ftwl-client and other clients, and 'make dist' adds ftwl-files no matter which client is enabled from configure. I cannot currently test this patch, as configuring S2_0 with --enable- ftwl fails both with and without it. The last messages are: checking for unistd.h... yes configure: error: bad value yes for --enable-ftwl Try --enable-ftwl=x11 or --enable-ftwl=sdl Please test also 'make dist' when ftwl is *not* selected as client at configure time. 'make dist' should make full tarball, no matter the configure time selections. - ML (file #9340) ___ Additional Item Attachment: File name: FTWLdist_40349.diffSize:1 KB ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Update of bug #16142 (project freeciv): Category:None = bootstrap Release: = 2.2.1 Summary: Freeciv 2.2.1 doesn’t compile on Mac OS X 10.6.3 = Some sources not included in tarball ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Follow-up Comment #3, bug #16142 (project freeciv): Daniel, is utility/ftwl/be_common_pixels.h in your copy of the 2.2.1 release tarball? It was absent in mine; it was also absent in my copy of the 2.2.0 release tarball. I resorted to getting a copy of the missing file via svn. Try “tar -ztvf freeciv-2.2.1.tar.gz | grep be_common_pixels” on your copy; does it list freeciv-2.2.1/utility/ftwl/be_common_pixels.h on your machine? It doesn’t on mine. My configure command-line for 2.2.1 was: CFLAGS='-no-cpp-precomp'\ CPPFLAGS='-I/opt/local/include -I/usr/X11/include'\ LDFLAGS='-L/opt/local/lib -L/usr/X11/lib'\ ./configure --disable-gtktest --enable-client=sdl,ftwl\ --enable-ftwl=sdl --enable-debug=yes --with-readline I needed libsdl, libsdl_mixer, libsdl_image, libsdl_ttf, libsdl_gfx, and cairo (and their associated dependencies) from MacPorts 1.8.2. Is this combination considered to be an exotic client? David, only patch numbers 1, 2, 7, and 8 from patch #1700 were exclusively related to the ftwl client. When using the configure line above, all of the patch numbers excepting 7 and 10 from patch #1700 were needed (as well as the separate download of utility/ftwl/be_common_pixels.h) to compile cleanly. Patch number 10 from #1700 was needed for the server to start up correctly (I think that the problem was related to a “*include file” macro being the last line in one of the files), and patch number 7 from #1700 should allow future release tarballs to include utility/ftwl/be_common_pixels.h. Kind regards, Christian. ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Follow-up Comment #4, bug #16142 (project freeciv): You say: Patch number 10 from #1700 was needed for the server to start up correctly. What exactly was the problem you experienced, as i haven't noticed any errors on my machines? ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Follow-up Comment #5, bug #16142 (project freeciv): With only the other nine patches applied, running the ser script results in the following behavior: $ ser Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8 This is the server for Freeciv version 2.2.1 You can learn a lot about Freeciv at http://www.freeciv.org/ 2: Loading rulesets 1: Did not find closing doublequote for '*include' line 1: file data/default/nations.ruleset, line 241, pos 10, EOF 1: looking at: 'nation/zulu.ruleset' 1: original line: '*include nation/zulu.ruleset' 2: AI*1 has been added as Easy level AI-controlled player. 2: AI*2 has been added as Easy level AI-controlled player. 2: AI*3 has been added as Easy level AI-controlled player. 2: AI*4 has been added as Easy level AI-controlled player. 2: AI*5 has been added as Easy level AI-controlled player. 2: Now accepting new client connections. For introductory help, type 'help'. _ Contrary to the error message, there _is_ a closing doublequote for the “*include nation/zulu.ruleset” line at the end of data/default/nations.ruleset; the problem was in parsing the ruleset file, and the utility/inputfile.c patch fixes the problem. Kind regards, Christian. ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
URL: http://gna.org/bugs/?16142 Summary: Freeciv 2.2.1 doesn’t compile on Mac OS X 10.6.3 Project: Freeciv Submitted by: None Submitted on: Friday 06/11/2010 at 02:28 CEST Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: ___ Details: Hello there, the stock Freeciv 2.2.1 source archive doesn’t compile on Mac OS X 10.6.3 (with MacPorts 1.8.2 as needed). The first reason is that one of the source files, utility/ftwl/be_common_pixels.h, is not included in the archive; there are other source-related compilation problems as well. These problems are described in a bit more detail, and fixed by the contents of the diff file archive, in patch item ID #1700 elsewhere on this site. Kind regards, Christian. ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Follow-up Comment #1, bug #16142 (project freeciv): FWIW, my Macbook is running the same system software version, with Macports 1.8.1, without running into these problems you describe (gtk2 and sdl clients). As a matter of fact, the release tarballs for Freeciv 2.2.1 were created and sanity tested on this machine. ;) Are you perhaps trying to build some exotic client? ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16142] Freeciv 2.2.1 does n’t compile on Mac OS X 10.6.3
Follow-up Comment #2, bug #16142 (project freeciv): When i look at the patch # 1700, i see that they are to do with the ftwl client. I was curious, as i've checked an info for 2.2.1 into fink, and no patches were needed. ___ Reply to this item at: http://gna.org/bugs/?16142 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev