Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glest?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
russianpirate
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1167
Location: Detroit, MI

PostPosted: Thu Mar 03, 2005 9:41 pm    Post subject: glest? Reply with quote

anyone got glest working on linux?
http://www.happypenguin.org/show?Glest
Back to top
View user's profile Send private message
robust
n00b
n00b


Joined: 05 Sep 2003
Posts: 53

PostPosted: Thu Mar 03, 2005 11:49 pm    Post subject: Reply with quote

There isn't a linux version available. But I tried the game in wine and it works great.
(You do need the two dlls mentioned on the page you linked to.)
Back to top
View user's profile Send private message
gaminggeek
Apprentice
Apprentice


Joined: 13 Nov 2003
Posts: 231
Location: New Zealand

PostPosted: Sun Mar 06, 2005 5:37 am    Post subject: Reply with quote

there are som 3rd party linux bins made check the comments
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Mon Mar 07, 2005 12:12 am    Post subject: Reply with quote

gaminggeek wrote:
there are som 3rd party linux bins made check the comments


Actually, the latest source (1.0.10-r1) contains an unofficial linux port. Which would behind those linux bins. So that's where any ebuild should start.

You need to grab the source from the Glest sf.net project page as it wasn't listed on the homepage last time I looked.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
elykyllek
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 103
Location: Halifax, Nova Scotia, Canada

PostPosted: Mon Mar 07, 2005 7:48 pm    Post subject: Reply with quote

Glest linux page
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Tue Mar 08, 2005 12:05 am    Post subject: Reply with quote

Anyone have a working ebuild? Here is a link to the bug. https://bugs.gentoo.org/show_bug.cgi?id=84419
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Wed Mar 09, 2005 3:02 am    Post subject: Reply with quote

I got an ebuild of bugzilla and it worked like a charm. I was just playing glest and it is awesome. The graphics feel like Empire Earth or Warcraft 3. However, the expanse of the buildings etc. is less. In the time I played it I enjoyed it but didn't get deeply into the game.
Back to top
View user's profile Send private message
elykyllek
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2002
Posts: 103
Location: Halifax, Nova Scotia, Canada

PostPosted: Wed Mar 09, 2005 3:15 am    Post subject: Reply with quote

I also got the ebuild installed correctly, unfortunately it doesn't run with the kernel radeon driver, I'll be trying ati's later.
Back to top
View user's profile Send private message
TanNewt
Retired Dev
Retired Dev


Joined: 26 Mar 2004
Posts: 340
Location: Seattle, WA

PostPosted: Wed Mar 09, 2005 4:01 am    Post subject: Reply with quote

I'm running it with ati's newest on an ati firegl t2.
Back to top
View user's profile Send private message
slag
n00b
n00b


Joined: 17 Feb 2005
Posts: 30

PostPosted: Wed Mar 09, 2005 5:46 am    Post subject: Reply with quote

I also nabbed the ebuild off bugs.gentoo.org and it looks great! I'm excited to try it out.
Back to top
View user's profile Send private message
slag
n00b
n00b


Joined: 17 Feb 2005
Posts: 30

PostPosted: Wed Mar 09, 2005 6:16 am    Post subject: Reply with quote

Well, I suffered some compilation errors... crap. I'm going to bed.

Darnit! :evil:
Back to top
View user's profile Send private message
JazzSax006
n00b
n00b


Joined: 03 Jun 2003
Posts: 38

PostPosted: Wed Mar 09, 2005 9:31 pm    Post subject: Reply with quote

Quote:
Well, I suffered some compilation errors... crap. I'm going to bed.

Darnit!


Mind posting your errors? I made the ebuild on the bugzilla page, and if it is something I can fix, I'll try to do so.
Back to top
View user's profile Send private message
bobdva
Apprentice
Apprentice


Joined: 25 Nov 2003
Posts: 207
Location: Moscow

PostPosted: Sat Mar 26, 2005 11:52 am    Post subject: Reply with quote

TanNewt wrote:
I'm running it with ati's newest on an ati firegl t2.


I've got follow error:
Code:

 $ glestscript
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
void Shared::Platform::Window::setBounds(int, int, int, int) not implemented.
virtual void Shared::Platform::PlatformContextGl::makeCurrent() not implemented.
Exception: OpenGL extension not supported: GL_ARB_texture_env_crossbar, required for Glest


Xorg 6.8.2
ATI Radeon 9200 (Xorg radeon driver)

how to solve problem ?
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Thu Feb 23, 2006 2:55 pm    Post subject: Reply with quote

I have glest running fine here.

Now there is a 2.0 version in the cvs and I'm looking around to find an ebuild for the cvs installation.

Anyoine has one or has made?

I'm happy to test it.
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Sat Apr 15, 2006 2:12 pm    Post subject: Reply with quote

Tried to emerge glest-2.0.0 (from the official ebuild in the portage) on amd64 but it failed to compile:
Code:
...
C++ ./build/x86_64-pc-linux-gnu/optimize/glest_game/world/minimap.o
C++ ./build/x86_64-pc-linux-gnu/optimize/glest_game/world/world.o
C++ ./build/x86_64-pc-linux-gnu/optimize/glest_game/world/surface_atlas.o
C++ ./build/x86_64-pc-linux-gnu/optimize/glest_game/world/map.o
LinkApplication glest
LinkApplication glest_map_editor
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/crt1.o: In function `_start':
init.c:(.text+0x21): undefined reference to `main'
collect2: ld returned 1 exit status

    x86_64-pc-linux-gnu-g++ -o glest_map_editor   ./build/x86_64-pc-linux-gnu/optimize/shared_lib/sources/libglestlib.a   -lSDL -lpthread -lGL  -lm -lGLU -lGL -lm -lxerces-c -lpthread -L/usr/lib -lvorbis -lm -lvorbisfile -L/usr/lib -logg -lopenal -L/usr/lib64 -pthread -L/usr/X11R6/lib -lwx_gtk2_gl-2.6 -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6

