Okay, GiGi compiled fine but now i'm getting the following when compiling FO. I know it's looking for headers or some custom automake jazz, but i'm not certain what exactly. Please help! :
Code:
leiavoia@levbox:~/games/FreeOrion$ make
cd . && /bin/sh /home/leiavoia/games/FreeOrion/missing --run automake-1.8 --foreign Makefile
/home/leiavoia/games/FreeOrion/missing: line 46: automake-1.8: command not found
WARNING: `automake-1.8' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/sh ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make all-am
make[1]: Entering directory `/home/leiavoia/games/FreeOrion'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/SDL -D_REENTRANT -DFREEORION_BUILD_SERVER -DFREEORION_LINUX -MT server/server-ServerApp.o -MD -MP -MF "server/.deps/server-ServerApp.Tpo" -c -o server/server-ServerApp.o `test -f 'server/ServerApp.cpp' || echo './'`server/ServerApp.cpp; \
then mv -f "server/.deps/server-ServerApp.Tpo" "server/.deps/server-ServerApp.Po"; else rm -f "server/.deps/server-ServerApp.Tpo"; exit 1; fi
In file included from universe/Universe.h:6,
from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
util/SitRepEntry.h:6:20: XMLDoc.h: No such file or directory
In file included from util/SitRepEntry.h:39,
from universe/Universe.h:6,
from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
util/VarText.h:9:20: XMLDoc.h: No such file or directory
In file included from util/SitRepEntry.h:39,
from universe/Universe.h:6,
from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
util/VarText.h:32: error: parse error before `::' token
util/VarText.h:34: error: syntax error before `::' token
util/VarText.h:40: error: syntax error before `::' token
util/VarText.h:41: error: semicolon missing after declaration of `VarText'
util/VarText.h:41: error: ISO C++ forbids defining types within return type
util/VarText.h:41: error: `string' specified as declarator-id
util/VarText.h:41: error: syntax error before `&' token
util/VarText.h: In function `void SetText(std::string&)':
util/VarText.h:42: error: `m_text' undeclared (first use this function)
util/VarText.h:42: error: (Each undeclared identifier is reported only once for
each function it appears in.)
util/VarText.h: At global scope:
util/VarText.h:51: error: parse error before `protected'
util/VarText.h:53: error: `std::string m_text' used prior to declaration
util/VarText.h:54: error: parse error before `}' token
In file included from universe/Universe.h:6,
from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
util/SitRepEntry.h:71: error: parse error before `::' token
util/SitRepEntry.h:76: error: syntax error before `::' token
In file included from universe/Universe.h:39,
from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
util/MultiplayerCommon.h:5:19: GGClr.h: No such file or directory
util/MultiplayerCommon.h:6:20: XMLDoc.h: No such file or directory
In file included from universe/Universe.h:39,
from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
util/MultiplayerCommon.h:11: error: `GG' was not declared in this scope
util/MultiplayerCommon.h:11: error: parse error before `::' token
util/MultiplayerCommon.h:18: error: parse error before `::' token
util/MultiplayerCommon.h:22: error: syntax error before `::' token
util/MultiplayerCommon.h:28: error: syntax error before `::' token
util/MultiplayerCommon.h:36: error: parse error before `::' token
util/MultiplayerCommon.h:40: error: syntax error before `::' token
util/MultiplayerCommon.h:44: error: syntax error before `::' token
In file included from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
universe/Universe.h:46:20: GGEnum.h: No such file or directory
In file included from server/ServerApp.h:6,
from server/ServerApp.cpp:1:
universe/Universe.h:69: error: ISO C++ forbids declaration of `ENUM_MAP_BEGIN'
with no type
universe/Universe.h: In function `int GG::ENUM_MAP_BEGIN(PlanetType)':
universe/Universe.h:69: error: parse error before `(' token
universe/Universe.h:70: error: ISO C++ forbids declaration of `ENUM_MAP_INSERT'
with no type
universe/Universe.h:70: error: syntax error before `(' token
universe/Universe.h:85: error: ISO C++ forbids declaration of `ENUM_STREAM_IN'
with no type
universe/Universe.h: In function `int GG::ENUM_STREAM_IN(PlanetType)':
universe/Universe.h:85: error: parse error before `(' token
universe/Universe.h:88: error: ISO C++ forbids declaration of `ENUM_STREAM_OUT'
with no type
universe/Universe.h: In function `int GG::ENUM_STREAM_OUT(PlanetType)':
universe/Universe.h:88: error: parse error before `{' token
universe/Universe.h:162: error: invalid declaration of member template `const
T* GG::ENUM_STREAM_OUT(PlanetType)::Universe::Object(int) const' in local
class
universe/Universe.h:163: error: invalid declaration of member template `T*
GG::ENUM_STREAM_OUT(PlanetType)::Universe::Object(int)' in local class
universe/Universe.h:167: error: invalid declaration of member template `
std::vector<const UniverseObject*, std::allocator<const UniverseObject*> >
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjects(Pred) const' in local
class
universe/Universe.h:171: error: invalid declaration of member template `
std::vector<UniverseObject*, std::allocator<UniverseObject*> >
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjects(Pred)' in local class
universe/Universe.h:174: error: invalid declaration of member template `
std::vector<const T*, std::allocator<const T*> >
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjects() const' in local
class
universe/Universe.h:177: error: invalid declaration of member template `
std::vector<T*, std::allocator<T*> >
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjects()' in local class
universe/Universe.h:181: error: invalid declaration of member template `
std::vector<int, std::allocator<int> >
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs(Pred) const' in
local class
universe/Universe.h:184: error: invalid declaration of member template `
std::vector<int, std::allocator<int> >
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs() const' in local
class
universe/Universe.h:269: error: template-argument `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::vertex_system_pointer_t' uses
local type `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::vertex_system_pointer_t'
universe/Universe.h:269: error: ISO C++ forbids declaration of `
vertex_property_t' with no type
universe/Universe.h:283: error: template-argument `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::vertex_system_pointer_t' uses
local type `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::vertex_system_pointer_t'
universe/Universe.h:283: error: ISO C++ forbids declaration of `const_type'
with no type
universe/Universe.h:283: error: parse error before `;' token
universe/Universe.h:284: error: template-argument `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::vertex_system_pointer_t' uses
local type `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::vertex_system_pointer_t'
universe/Universe.h:284: error: ISO C++ forbids declaration of `type' with no
type
universe/Universe.h:284: error: parse error before `;' token
universe/Universe.h:328: error: invalid declaration of member template `class
GG::ENUM_STREAM_OUT(PlanetType)::Universe::NumberedElementFactory<T>' in
local class
universe/Universe.h:348: error: local class `class
GG::ENUM_STREAM_OUT(PlanetType)::Universe' shall not have static data member
`double GG::ENUM_STREAM_OUT(PlanetType)::Universe::s_universe_width'
universe/Universe.h:348: error: field `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::s_universe_width' in local class
cannot be static
In file included from Empire/EmpireManager.h:11,
from Empire/ServerEmpireManager.h:7,
from server/ServerApp.h:10,
from server/ServerApp.cpp:1:
Empire/Empire.h:9:19: GGClr.h: No such file or directory
Empire/Empire.h:13:20: XMLDoc.h: No such file or directory
In file included from Empire/Empire.h:21,
from Empire/EmpireManager.h:11,
from Empire/ServerEmpireManager.h:7,
from server/ServerApp.h:10,
from server/ServerApp.cpp:1:
Empire/TechManager.h: In member function `std::vector<int, std::allocator<int>
> GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs() const':
Empire/TechManager.h:30: error: template-argument `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs() const::Tech*'
uses local type `GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::Tech'
Empire/TechManager.h:30: error: template argument 4 is invalid
Empire/TechManager.h:30: error: ISO C++ forbids declaration of `iterator' with
no type
Empire/TechManager.h:30: error: parse error before `;' token
Empire/TechManager.h:31: error: template-argument `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs() const::Tech*'
uses local type `GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::Tech'
Empire/TechManager.h:31: error: template argument 4 is invalid
Empire/TechManager.h:31: error: ISO C++ forbids declaration of `const_iterator'
with no type
Empire/TechManager.h:31: error: parse error before `;' token
Empire/TechManager.h:80: error: template-argument `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs() const::Tech*'
uses local type `GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::Tech'
Empire/TechManager.h:80: error: template argument 4 is invalid
Empire/TechManager.h:80: error: ISO C++ forbids declaration of `m_tech_map'
with no type
In file included from universe/Ship.h:6,
from Empire/Empire.h:26,
from Empire/EmpireManager.h:11,
from Empire/ServerEmpireManager.h:7,
from server/ServerApp.h:10,
from server/ServerApp.cpp:1:
universe/UniverseObject.h:105: error: local class `class
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject' shall not have static data member `const double
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject::INVALID_POSITION'
universe/UniverseObject.h:106: error: local class `class
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject' shall not have static data member `const int
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject::INVALID_OBJECT_ID'
universe/UniverseObject.h:107: error: local class `class
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject' shall not have static data member `const int
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject::MAX_ID'
universe/UniverseObject.h:105: error: field `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject::INVALID_POSITION' in local class cannot be static
universe/UniverseObject.h:106: error: field `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject::INVALID_OBJECT_ID' in local class cannot be static
universe/UniverseObject.h:107: error: field `
GG::ENUM_STREAM_OUT(PlanetType)::Universe::FindObjectIDs()
const::UniverseObject::MAX_ID' in local class cannot be static
universe/UniverseObject.h:118: confused by earlier errors, bailing out
make[1]: *** [server/server-ServerApp.o] Error 1
make[1]: Leaving directory `/home/leiavoia/games/FreeOrion'
make: *** [all] Error 2