Re: [Lprof-users] cvs + scons
Brought to you by:
hvengel
From: Hal V. E. <hv...@as...> - 2009-06-16 18:03:44
|
On Tuesday 16 June 2009 02:48:32 am Kai-Uwe Behrmann wrote: > Dear developers, > > is scons the actual build system for CVS? > v1.11.4.1 seems to work fine though. > > In a actual CVS directory following output appears, with a scons dir > copied from the actual tarball: > > & python scons.py PREFIX=/opt/local > scons: Reading SConscript files ... > Looking for build directory for platform 'linux2' > Exact match not found, finding closest guess > Found directory build/linux, will build there > <type 'exceptions.NameError'>: global name 'fullpath1' is not defined: > File "SConstruct", line 71: > env.Tool('qt4', toolpath=['.']) > File > "/data3/CD/programme/Grafik/lcms/lprof/scons-local-0.96.91/SCons/Environmen >t.py", line 1091: tool(self) > File > "/data3/CD/programme/Grafik/lcms/lprof/scons-local-0.96.91/SCons/Tool/__ini >t__.py", line 128: apply(self.generate, ( env, ) + args, kw) > File "/data3/CD/programme/Grafik/lcms/lprof/qt4.py", line 260: > QT4_RCC = locateQt4Command(env,'rcc', env['QTDIR']), > File "/data3/CD/programme/Grafik/lcms/lprof/qt4.py", line 241: > raise "Qt4 command '" + command + "' not found. Tried: " + fullpath1 + > " and "+ fullpath2 > > > kind regards > Kai-Uwe Behrmann Kai-Uwe, Yes scons is the build system for CVS versions of LProf. In the read me it has details about how to set the build for CVS versions. But I think CVS now needs something newer than scons-0.96 since older versions did not have Qt4 support. Try it with something newer like version 1.2 and it should be fine. The README file probably needs to be updated to reflect this. Also it is probably better to just install scons on your system rather than using a local copy in the lprof tree. The reason that older versions of LProf included a local copy was that at the time many users distros did not supply a new enough version and it was simpler to include a local copy then to deal with all of the issues related to the versions that distros typically had. I think that this is no longer an issue at least for newer distros. Hal |