...failed LinkApplication glest_map_editor ...
...failed updating 1 target(s)...
...updated 116 target(s)...

!!! ERROR: games-strategy/glest-2.0.0 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  glest-2.0.0.ebuild, line 67:   Called die

emerge --info:
Code:
Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -ftracer -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -ftracer -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://gentoo.inode.at"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="amd64 X a52 aac acpi alsa anthy apm audiofile avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cjk cli crypt ctype cups curl dba dbus dri dts dvd dvdr dvdread emboss encode exif expat fastbuild fbcon ffmpeg firefox flac foomaticdb force-cgi-redirect ftp gd gdbm gif glitz glut gnome gpm gstreamer gtk gtk2 guile hal icq idn imagemagick imlib immqt-bc ipv6 isdnlog java jpeg kerberos krb4 lcms libcaca libwww lzo lzw lzw-tiff mad matroska memlimit mikmod mng mp3 mpeg musepack musicbrainz ncurses nls nptl nsplugin offensive ogg oggvorbis opengl pam pcre pdflib perl pmu png posix pppd python quicktime readline rtc samba sdl session simplexml soap sockets spl ssl svg tcpd theora tiff timidity tokenizer truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xpm xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev kernel_linux userland_GNU video_cards_fglrx video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Sat Apr 15, 2006 2:17 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=130011
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
ZeBlop
n00b
n00b


Joined: 13 May 2005
Posts: 3
Location: Aberdeen, Scotland

PostPosted: Sun Apr 16, 2006 2:47 am    Post subject: Reply with quote

dirty workaround ..
unzip the source code (glest_source_2.0.0.zip) and then edit glest_source_2.0.0/mk/linux/jamfile to:

Code:

SubDir TOP ;

UseAutoconf ;

Package license.txt readme.txt ;

#### Library ####
SubDir TOP shared_lib sources ;

LIB_DIRS = platform/sdl util graphics graphics/gl sound sound/openal xml glew ;
LIB_INCLUDE_DIRS = ../include/$(LIB_DIRS) ;

for i in $(LIB_DIRS) {
  LIB_SOURCES += [ Wildcard $(i) : *.c *.cpp *.h ] ;
}

Library glestlib : $(LIB_SOURCES) ;
ExternalLibs glestlib : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL ;
IncludeDir glestlib : $(LIB_INCLUDE_DIRS) ;

#### Game ####
SubDir TOP glest_game ;

GLEST_DIRS = . ai facilities game global graphics gui main menu sound
             type_instances types world ;
for i in $(GLEST_DIRS) {
  GLEST_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
}

Application glest : $(GLEST_SOURCES) ;
LinkWith glest : glestlib ;
ExternalLibs glest : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL ;
IncludeDir glest : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_DIRS) ;

#### Editor ####
#if $(WX_AVAILABLE) = "yes" {
#  SubDir TOP glest_map_editor ;

#  GLEST_MAP_DIRS = . ;
#  for i in $(GLEST_DIRS) {
#    GLEST_MAP_SOURCES += [ Wildcard $(i) : *.cpp *.h ] ;
#  }

#  Application glest_map_editor : $(GLEST_MAP_SOURCES) ;
#  LinkWith glest_map_editor : glestlib ;
#  ExternalLibs glest_map_editor : SDL GL GLU XERCES VORBIS VORBISFILE OGG OPENAL WX ;
#  IncludeDir glest_map_editor : ../shared_lib/include/$(LIB_INCLUDE_DIRS) $(GLEST_MAP_DIRS) ;
#}


The Editor part causes trouble so let's remove it ..

Then zip it, put it in your /usr/portage/distfiles
Code:

# ebuild /usr/portage/games-strategy/glest/glest-2.0.0.ebuild digest && emerge =glest-2.0.0

Should compile then .. at least here .. it did, and works like a charm. :)
_________________
Nee !
Back to top
View user's profile Send private message
vyzivus
Apprentice
Apprentice


Joined: 05 Jul 2004
Posts: 173
Location: Slovakia

PostPosted: Sun Apr 16, 2006 8:26 am    Post subject: Reply with quote

A more dirty approach :twisted:
Code:
emerge -av glest

then wait until
Code:
>>> Unpacking glest_source_2.0.0.zip to /var/tmp/portage/glest-2.0.0/work

is finished, press CTRL+Z,
Code:
gvim /var/tmp/portage/glest-2.0.0/work/glest_source_2.0.0/mk/linux/Jamfile

modify it as you suggested, save,
Code:
fg

and you're ready :wink:
I used this trick many times to succesfully compile java packages on JDK1.5 - just edit build.xml in the portage tmp dir and add source="1.2" target="1.2" attributes to offending javac element ;)
_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes or should I?
Back to top
View user's profile Send private message
Noyan
Apprentice
Apprentice


Joined: 24 Mar 2005
Posts: 212

PostPosted: Sun Apr 16, 2006 2:53 pm    Post subject: Reply with quote

matttions wrote:
I have glest running fine here.

Now there is a 2.0 version in the cvs and I'm looking around to find an ebuild for the cvs installation.

Anyoine has one or has made?

I'm happy to test it.


https://bugs.gentoo.org/show_bug.cgi?id=129551

Edit : ops 2.0 s in portage srry
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum