Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208291 - games-strategy/glest-3.1.2 version bump
Summary: games-strategy/glest-3.1.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Games
URL: http://www.glest.org/glest_board/view...
Whiteboard:
Keywords: EBUILD, InVCS
Depends on:
Blocks:
 
Reported: 2008-01-31 12:53 UTC by GNUtoo
Modified: 2008-10-25 18:32 UTC (History)
15 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
games-strategy/glest-3.0.0 (glest-3.0.0.ebuild,2.92 KB, text/plain)
2008-02-01 14:00 UTC, Christoph Brill (egore) (RESIGNED)
Details
games-strategy/glest-3.0.0 (glest-3.0.0.ebuild,2.82 KB, text/plain)
2008-02-01 14:03 UTC, Christoph Brill (egore) (RESIGNED)
Details
glest-3.0.0-unicode.patch (glest-3.0.0-unicode.patch,15.19 KB, patch)
2008-02-01 14:05 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff
games-strategy/glest-3.0.0 (glest-3.0.0.ebuild,2.82 KB, text/plain)
2008-02-01 14:27 UTC, Christoph Brill (egore) (RESIGNED)
Details
games-strategy/glest-3.0.0 (glest-3.0.0.ebuild,2.82 KB, text/plain)
2008-02-01 14:33 UTC, Christoph Brill (egore) (RESIGNED)
Details
glest-3.0.0.ebuild (glest-3.0.0.ebuild,2.99 KB, text/plain)
2008-02-14 13:01 UTC, Christoph Brill (egore) (RESIGNED)
Details
glest-3.0.0.ebuild (glest-3.0.0.ebuild,2.99 KB, text/plain)
2008-02-16 21:59 UTC, lucas
Details
games-strategy/glest-3.1.0 (glest-3.1.0.ebuild,2.97 KB, text/plain)
2008-02-16 22:39 UTC, Christoph Brill (egore) (RESIGNED)
Details
glest home patch for version 3.1.0 (glest-3.1.0-home.patch,3.07 KB, patch)
2008-02-19 23:23 UTC, uran238
Details | Diff
ebuild for glest-3.1.2 (glest-3.1.2.ebuild.tar.gz,3.78 KB, application/octet-stream)
2008-04-07 17:05 UTC, Till Korten
Details
Ebuild to glest-3.1.2 (glest-3.1.2.ebuild,2.45 KB, text/plain)
2008-05-09 17:56 UTC, Michel Filipe
Details
Glest wrapper of files/ (glest,194 bytes, text/plain)
2008-05-09 17:57 UTC, Michel Filipe
Details
Ebuild to glest-3.1.2 (glest-3.1.2.ebuild,2.68 KB, text/plain)
2008-05-17 03:55 UTC, Michel Filipe
Details
Glest-3.1.2 launcher (glest-3.1.2-launcher,194 bytes, text/plain)
2008-05-17 03:58 UTC, Michel Filipe
Details
Patch to set the screen to 800x600 (glest-3.1.2-screen.patch,350 bytes, patch)
2008-05-17 04:00 UTC, Michel Filipe
Details | Diff
Ebuild to glest-3.1.2 (glest-3.1.2.ebuild,2.82 KB, text/plain)
2008-05-21 22:51 UTC, Michel Filipe
Details
glest-3.1.2.ebuild (glest-3.1.2.ebuild,2.85 KB, text/plain)
2008-05-23 01:08 UTC, Fabio Bonfante
Details
Ebuild to glest-3.1.2 (glest-3.1.2.ebuild,2.41 KB, text/plain)
2008-05-27 16:21 UTC, Michel Filipe
Details
Path for ability the glest saves the files in $HOME/.glest (glest-3.1.2-home.patch,5.40 KB, text/plain)
2008-05-27 16:23 UTC, Michel Filipe
Details
ebuild for glest-3.1.2 (glest-3.1.2-ebuild.tar.gz,4.29 KB, application/octet-stream)
2008-06-06 15:33 UTC, Till Korten
Details
Ebuild to glest-3.1.2 (glest-3.1.2.ebuild,2.65 KB, text/plain)
2008-06-12 04:44 UTC, Michel Filipe
Details
Compile fix for gcc-4.3.1 (includes.patch,1.50 KB, patch)
2008-08-05 20:08 UTC, Samu Voutilainen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description GNUtoo 2008-01-31 12:53:46 UTC
Glest 3.0.0 was relased and now has multiplayer

