← Back to team overview

yade-users team mailing list archive

Re: Trouble with installation

 

The Ubuntu scons has an incompatible version number with the scons script provided in the yade package (homepage), if you do not want to use svn, download a local copy of scons (0.97 version, so in your yade source dir there should be a folder named scons-local), put it in the yade source directory, then following the README file:

Then modify the build/install instructions for your package to instruct your users to execute SCons as follows (if you installed this package in your top-level directory):
        $ python scons.py
Or (if, for example, you installed this package in a subdirectory named "scons"):
        $ python scons/scons.py

For example, the command 
"scons PREFIX=/home/jpvassal/YADE optimize=1"
should be replaced with
"python scons-local/scons.py PREFIX=/home/jpvassal/YADE optimize=1"
just replace the "scons" name with "python scons-local/scons.py"

However it is not a good way, could someone update the http://download.berlios.de/yade/yade-0.11.1.tar.gz file on the homepage?

BTW, if you are using Intel or ATI video card for Ubuntu Hardy heron, disable Compiz by - right click on the desktop, select "Change Desktop Background", click "Visual Effects", click the "none" option. Otherwise all OpenGL apps will mess up~~~


-----Original Message-----
From: yade-users-bounces@xxxxxxxxxxxxxxxx on behalf of jpvassal@xxxxxxxxxxxxxxxxx
Sent: Thu 7/24/2008 8:40 AM
To: yade-users@xxxxxxxxxxxxxxxx
Subject: [Yade-users] Trouble with installation
 
Sorry, i'm a beginner under linux.
I tried to follow instructions on the site to instal on ubuntu heron. But
when i try to type 

scons PREFIX=/home/jpvassal/YADE optimize=1

The answer i had was the following one :

scons: Reading SConscript files ...
ValueError: invalid literal for int() with base 10: '0d20071203':
  File "/home/jpvassal/yade-0.11.1/SConstruct", line 28:
    sconsVersion=sum([int(SCons.__version__.split('.')[ord[0]])*ord[1] for
ord in [(0,10000),(1,100),(2,1)][:len(SCons.__version__.split('.'))] ])

Can you help me???


--------------------------------------------------------------------
mail2web - Vérifiez votre courrier électronique depuis le web sur
http://mail2web.com/ .


_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users

References