

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.gaminggeek wrote:there are som 3rd party linux bins made check the comments

I've got follow error:TanNewt wrote:I'm running it with ati's newest on an ati firegl t2.
Code: Select all
$ 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
Code: Select all
...
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 dieCode: Select all
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, LINGUASCode: Select all
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) ;
#}
Code: Select all
# ebuild /usr/portage/games-strategy/glest/glest-2.0.0.ebuild digest && emerge =glest-2.0.0
Code: Select all
emerge -av glestCode: Select all
>>> Unpacking glest_source_2.0.0.zip to /var/tmp/portage/glest-2.0.0/workCode: Select all
gvim /var/tmp/portage/glest-2.0.0/work/glest_source_2.0.0/mk/linux/JamfileCode: Select all
fghttp://bugs.gentoo.org/show_bug.cgi?id=129551matttions 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.