Hi, According to http://software.opensuse.org/search Opensuse11.1 uses scons 1.0.1, the ticket in the bugtracker you mentioned suggests scons 1.2.
Try to upgrade scons by installing a newer package for your distribution. You can find the RPMs with the link I mentioned. A repository for OpenSuse which contains scons 1.2 is for example http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_11.1/ hope it helps. nico tschobber tschöbbi schrieb: > Hi, > > I have some troubles installing Mapnik 0.5.1 from source on openSuse11.1: > When I run the scons.py in the source directory, I always get the following > error: > > /usr/bin/python2.6 scons/scons.py > scons: Reading SConscript files ... > /downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Platform/posix.py:37: > DeprecationWarning: The popen2 module is deprecated. Use the subprocess > module. > import popen2 > /downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Tool/msvs.py:37: > DeprecationWarning: the md5 module is deprecated; use hashlib instead > import md5 > Building on Linux ... > Checking for C library m... AttributeError: 'NodeList' object has no > attribute 'name': > File "/downloads/mapnik-0.5.1/SConstruct", line 174: > if not conf.CheckLibWithHeader(libinfo[0], libinfo[1], 'C') and > libinfo[2]: > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/SConf.py", > line 606: > ret = apply(self.test, (context,) + args, kw) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/SConf.py", > line 946: > call = call, language = language, autoadd = autoadd) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Conftest.py", > line 510: > ret = context.BuildProg(text, suffix) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/SConf.py", > line 793: > return not self.TryBuild(self.env.Program, text, ext) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/SConf.py", > line 766: > return apply(self.sconf.TryBuild, args, kw) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/SConf.py", > line 530: > nodes = builder(target = target, source = source) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Environment.py", > line 214: > return apply(MethodWrapper.__call__, (self, target, source) + args, kw) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Environment.py", > line 178: > return apply(self.method, nargs, kwargs) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Builder.py", > line 614: > return self._execute(env, target, source, OverrideWarner(kw), ekw) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Builder.py", > line 548: > source = self.src_builder_sources(env, source, overwarn) > File > "/downloads/mapnik-0.5.1/scons/scons-local-0.97.0d20071212/SCons/Builder.py", > line 727: > match_suffix = match_src_suffix(s.name) > > I've read this page (http://trac.mapnik.org/ticket/164) but I don't have any > idea how to upgrade the scons.py because it is a single file just for the > installation, or am I thinking wrong? > > I'm a big newbie on Mapnik :( and I would really appreciate if you could help > me! > > Greetings, > > Martin > > > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

