![]() |
Scons script error? ubuntu 7.10 - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5) +--- Thread: Scons script error? ubuntu 7.10 (/showthread.php?tid=929) |
Scons script error? ubuntu 7.10 - eci - 03-11-2008 Hi ! I downloaded the source package (vdrift-2007-03-23-src) and the full data package (vdrift-2007-03-23-data-full) and I'm having trouble compiling/ installing with scons. I have scons installed and I think I have all the dependencies. When I run "scons" I get this error: Code: gcc -o build/binreloc.o -c -Wall -Wno-non-virtual-dtor -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -I/usr/include/SDL src/binreloc.c All the other files build just fine. This is the only error I get. So how do I edit this script and is there something else I should be doing? (like using some options for different gcc versions?) - joevenzon - 03-11-2008 That shouldn't cause any big problems. The binreloc.c file is indeed plain old C, but gcc is complaining because we told it to ignore a type of warning that is only generated in C++ code... it's just a warning, so shouldn't stop gcc from working. But you're right, it should be fixed... and... I don't really know how, not being very good with scons myself. :-) - eci - 03-11-2008 Oh, I thought this was the cause why "scons install" hangs. It detects all the libs alright, but then stops without any error messages. Output here: Code: scons: Reading SConscript files ... Edit: after a really long time I got an error about permissions, so I tried sudo and it worked. :oops: I guess it was just weird waiting for 5minutes without any info on what was happening. - thelusiv - 03-11-2008 That is indeed strange that it took so long to give you a permission denied error. Just for reference, you don't have to run scons install, you can simply run VDrift where you built it by running "build/vdrift". - alex25 - 03-13-2008 thelusiv Wrote:That is indeed strange that it took so long to give you a permission denied error. debian's scons (and i guess ubuntu is using the same one) is totally screwed up. it uses an incredible amount of memory when trying to install, and if you don't have gigs of memory it then swaps like crazy further slowing down the installation process. i've had it run out of memory completely on my laptop and then the kernel started killing things (unfortunately not the scons install process itself). i installed the original scons from http://scons.org/ and it works much, much better. --alex-- |