The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.27 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message



Forums
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
cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C
I think the problem is with the scons script where "gcc" should be "g++" ,like it is with all the other files, but I'm new to scons and can't figure out where this is.
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 ...
Checking for C library openal... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_net.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file AL/al.h... (cached) yes
Checking for C++ header file AL/alc.h... (cached) yes
Checking for C++ header file AL/alut.h... (cached) yes
This system is not configured for internationalized applications (no xgettext command). An english-only version will be built

Checking for C header file libintl.h... (cached) yes
And then nothing happens.

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--