Reproducible: Always
Comment 1 Christoph Brill (egore) (RESIGNED) 2008-02-01 14:00:44 UTC
Created attachment 142374 [details]
games-strategy/glest-3.0.0

I hate to answer to a 0-day request, but I wanted to test this game and the editor. Here is an ebuild to build glest 3.0.0.
Comment 2 Christoph Brill (egore) (RESIGNED) 2008-02-01 14:03:23 UTC
Created attachment 142378 [details]
games-strategy/glest-3.0.0

Picked the wrong ebuild :-/
Comment 3 Christoph Brill (egore) (RESIGNED) 2008-02-01 14:05:31 UTC
Created attachment 142379 [details, diff]
glest-3.0.0-unicode.patch

This patch fixes the issue when the editor should be build. From what I found out gentoo always seems to build wxGTK using unicode but the editor required a non-unicode build of wxGTK. I will post this patch to the glest forum, too, so it hopefully get's merged upstream.

Instructions taken from: http://www.wxwidgets.org/wiki/index.php/WxString
Comment 4 Christoph Brill (egore) (RESIGNED) 2008-02-01 14:27:59 UTC
Created attachment 142398 [details]
games-strategy/glest-3.0.0

Sigh. For some reasion

dogamesbin glest_editor

fails while

into ${GAMES_BINDIR}
dobin glest_editor

works. No idea why.
Comment 5 Christoph Brill (egore) (RESIGNED) 2008-02-01 14:33:04 UTC
Created attachment 142399 [details]
games-strategy/glest-3.0.0

Multi-Sigh. GAMES_BINDIR -> GAMES_PREFIX
Comment 6 Markus Rathgeb 2008-02-12 15:15:21 UTC
The name of the language packs was changed.
Comment 7 Christoph Brill (egore) (RESIGNED) 2008-02-14 13:01:04 UTC
Created attachment 143494 [details]
glest-3.0.0.ebuild

Updated language stuff
Comment 8 Markus Rathgeb 2008-02-14 18:29:40 UTC
1.
USE-Flag "editor" is not fully working.

