MegaGlest Forum
Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: titi on 16 January 2008, 18:49:25
-
you must have installed
autogen
automake
jam
svn(subversion)
libsdl, libxerces, libxerces, libopenal and libvorbis
+ compiler and things like this
then type:
mkdir glestsource
cd glestsource
svn co https://glest.svn.sourceforge.net/svnroot/glest/trunk/source
svn co https://glest.svn.sourceforge.net/svnroot/glest/trunk/mk
cd mk/linux/
./autogen.sh
./configure
jam
Now you find the binary in the current directory.
whats else to do:
download the new data package
http://downloads.sourceforge.net/glest/ ... 0beta1.zip (http://downloads.sourceforge.net/glest/glest_data_3.0.0beta1.zip)
unpack it and copy your binary and the linux glests.ini ( is in the same directory as your binary) into the glest basedir.
start it.
if you have trouble with the fonts use this one ( change it in glest.ini )
FontConsole=-*-helvetica-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-helvetica-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-helvetica-*-*-*-*-12-*-*-*-*-*-*-*
HINT: shadowmapping doesn't work at the moment use projected shadows here! ( in the ingame settings )
Attention! you cannot play with windows users at the moment. if you want to try it disable ( set to 0 )
NetworkConsistencyChecks=1
in glest.ini.
By this you can play server and windows machines can connect. But you cannot connect to a windows server with this check!
there is no master server available yet
you must connect to the irc channel find a partener there.
One player is server the other/others is are client and must enter the servers IP.( in the ini file or in the game when connecting )
if you are looking for multiplayer partners come to
irc://irc.freenode.net/glest (http://irc://irc.freenode.net/glest)
-
Thanks titi, I spend half an hour to figure out how to compile 3.0.0beta1 then I successfully tried your way ...
Glest Multiplayer up and running !
-
First, I wanna to thank you for the help. But I got some problems here.
I did everything correct, but when I write ./autogen.sh, it shows:
vinicius@vinicius-desktop:~/glestsource/mk/linux$ ./autogen.sh
aclocal...
./autogen.sh: 11: aclocal: not found
generating Jamconfig.in ...
./autogen.sh: 17: autoconf: not found
autoconf
./autogen.sh: 24: autoconf: not found
Updating Source symlinks...
vinicius@vinicius-desktop:~/glestsource/mk/linux$ ./configure
bash: ./configure: Arquivo ou diretório inexistente
Arquivo ou diretório inexistente means that don't exist File or directory in portuguese.
Can you help me?
-
same here...I've Ubuntu 7.10
jam is installed but I get this error.
detructor15@detructor15-desktop:~/Desktop/spiele/glest/mk/linux$ ./autogen.sh
aclocal...
./autogen.sh: 11: aclocal: not found
generating Jamconfig.in ...
./autogen.sh: 17: autoconf: not found
autoconf
./autogen.sh: 24: autoconf: not found
Updating Source symlinks...
after a 5 minute search in the www with google, I got the solution: you've to install "automake"
and I've to install:
libsdl1.2-dev, libxerces27, libxerces27-dev, libopenal-dev and libvorbis-dev
@Admins please get this package into the requirements...ty
and now I'm at the end of my knowledge
Exception: Can't open properties file: data/lang/english.lng
that comes when I try to start the game...
-
ok, to get the things running there is more to do!
you have to use the new data package
and edit the setup the glest.ini.
here is a working linux example of the glest.ini:
http://www.titusgames.de/glest.ini (http://www.titusgames.de/glest.ini)
If you want to setup it for your own:
things that must be changed in the windows version of the glest.ini:
use other fonts:
FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
use 16bit
DepthBits=16
sound must be switched to OpenAL
FactorySound=OpenAL
-
oh...I see...it's an other svn tree.
get it...but as you said, there is much more to do :twisted: :wink:
errh...that was even in the "normal" config file:
; === Properties File ===
AiLog=0
AiRedir=0
CheckGlCaps=1
ColorBits=32
ConsoleMaxLines=10
ConsoleTimeout=1
DayTime=1000
DebugMode=0
DepthBits=16
FactoryGraphics=OpenGL
FactorySound=OpenAL
FastSpeedLoops=2
Filter=Bilinear
FilterMaxAnisotropy=1
FirstTime=0
FocusArrows=1
FogOfWarSmoothing=1
FogOfWarSmoothingFrameSkip=3
FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
Lang=english.lng
MaxLights=1
NetworkConsistencyChecks=1
Platform=Linux
PhotoMode=0
RefreshFrequency=75
ScreenHeight=480
ScreenWidth=640
ServerIp=192.168.1.102
ServerPort=6666
ShadowAlpha=0.1
ShadowFrameSkip=2
ShadowTextureSize=256
Shadows=Projected
SoundStaticBuffers=16
SoundStreamingBuffers=4
SoundVolumeAmbient=80
SoundVolumeFx=80
SoundVolumeMusic=90
StencilBits=0
Textures3D=1
Windowed=0
-
OK, I will collect all this in my first post
-
connect to the irc channel if possible:
irc://irc.freenode.net/glest (http://irc://irc.freenode.net/glest)
-
okay, thanks for your help!
That was a great debugging session :D
Cause, I didn't know the buildings ;)
-
I get the same "Exception: Font not found. " error message and can't get the game to start. any help? I'm on the latest version of ubuntu btw.
-
me to. I am also on latest ubuntu.
EDIT FIXED: where it says
FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
in the glest.ini file, replace all of the utopia's with a font of your choice, I am using freesans.
-
OK the change of font worked for me. The sounds were weird about 2 seconds, then everything looked good.
The only thing I can't get to work is the multiplayer support. It says the server is at 86.7.216.52_ but I can't seem to join the server at all?
Is this normal, am I just doing something wrong or have I overlooked something.
Again, I'm on the latest ubuntu.
Thanks guys, looking forward to playing this game in multiplayer :)
-
Destructor wrote...
Exception: Can't open properties file: data/lang/english.lng (when trying to start the game)
I had the same problem.
Make sure to copy the data (folder/directory) into the same directory as the glest binary (i.e. the directory where you are launching the Glest from)
It worked for me. :)
-
Yes the english language worked for me.
But I can't play because i don't connect to server 86.7.216.52_
what happening? I want try this beta :)
-
This is how I compiled Beta 1 on my amd64 (Gentoo) system. My system is setup with US English locale, so I have to make some minor tweaks to check out the Spanish language file, which contains unicode characters. Also, I have vorbis and ogg installed under /usr (the root of it's install), so I specify that and I disable wx. I am installing it into a subdirectory of my home, rather than globally under /.
# Set and create my install directory
dest=~/proj/glest
mkdir -p $dest
# Fixup my locale settings
export LC_CTYPE=en_US.UTF-8
locale
# Get sources
svn co https://glest.svn.sourceforge.net/svnroot/glest/trunk
pushd trunk/mk/linux/
# Compile and install
./autogen.sh
./configure --prefix=$dest --with-x --with-vorbis=/usr --with-ogg=/usr --with-wx-config=disabled_wx
jam && jam install
# Install data files, I prefer to use tar because I like the way it handles files.
popd
tar cC trunk/data/glest_game * | tar xC $dest
cp ./mk/linux/glest.ini $dest
This is basically what you have to have installed to build & run:
- jam (http://www.perforce.com/jam/jam.html (http://www.perforce.com/jam/jam.html))
- aclocal, autoconf, automake, autoheader, et. al.
- unzip
- sdl (http://www.libsdl.org (http://www.libsdl.org))
- ogg (http://xiph.org/ogg (http://xiph.org/ogg))
- vorbis (http://xiph.org/vorbis (http://xiph.org/vorbis))
- openal (http://www.openal.org (http://www.openal.org))
- xerces-c (http://xerces.apache.org/xerces-c (http://xerces.apache.org/xerces-c))
- an openGL implementation
- and X Windows
-
There is some information on compiling at https://docs.megaglest.org/Compiling (https://docs.megaglest.org/Compiling)
-
Any idea on how to get the multiplayer working on linux?
-
mkdir glestsource
cd glestsource
svn co https://glest.svn.sourceforge.net/svnroot/glest/trunk/source
svn co https://glest.svn.sourceforge.net/svnroot/glest/trunk/mk
cd mk/linux/
./autogen.sh
./configure
jam
Now you find the binary in the current directory.
whats else to do:
download the new data package
http://downloads.sourceforge.net/glest/ ... 0beta1.zip (http://downloads.sourceforge.net/glest/glest_data_3.0.0beta1.zip)
unpack it and copy your binary and the linux glests.ini ( is in the same directory as your binary) into the glest basedir.
Which one is the glestbasedir? glestsource? mk/linux?
-
I found this message on try to join a connected game.
daniel@xucuru:~/svn/glestsource/mk/linux$ ./glest
Couldn't process event: Error connecting socket (Error: Operation now in progress)
Couldn't process event: Error connecting socket (Error: Operation now in progress)
What is this?
-
there is no master server available yet
you must connect to the irc channel find a partener there.
One player is server the other/others is are client and must enter the servers IP. ( in the ini file or in the game when connecting )
irc://irc.freenode.net/glest (http://irc://irc.freenode.net/glest)
-
On doing ./configure the error of 'configure: error: You need to have GLU headers and libraries installed' appeared. This was fixed by installing the Mesa-devel package which included the proper files. They are also meant to be a part of XFree86-devel but I couldn't find it in the package repositories.
-
On doing ./configure the error of 'configure: error: You need to have GLU headers and libraries installed' appeared. This was fixed by installing the Mesa-devel package which included the proper files. They are also meant to be a part of XFree86-devel but I couldn't find it in the package repositories.
To install linux headers kernel type:
# apt-get install build-essential linux-headers-`uname -r`
And probally you have to install too:
# apt-get install xfree86-dev
Try this, don't forgetter you must have requiments to install.
-
YEA, maybe late but better than never... thanks titi for the instructions!
I got Glest3.1.2/GAE0.2.6 compiled on my Sidux/Debian. Now it works corectly without the damn movement error (units moved to the topleft map corner by every command, exept commands with another unit as target).
Now i will try if someone wants to play with me with this binary...
-
I have the following problems :
- you forget liblua in the dependencies
- The revision 175 doesn't compile with g++ 4.3. I fix this (we just have to add header) :
Index: shared_lib/sources/platform/posix/socket.cpp
===================================================================
--- shared_lib/sources/platform/posix/socket.cpp (révision 176)
+++ shared_lib/sources/platform/posix/socket.cpp (copie de travail)
@@ -10,6 +10,8 @@
#include <stdexcept>
#include <sstream>
+#include <stdlib.h>
+#include <string.h>
#if defined(HAVE_SYS_IOCTL_H)
#define BSD_COMP /* needed for FIONREAD on Solaris2 */
#include <sys/ioctl.h>
Index: shared_lib/sources/util/conversion.cpp
===================================================================
--- shared_lib/sources/util/conversion.cpp (révision 176)
+++ shared_lib/sources/util/conversion.cpp (copie de travail)
@@ -11,6 +11,8 @@
#include "conversion.h"
+#include <stdlib.h>
+#include <string.h>
#include <stdexcept>
#include <cstdio>
Index: shared_lib/sources/util/properties.cpp
===================================================================
--- shared_lib/sources/util/properties.cpp (révision 176)
+++ shared_lib/sources/util/properties.cpp (copie de travail)
@@ -11,6 +11,7 @@
#include "properties.h"
+#include <string.h>
#include <fstream>
#include <stdexcept>
Index: shared_lib/sources/util/util.cpp
===================================================================
--- shared_lib/sources/util/util.cpp (révision 176)
+++ shared_lib/sources/util/util.cpp (copie de travail)
@@ -11,6 +11,7 @@
#include "util.h"
+#include <string.h>
#include <ctime>
#include <cassert>
#include <stdexcept>
- glest search data/lang/english.lng.lng enstead of data/lang/english.lng (is it a global bug ?). So I rename english.lng to english.lng.lng and it's work well.
-
Well, the 300 is quite old :P try some never one (312, 320)