Re: [AD] CMake

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-07-28, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
> I can sympathize with you if you cant get scons to work, but what
> exactly didnt work?

I don't know if it's worth your time.  But from a fresh checkout and
scons 0.96.92, pretty much every configuration check is wrong and then
it aborts.

The log file shows that most of the failures are due to a bad switch:

    gcc -o .sconf_temp/conftest_3.o -c -mcpu= .sconf_temp/conftest_3.c
    cc1: error: bad value () for -mcpu= switch
    scons: Configure: no

I didn't see that until just now.  Previously I just saw the final error
message:

    KeyError: 'CPPPATH':
      File "SConstruct", line 214:
	context = getAllegroContext()
      File "SConstruct", line 211:
	SConscript(file, exports = ['context'])
      File "/usr/lib/scons-0.96.92/SCons/Script/SConscript.py", line 557:
	return apply(method, args, kw)
      File "/usr/lib/scons-0.96.92/SCons/Script/SConscript.py", line 494:
	return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
      File "/usr/lib/scons-0.96.92/SCons/Script/SConscript.py", line 226:
	exec _file_ in call_stack[-1].globals
      File "scons/linux.scons", line 5:
	SConscript('unix.scons', exports = ['context'])
      File "/usr/lib/scons-0.96.92/SCons/Script/SConscript.py", line 557:
	return apply(method, args, kw)
      File "/usr/lib/scons-0.96.92/SCons/Script/SConscript.py", line 494:
	return apply(_SConscript, [self.fs,] + files, {'exports' : exports})
      File "/usr/lib/scons-0.96.92/SCons/Script/SConscript.py", line 226:
	exec _file_ in call_stack[-1].globals
      File "scons/unix.scons", line 246:
	val = env[setting]
      File "/usr/lib/scons-0.96.92/SCons/Environment.py", line 295:
	return self._dict[key]

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/