You write in the ebuild:
---
# Fails with wx enabled, bug #130011
---
But the Jamfile of glest containt:
---
#### Editor ####
if $(WX_AVAILABLE) = "yes" {
  SubDir TOP glest_map_editor ;
---
	

2.
LINGUAS "hu" is not fully working.

You have to change the line
   use linguas_hu && dolang magyar_${L_PV}.lng
to
   use linguas_hu && dolang magyar_${PV}.lng


3.
LINGUAS "pt_BR" is not fully working

You have to change the line
   use linguas_pt_BR && dolang pt-br.lng
to
   use linguas_pt_BR && dolang pt-BR.lng
Comment 9 lucas 2008-02-16 21:55:18 UTC
version 3.1.0 is available.
Comment 10 lucas 2008-02-16 21:59:02 UTC
Created attachment 143695 [details]
glest-3.0.0.ebuild

fixed the header
Comment 11 Christoph Brill (egore) (RESIGNED) 2008-02-16 22:39:26 UTC
Created attachment 143699 [details]
games-strategy/glest-3.1.0

Better upload this before anyone else comes up with a worse one...
Comment 12 lucas 2008-02-17 13:55:33 UTC
(In reply to comment #11)
> Created an attachment (id=143699) [edit]
> games-strategy/glest-3.1.0
> 
> Better upload this before anyone else comes up with a worse one...
> 
my last attachment was crap.. ignore it. i actually didn't know what a header was.

about the last one, i might be confused but i think you should correct one thing:
you are naming the file 'glest-3.1.0.ebuild' but inside the ebuild you are putting L_PV="3.0.0"
Comment 13 Christoph Brill (egore) (RESIGNED) 2008-02-17 18:07:19 UTC
If you check what LP_V is for you find out it's for the translations of glest[1]. Since (from what I know) no strings were changed from 3.0.0 to 3.1.0 I used the translations from 3.0.0 because only hungarian was available as 3.1.0 while the others remained.

[1] http://www.glest.org/files/contrib/translations
Comment 14 lucas 2008-02-19 15:58:45 UTC
does this ebuild compile without issues?
Comment 15 uran238 2008-02-19 23:23:55 UTC
Created attachment 144028 [details, diff]
glest home patch for version 3.1.0

works for me. I was able to compile and run glest with it
Comment 16 uran238 2008-02-19 23:32:48 UTC
I added a patch for glest 3.1.0 which fixes the home problem. 
I didn't add a new ebuild, because unicode is still broken. I was also unable to download the Italian language pack, so ebuild digest would fail.

Both use flags unicode and editor disabled and english language selected works for me.
Comment 17 Stephen Bridges 2008-03-01 18:16:05 UTC
Glest 3.1.0 doesn't get past the opening screen for me with this error.  This happens with or without unicode enabled.  I had to modify the ebuild slightly as the URLs for the translations were wrong, and the unicode patch doesn't apply to 3.1.0 with nearly all hunks failing.

This error occurs regardless of the wxwidgets libraries I compile against (2.6 ansi or 2.8 unicode)

Could not open catalog:
 XercesMessages_en_US.cat
 or XercesMessages_en_US.cat
Cannot load message domain
Could not open catalog:
 XercesMessages_en_US.cat
 or XercesMessages_en_US.cat
Cannot load message domain
Comment 18 Jon Daniel 2008-03-07 18:29:40 UTC
glest-3.1.2 has been released and one should also create a games-strategy/glest-bin package for multiplayer.
Comment 19 Daniel Santos 2008-03-19 07:31:50 UTC
I propose we hard-code the version string on language packs since these are user-contributed and will update with uneven frequency.
Comment 20 Till Korten 2008-04-07 17:05:29 UTC
Created attachment 149003 [details]
ebuild for glest-3.1.2

with this ebuild the game and editor compile on my machine.
unfortunately I cannot fully test it since the game segfaults due to a bug in the newest ati drivers.

could someone with a different graphics card please test it?

See also:
http://www.glest.org/glest_board/viewtopic.php?p=14714&sid=9f7c80a7f851b81e33da37da5fc8e5bb
Comment 21 Christian Schmitt 2008-04-11 16:34:26 UTC
The glest-3.1.2 ebuild works great here with Nvidia. I only had to remove the "|| ( dev-util/jam dev-util/ftjam )" stuff from the ebuild. It gives me a blocking error and is obviously not needed.
Comment 22 GNUtoo 2008-04-19 18:19:07 UTC
>>> Install glest-3.1.2 into /var/tmp/portage/games-strategy/glest-3.1.2/image/ category games-strategy
!!! dobin: glest_editor does not exist
 *
 * ERROR: games-strategy/glest-3.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2762:  Called die
 * The specific snippet of code:
 *           dobin glest_editor || die "dogamesbin editor failed";
 *  The die message:
 *   dogamesbin editor failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'.
 * This ebuild is from an overlay: '/usr/overlay/'
 *

installing without the editor use flag worked...
Comment 23 HoX 2008-04-30 06:07:06 UTC
(In reply to comment #16)
> I was also unable to download the Italian language pack, so ebuild digest 
> would fail.

I have the same problem... and I've got the solution! 
The ebuild says: "install: impossibile fare stat di `/var/tmp/portage/games-strategy/glest-3.1.2/work/italiano.lng': No such file or directory", but if you check this folder you find an "italian.lng" file.

SOLUTION: edit the ebuild, search "italiano.lng" and replace it with "italian.lng" (tips: it's at the end of the ebuild). I'm sorry, but I don't know how to make a patch.
Comment 24 Michel Filipe 2008-05-09 17:55:40 UTC
I write a ebuild to glest-3.1.2 with wrapper for call the glest in ${GAMEDATA_DIR}.
Comment 25 Michel Filipe 2008-05-09 17:56:25 UTC
Created attachment 152659 [details]
Ebuild to glest-3.1.2
Comment 26 Michel Filipe 2008-05-09 17:57:01 UTC
Created attachment 152661 [details]
Glest wrapper of files/
Comment 27 Michel Filipe 2008-05-09 17:58:46 UTC
The URL of my repository is http://github.com/trops/portage/tree/master/games-strategy/glest. Get always the new update.
Comment 28 Michel Filipe 2008-05-17 03:55:23 UTC
Created attachment 153393 [details]
Ebuild to glest-3.1.2

With many improvements.
Comment 29 Michel Filipe 2008-05-17 03:58:40 UTC
Created attachment 153395 [details]
Glest-3.1.2 launcher

I rename the file to install correctly
Comment 30 Michel Filipe 2008-05-17 04:00:50 UTC
Created attachment 153397 [details, diff]
Patch to set the screen to 800x600

The 800x600 screen works for somebody
Comment 31 Petr Kopecky 2008-05-18 15:22:11 UTC
The latest ebuild doesn't work

This is the error:
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/minimap.o
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/unit_updater.o
LinkApplication glest
...updated 136 target(s)...
>>> Source compiled.
>>> Test phase [not enabled]: games-strategy/glest-3.1.2

>>> Install glest-3.1.2 into /var/tmp/portage/games-strategy/glest-3.1.2/image/ category games-strategy
!!! dobin: glest_editor does not exist
 *
 * ERROR: games-strategy/glest-3.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2294:  Called die
 * The specific snippet of code:
 *       dogamesbin glest_editor || die "dogamesbin glest_editor failed";
 *  The die message:
 *   dogamesbin glest_editor failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/games-strategy:glest-3.1.2:20080518-151034.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *

With paludis it is even worse.
Comment 32 Petr Kopecky 2008-05-18 17:16:35 UTC
(In reply to comment #31)
> The latest ebuild doesn't work
> 
> This is the error:
> C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/minimap.o
> C++ ./build/i686-pc-linux-gnu/optimize/glest_game/world/unit_updater.o
> LinkApplication glest
> ...updated 136 target(s)...
> >>> Source compiled.
> >>> Test phase [not enabled]: games-strategy/glest-3.1.2
> 
> >>> Install glest-3.1.2 into /var/tmp/portage/games-strategy/glest-3.1.2/image/ category games-strategy
> !!! dobin: glest_editor does not exist
>  *
>  * ERROR: games-strategy/glest-3.1.2 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_install
>  *             environment, line 2294:  Called die
>  * The specific snippet of code:
>  *       dogamesbin glest_editor || die "dogamesbin glest_editor failed";
>  *  The die message:
>  *   dogamesbin glest_editor failed
>  *
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/log/portage/games-strategy:glest-3.1.2:20080518-151034.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/games-strategy/glest-3.1.2/temp/environment'.
>  * This ebuild is from an overlay: '/usr/local/portage/'
>  *
> 
> With paludis it is even worse.
> 
The problem is in wxWidgets. After using eselect wxwidgets and selecting unicode version everything works at least using emerge.
Comment 33 Michel Filipe 2008-05-18 18:14:03 UTC
It works with me using gtk2-unicode-release-2.8.

See:
$ eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8 *
Comment 34 Michel Filipe 2008-05-21 22:51:00 UTC
Created attachment 153885 [details]
Ebuild to glest-3.1.2

Hi! New updates!

* Add the wxGTK-2.6 to compile the glest_editor 
* Add the brazilian portuguese translation. It was made by me! :D 
* The download goes be direct at original mirror
Comment 35 Tristan Heaven (RETIRED) gentoo-dev 2008-05-21 23:19:34 UTC
Some things stopping this:

- ebuild header needs to match /usr/portage/header.txt
- should use wxwidgets.eclass (see games-board/blokish ebuild for an example)
- game needs to write to ~/.glest instead of the data directory (without using a wrapper)
Comment 36 Ezequiel Carmona T 2008-05-21 23:29:14 UTC
Why updates ebuild are not in the portage tree?
Comment 37 Fabio Bonfante 2008-05-23 01:08:30 UTC
Created attachment 154021 [details]
glest-3.1.2.ebuild

Small check to prevent build failed if not exist the editor (maybe a post message with the instructions to select the proper wxwidget version can help)
Comment 38 Michel Filipe 2008-05-24 19:25:35 UTC
I'm working on ebuild. I solved the question about wxwidgets, ebuild header and I am still writing the patch to glest.

Thanks Fabio Bonfante. Your alteration is valid. :)
Comment 39 Michel Filipe 2008-05-27 16:21:28 UTC
Created attachment 154483 [details]
Ebuild to glest-3.1.2

I finished the ebuild with all request of Tristan Heaven.

- Cleanup in ebuild
- Header is ok
- Ebuild is using wxwidgets eclass
- Now, glest saves the files in $HOME/.glest. Do not necessary special permissions at /usr/share/games/glest.
Comment 40 Michel Filipe 2008-05-27 16:23:08 UTC
Created attachment 154487 [details]
Path for ability the glest saves the files in $HOME/.glest

Ok, now is not necessary use glest wrapper. :)
Comment 41 Till Korten 2008-06-05 12:29:43 UTC
the new ebuild works fine for me.

since ati-drivers-8.493 also the segfaults due to a problem in the ati driver are fixed.

it might be good to set the ati-drivers below that version as blocking glest (this also affects glest 2.x).

however, I liked the editor useflag, that was in a previous version of the 3.1.2 ebuild, since not everybody needs the editor and having a useflag for it supports the gentoo idea of being modular and "giving you the choice" (gentoo manual ;-).

enjoy
Comment 42 Till Korten 2008-06-06 15:33:50 UTC
Created attachment 155731 [details]
ebuild for glest-3.1.2

for the lazy people
just untar this into your portage overlay dir (default is /usr/local/portage)
and type

emerge glest

enjoy ;-)

the game is playable
still has some glitches, though:
some languages are not properly installed
process not terminating on my system
you have been warned
Comment 43 Michel Filipe 2008-06-06 15:52:07 UTC
Very good job Till Korten with your tar.gz! :D

Exist a problem with editor useflag, because the glest-source-3.1.2 doesn't offer option to compile without editor. :(
Comment 44 Till Korten 2008-06-07 22:00:23 UTC
thanks Michel, glad I could help ;-D
The useflag makes no sense, if there is no corresponding flag in the makefile anymore of course...

I noticed something else, though:
for some reason the german language pack was not installed by the ebuild, even though it detected the german lingua properly during emerge -av glest.
However it installed english and spanish even though spanish is not in my linguas.
Maybe you know what went wrong?
Thanks for this nice ebuild Michel!
Comment 45 Michel Filipe 2008-06-08 17:12:28 UTC
(In reply to comment #44)
> thanks Michel, glad I could help ;-D
> The useflag makes no sense, if there is no corresponding flag in the makefile
> anymore of course...
> 
> I noticed something else, though:
> for some reason the german language pack was not installed by the ebuild, even
> though it detected the german lingua properly during emerge -av glest.
> However it installed english and spanish even though spanish is not in my
> linguas.
> Maybe you know what went wrong?
> Thanks for this nice ebuild Michel!
> 

The original package, that we use, comes with english, spanish and galego language. Only russian, brazilian portuguese and hungrian contributions are on 3.1.2 version.

See the link: http://www.glest.org/files/contrib/translations. There are the translation contributions. Why don't you create the german translation to 3.1.2 version? Is very simple.
Comment 46 Michel Filipe 2008-06-12 04:44:55 UTC
Created attachment 156455 [details]
Ebuild to glest-3.1.2

Release new version of glest ebuild:

* Block the ati-drivers package below 8.493 version
* Add information about glest multiplayer
Comment 47 Hong Hao 2008-07-24 15:32:24 UTC
(In reply to comment #46)
> Created an attachment (id=156455) [edit]
> Ebuild to glest-3.1.2
> 
> Release new version of glest ebuild:
> 
> * Block the ati-drivers package below 8.493 version
> * Add information about glest multiplayer
> 
It won't compile on my laptop. Another gcc-4.3.1 issue?

checking for wxWidgets version >= 2.6.0 (--unicode=yes)... yes (version 2.6.4)
configure: creating ./config.status
config.status: creating Jamconfig
config.status: executing Jamfile commands
configure:

Notice: This project uses jam (and not make) as build tool.

...found 490 target(s)...
...updating 142 target(s)...
MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources 
MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/thread.o 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/platform_util.o 
shared_lib/sources/platform/sdl/platform_util.cpp: In function 'bool Shared::Platform::isKeyDown(int)':
shared_lib/sources/platform/sdl/platform_util.cpp:210: warning: array subscript has type 'char'
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/window.o 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/window_gl.o 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/gl_wrap.o 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/sdl/factory_repository.o 
MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o 
shared_lib/sources/platform/posix/socket.cpp: In constructor 'Shared::Platform::Ip::Ip(const std::string&)':
shared_lib/sources/platform/posix/socket.cpp:54: error: 'atoi' was not declared in this scope
shared_lib/sources/platform/posix/socket.cpp: In static member function 'static void Shared::Platform::Socket::throwException(const std::string&)':
shared_lib/sources/platform/posix/socket.cpp:207: error: 'strerror' was not declared in this scope
shared_lib/sources/platform/posix/socket.cpp: In member function 'void Shared::Platform::ClientSocket::connect(const Shared::Platform::Ip&, int)':
shared_lib/sources/platform/posix/socket.cpp:217: error: 'memset' was not declared in this scope

    g++-4.3.1 -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o  -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread  -I/usr/games/include -I/usr/games/include  -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/platform/posix/socket.cpp

...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/platform/posix/socket.o ...
MkDir1 ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/profiler.o 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/leak_dumper.o 
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/properties.o 
shared_lib/sources/util/properties.cpp: In member function 'void Shared::Util::Properties::load(const std::string&)':
shared_lib/sources/util/properties.cpp:50: error: 'strlen' was not declared in this scope

    g++-4.3.1 -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/properties.o  -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread  -I/usr/games/include -I/usr/games/include  -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/util/properties.cpp

...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/properties.o ...
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/util.o 
shared_lib/sources/util/util.cpp: In function 'void Shared::Util::copyStringToBuffer(char*, int, const std::string&)':
shared_lib/sources/util/util.cpp:117: error: 'strncpy' was not declared in this scope

    g++-4.3.1 -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/util.o  -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.1.2" -DPACKAGE_STRING="glest 3.1.2" -DPACKAGE_BUGREPORT="matze@braunis.de" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread  -I/usr/games/include -I/usr/games/include  -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -march=native -O2 -pipe -fomit-frame-pointer -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/util/util.cpp

...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/util.o ...
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/util/conversion.o 
shared_lib/sources/util/conversion.cpp: In function 'int Shared::Util::strToInt(const std::string&)':
shared_lib/sources/util/conversion.cpp:37: error: 'strtol' was not declared in this scope
shared_lib/sources/util/conversion.cpp: In function 'float Shared::Util::strToFloat(const std::string&)':
shared_lib/sources/util/conversion.cpp:49: error: 'strtod' was not declared in this scope
shared_lib/sources/util/conversion.cpp: In function 'bool Shared::Util::strToInt(const std::string&, int*)':
shared_lib/sources/util/conversion.cpp:73: error: 'strtol' was not declared in this scope
shared_lib/sources/util/conversion.cpp: In function 'bool Shared::Util::strToFloat(const std::string&, float*)':
shared_lib/sources/util/conversion.cpp:83: error: 'strtod' was not declared in this scope

Comment 48 Michel Filipe 2008-07-28 01:32:08 UTC
(In reply to comment #47)
> It won't compile on my laptop. Another gcc-4.3.1 issue?
> 

I think so, because these errors are about C/C++ native functions.

Please, try with gcc-4.1.2 and send me your feedback.
Comment 49 Samu Voutilainen 2008-08-05 20:08:03 UTC
Created attachment 162296 [details, diff]
Compile fix for gcc-4.3.1

Not really tested, but compiles successfully with gcc-4.3.1.
Comment 50 vah 2008-08-14 17:00:20 UTC
It seems to require wxGTK to be compiled with opengl use-flag. Plz check it and fix ebuilds
Comment 51 Michel Filipe 2008-08-27 13:18:12 UTC
(In reply to comment #50)
> It seems to require wxGTK to be compiled with opengl use-flag. Plz check it and
> fix ebuilds
> 

Hi vah! I tested in my laptop without opengl use-flag to wxGTK-2.6 and wxGTK-2.8, but the Glest works fine. I think that this is not your problem to do your Glest runs.
Comment 52 Tupone Alfredo gentoo-dev 2008-10-21 21:07:02 UTC
Version 3.2.1 is now in portage
Comment 53 Miguel Marco 2008-10-23 17:35:27 UTC
I have installed last version (3.1.2) and seems to run fine, but cannot join to games created by others (it just doesn't react to the "join game" button).

In the command line i get the fellowing message:

Couldn't process event: Value not found in propertyMap: ServerIp, loaded from: glest.ini


Strange thing is that the binary i downloaded from the glest page works fine (and as far as i have read, differently compiled binaries might not be compatible for network play,, so it seems that the only way to play online is to install the binary).
Comment 54 Hong Hao 2008-10-25 06:49:37 UTC
glest won't compile with >dev-libs/xerces-c-3.0. please take a look at this link:

http://www.glest.org/glest_board/viewtopic.php?f=11&p=18610

thanks.
Comment 55 Tupone Alfredo gentoo-dev 2008-10-25 18:32:52 UTC
(In reply to comment #54)
> glest won't compile with >dev-libs/xerces-c-3.0. please take a look at this
> link:
> 
> http://www.glest.org/glest_board/viewtopic.php?f=11&p=18610
> 
> thanks.
> 

I added now dependency on specific xerces-c versions. Thanks