You are not logged in.

#1 2010-01-16 14:58:52

JohnnyRogers
Member
Registered: 2009-10-24
Posts: 32

Freeorion-svn: Build failed

Has anyone gotten this to compile successfully? I'm using yaourt and if I run it as normal user I get an error pretty quickly, so I tried it w/ sudo and it worked for almost an hour before it spit the error back at me.

I'm pretty noobish, so I'm not even sure what went wrong or how to fix it. Here's the output that seems relevant:

Checked out revision 3324.
==> SVN checkout done or server timeout
==> Starting make...
rm: cannot remove `/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build': No such file or directory
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 24, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 28, in <module>
Configuring for POSIX system...
Checking for Py_Initialize() in C library python2.6... yes
Checking for pkg-config... yes
Checking for GiGiOgre >= 0.6.0... yes
KeyError: 'CPPDEFINES':
  File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 236:
    if 'OGRE_STATIC_LIB' in env['CPPDEFINES']:
  File "/usr/lib/python2.6/site-packages/SCons/Environment.py", line 404:
    return self._dict[key]
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 24, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 28, in <module>
Configuring for POSIX system...
Checking for Py_Initialize() in C library python2.6... yes
Checking for pkg-config... yes
Checking for GiGiOgre >= 0.6.0... yes
KeyError: 'CPPDEFINES':
  File "/var/abs/local/yaourtbuild/freeorion-svn/src/freeorion-build/SConstruct", line 236:
    if 'OGRE_STATIC_LIB' in env['CPPDEFINES']:
  File "/usr/lib/python2.6/site-packages/SCons/Environment.py", line 404:
    return self._dict[key]
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build freeorion-svn package.

Any help troubleshooting would be greatly appreciated.

Offline

#2 2010-01-16 16:07:59

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Freeorion-svn: Build failed

Offline

#3 2010-01-16 23:25:36

JohnnyRogers
Member
Registered: 2009-10-24
Posts: 32

Re: Freeorion-svn: Build failed

Do you mean the comment that says to add "extra_compile_flags="${CXXFLAGS}"? I did check and it's in the PKGBUILD file:

 #Build and install the package
  scons configure
  scons prefix=/usr extra_compile_flags="${CXXFLAGS}" || return 1

Offline

#4 2010-01-17 03:13:11

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Freeorion-svn: Build failed

It's not the svn version, but freeorion is in arch-games.

Offline

#5 2010-01-17 13:40:41

JohnnyRogers
Member
Registered: 2009-10-24
Posts: 32

Re: Freeorion-svn: Build failed

Daenyth wrote:

It's not the svn version, but freeorion is in arch-games.

Now I feel really stupid. I can see it in the arch-games package list, I've got my system set up to sync to the repo (and it has!) but when I type "sudo powerpill -S freeorion" it tells me there is no package or group for it. If I search for it I find log4cpp-old on the arch-games repo, but that's all. hmm

edit: hmm, it seems there is no 64-bit version of it?

Last edited by JohnnyRogers (2010-01-17 18:43:21)

Offline

#6 2010-01-18 01:37:49

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Freeorion-svn: Build failed

I'll look into it. Not all the games support 64bit

Edit: Freeorion doesn't support 64bit. You might be able to make a lib32 version

Last edited by Daenyth (2010-01-18 01:38:45)

Offline

Board footer

Powered by FluxBB