You are not logged in.

#1 2008-11-09 15:52:48

ChemBro
Member
Registered: 2008-10-22
Posts: 703

[solved] problems with compiling widelands-svn

Hello there.

I think since the recently python update (2.5 --> 2.6) I have problems with compiling widelands(-svn). I think, the problem is the python update, but I'm far away from understanding the problem.

Okay, first: The two steps I do (necessary  packages already installed [like sdl, boost and so on]):

svn co https://widelands.svn.sourceforge.net/svnroot/widelands/trunk widelands

to get the newest version and

scons build=debug

in ~/widelands/ to compile it. That's my output:

$ scons build=debug
scons: Reading SConscript files ...
/usr/lib/python2.6/site-packages/SCons/Platform/posix.py:38: DeprecationWarning: The popen2 module is deprecated.  Use the subprocess module.
  import popen2
/usr/lib/python2.6/site-packages/SCons/Tool/msvs.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5

Searching for ctags:       not found. Tags will not be built
Searching for pngrewrite:  not found. PNG compatification disabled.
Searching for optipng:     not found. PNG compatification disabled.
Searching for astyle:      not found. Cannot perform source indenting.

Platform:          posix
Build type:        debug
Build ID:          svn3498

Checking for a working C++ compiler ... no
Can't even compile the simplest C++ program! Your setup is beyond broken. Repair it, then try again.

I do see something, but don't know how to fix it, where to begin or where to search for. Do you need more information like

$ type g++
g++ is /usr/bin/g++

or

$ type c++
c++ is /usr/bin/c++

or anything else? I hope someone here is able to help me, because I need to compile it. Thanks.

P.S.: I did compile successfully the latest Amarok 2 beta. Don't know, if this helps.

Last edited by ChemBro (2008-11-11 22:36:38)

Offline

#2 2008-11-11 16:43:27

mccord
Member
Registered: 2008-10-12
Posts: 12

Re: [solved] problems with compiling widelands-svn

hi
i had the same problem, fixed it by building scons with the pkgbuild mentioned in this bug report http://bugs.archlinux.org/task/12076 smile

Offline

#3 2008-11-11 22:36:02

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: [solved] problems with compiling widelands-svn

Thank you, this solved the problem. big_smile

Offline

Board footer

Powered by FluxBB