Author Topic: I have problems to compile glest 3.1.2 in debian sid amd64  (Read 4448 times)

albertglest

  • Guest
I have problems to compile glest 3.1.2 in debian sid amd64. it unloads the dependencies that I needed of the repositorios of experimental. I leave to ./configure and ftjam them.

./configure:
Code: [Select]
albert@debian:~/glest_source/glest-source-3.1.2$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 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 for target host... assume posix
checking for X... libraries , headers
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for socklen_t... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.5... yes
checking for xerces... found
checking for OpenAL... found
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for OpenGL Utility library... -lGLU
checking for Vorbis... yes
checking for Ogg... yes
checking for wx-config... no
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.

ftjam:
Code: [Select]
albert@debian:~/glest_source/glest-source-3.1.2$ ftjam
...found 479 target(s)...
...using 43 temp target(s)...
...updating 3 target(s)...
C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o
shared_lib/sources/xml/xml_parser.cpp: In member function ‘Shared::Xml::XmlNode* Shared::Xml::XmlIo::load(const std::string&)’:
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘DOMBuilder’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘parser’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘class xercesc_3_0::DOMImplementationLS’ has no member named ‘createDOMBuilder’
shared_lib/sources/xml/xml_parser.cpp:93: error: ‘fgDOMValidation’ is not a member of ‘xercesc_3_0::XMLUni’
shared_lib/sources/xml/xml_parser.cpp: In member function ‘void Shared::Xml::XmlIo::save(const std::string&, const Shared::Xml::XmlNode*)’:
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘DOMWriter’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘writer’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘class xercesc_3_0::DOMImplementation’ has no member named ‘createDOMWriter’

    g++ -c -o ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.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     -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   -Wall -W -Wno-unused -Wno-sign-compare -O3 -g3 -DNDEBUG shared_lib/sources/xml/xml_parser.cpp

...failed C++ ./build/x86_64-unknown-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o ...
...skipped libglestlib.a for lack of libglestlib.a(xml_parser.o)...
...skipped glest for lack of libglestlib.a...
...failed updating 1 target(s)...
...skipped 2 target(s)...


In they debian I have version 3.1.2-1 but by the IRC #glest they ask to me that it compiles to be able to play online. it would be been thankful if they could help me.
« Last Edit: 1 January 1970, 00:00:00 by albertglest »

daniel.santos

  • Guest
Re: I have problems to compile glest 3.1.2 in debian sid amd64
« Reply #1 on: 22 October 2008, 21:09:14 »
Sorry for the slow reply, but at least it will be here for the record (in case anybody else searches on this).  This appears to be due to an incompatibility between Glest & xerces-c 3.0.  I'm looking into this, but will probably just downgrade back to 2.8 until later on.

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: I have problems to compile glest 3.1.2 in debian sid amd64
« Reply #2 on: 24 October 2008, 11:50:22 »
I noticed freetype jam is used instead of perforce jam. I have tried boost jam before and there have been problems.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

GlestTest

  • Swordman
  • *
  • Posts: 13
    • View Profile
Re: I have problems to compile glest 3.1.2 in debian sid amd64
« Reply #3 on: 31 December 2008, 15:19:58 »
I have it working on a debian-based 64bit system  (Ubuntu). I didnt compile it.
I posted my installation steps here:
http://http://glest.org/glest_board/viewtopic.php?f=11&t=4043#p21188

RainCT

  • Guest
Re: I have problems to compile glest 3.1.2 in debian sid amd64
« Reply #4 on: 17 February 2009, 23:34:54 »
Just FYI, Glest 3.1.2 for amd64 (and several other architectures) is available in Debian Lenny.