Author Topic: READMElinux (V2.0) should be updated  (Read 5297 times)

gorgonz

  • Guest
READMElinux (V2.0) should be updated
« on: 11 April 2006, 22:14:44 »
Well, I'm not an expert, but together with other threads here I suppose this corrections could be a help to others.

Thats o-tone:
Code: [Select]
2.2 Building

To build and install the game use the following commands (in the top glest
directory).

cd mk/linux
./configure
jam

This should be the new text:
Code: [Select]
2.2 Building

To build and install the game use the following commands (in the top glest
directory).

cd mk/linux
for i in `find ./`; do dos2unix $i; done
chmod a+x *.sh
./autogen.sh
./configure
jam


Now I'm still working at other problems.

Less of importance, but anyway: Version inside the file README:
Glest source code v1.0.10 -> Glest source code v2.0
« Last Edit: 1 January 1970, 00:00:00 by gorgonz »

xamil

  • Guest
(No subject)
« Reply #1 on: 13 April 2006, 18:07:52 »
I try to compile glest on my system. Compilation was sucessful but when i try to run glest i got
Quote
> ./glest
Exception: Font not found.


:/ Somebody could help me? I wrote about this earlier when compile from cvs but now i use source and data packages and i get this same. I've made everything like is writen here http://www.glest.org/board/viewtopic.php?t=1112
« Last Edit: 1 January 1970, 00:00:00 by xamil »

vicentecarro

  • Guest
(No subject)
« Reply #2 on: 13 April 2006, 18:57:26 »
when i try to compile in ubuntu breezy i get errors. After i type the autoconf i get the following output:

$ ./autogen.sh
aclocal...
aclocal: configure.ac: 136: macro `AM_OPTIONS_WXRC' not found in library
generating Jamconfig.in ...
autoconf
configure.ac:58: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:73: error: possibly undefined macro: AC_DEFINE
configure.ac:97: error: possibly undefined macro: AM_PATH_SDL
configure.ac:136: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
configure.ac:137: error: possibly undefined macro: AM_PATH_WXCONFIG
configure.ac:140: error: possibly undefined macro: AC_INIT_JAM
Updating Source symlinks...


And after, if i try to make a configure i get this:

$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether byte ordering is bigendian... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether g++ is new enough... yes
checking for doxygen... no
checking for target host... assume posix
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers in standard search path
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
./configure: line 4096: AX_TYPE_SOCKLEN_T: command not found
./configure: line 4098: syntax error near unexpected token `1.2.5,'
./configure: line 4098: `AM_PATH_SDL(1.2.5,'
« Last Edit: 1 January 1970, 00:00:00 by vicentecarro »

gborzi

  • Guest
(No subject)
« Reply #3 on: 13 April 2006, 23:12:14 »
To avoid those errors (and others) you have to do 2 things:
1) in configure.ac delete the 3 lines containing
Code: [Select]
AM_OPTIONS_WXCONFIG
AM_PATH_WXCONFIG([2.6.0], [WX_AVAILABLE="yes"], [WX_AVAILABLE="no"], [std,gl],  [--unicode=no])
AC_SUBST([WX_AVAILABLE])

2) in Jamfile delete the lines below #### Editor ####
A brief explanation. The libwx libraries will be used for glest map editor. Since it is not included in the current linux release, you can safely delete those parts of configuration files that checks the libraries and try to build the editor.
BTW, I have sent you the howto and the files needed for the ubuntu packages, have you received them ?
« Last Edit: 1 January 1970, 00:00:00 by gborzi »

vicentecarro

  • Guest
(No subject)
« Reply #4 on: 14 April 2006, 12:52:17 »
Thanks, everything compiled now.
Then i have put the data files and the binary(execuatable) a folder and when i try to launch i get:

glest_game$ ./glest
Exception: Couldn't set video mode 800x600 (32bpp 0 stencil 32 depth-buffer). SDL Error is: Couldn't find matching GLX visual

Well i have tried to change the resolution, that becasuse there is 800x600 and no 1024x768
Ideas? Of course my SDL are working well and correctly installed.

UPDATE:
I have fixed. For something strange reason the default zbuffer is at 32 (guys, the nvidia guys have 16 or 24 in the mayority of our cards...)

Now i get a new error:

./glest
Exception: Font not found.

font? which font?
« Last Edit: 1 January 1970, 00:00:00 by vicentecarro »

vicentecarro

  • Guest
(No subject)
« Reply #5 on: 14 April 2006, 14:44:03 »
Finally works.
I have overwirte the glest.ini for the one that is in the linux folder.
Thanks.
« Last Edit: 1 January 1970, 00:00:00 by vicentecarro »