Problem Versions
Hi,
I'm using Ubuntu 10.10 and Yade 0.60.
When I run Yade 0.60:
"Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `auedcs'
XMLRPC info provider on http://
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]"
I'm a beginner in Linux and Yade. I'm following the tutorial but it's written
1.1.1 Starting Yade
"version (bzr1984); always state this version you use if you seek help in the community or report
bug;"
And it's also written
"A few minor bugs were discovered during the course. They were all fixed in rev. 2640 of Yade which is
therefore the minimum recommended version to run the examples (notably, 0.60 will not work)."
What does that mean ?
If I'm using the 0.60, is it just useless 'cause it won't work ?
I really don't understand how can I get recent versions. I go to the front page of the website https:/
In the directory yade/.bzr/branch, the file last-revision it's written "2804 <email address hidden>"... Is it the real last version ?
I tried to run "scons version=trunk PREFIX=
scons: *** No SConstruct file found.
File "/usr/lib/
But the package scons is installed...
So my question is, I really don't understand how can I get the version 0.60.2 or the bzr2804 and what the difference between 0.60.2 and bzr2804?
Maybe I wasn't clear, but I'm really confused, thank you !
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anton Gladky
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello Arthur,
To answer to your precise question, Yade is a code continuously under development, and for that software "bzr" is used, it allows to let evolve easily a code, with different person working on it. Google bzr (or bazaar) for more info.
Different version are called revision : each time someone does a change, thanks to bzr we go to next revision and everyone is aware of this. See for example https:/
0.60 or something like that are release : if at one time developers are enough satisfied with the state of the revision, this one becomes a "release", something stable (until next release). You can download it without bazaar, but you will not be aware of changes that are done by others.
Good luck !!
Revision history for this message
|
#2 |
> I tried to run "scons version=trunk PREFIX=
>
> scons: *** No SConstruct file found.
You are probably not in the appropriate directory. You must type the
command in yade/.
Revision history for this message
|
#3 |
Thank you for you quick answers !
I'm still on 0.60 and @Chareyre, yes I wasn't in the appropriate directory, so I did and
":~/yade$ bzr update
M lib/triangulati
M lib/triangulati
M lib/triangulati
M lib/triangulati
M pkg/dem/
M pkg/dem/
All changes applied successfully.
Updated to revision 2807 of branch http://
So I went to http://
but my question is the same, what do I do now to install the rev2807 for instance? Do I have to download each file and to erase the files in the folder user/yade ?
Thanks
Revision history for this message
|
#4 |
Hello, Arthur,
https:/
there you can find tarballs of different revisions.
Anton
Revision history for this message
|
#5 |
Thanks but my question is still "What do I do with one tarball? Do I have to replace the files in the yade directory?"
Revision history for this message
|
#6 |
Why "bzr update"?
The problem was that you typed "scons PREFIX=..." in the wrong directory.
Now you are in the good directory but you type the wrong command...
Go in yade/ and compile with scons.
Revision history for this message
|
#7 |
>
> So I went to http://
> but my question is the same, what do I do now to install the rev2807 for
> instance? Do I have to download each file and to erase the files in the
> folder user/yade ?
>
Hi Arthur,
if your question is: how do I get and compile say r2807? You can do it by
typing in terminal:
bzr checkout -r revno:2807 lp:yade
Then, you can type scons in your yade folder and compile (by the way, you
will see that a new yade folder will be automatically created). Have a look
at bzr help/bzr help revisionspec to see more what am saying.
HTH,
Chiara
Revision history for this message
|
#8 |
So I created my SSH key (I think it's okay, but.... really what is it ? I try to understand but I'm really confused !)
I still didn't compile:
"yade/yade/
arthur@
The authenticity of host 'bazaar.
RSA key fingerprint is blablablablabla
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'bazaar.
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. "
Did I enter a wrong SSH key ?
Revision history for this message
|
#9 |
Probably, you added wrong ssh-key [1].
You can download latest trunk just:
bzr checkout lp:yade
and it will be the latest trunk.
You can also simply download tarball [2].
[1] https:/
[2] https:/
Anton
On Thu, Apr 7, 2011 at 8:58 PM, Arthur Mercier
<email address hidden> wrote:
> Question #151876 on Yade changed:
> https:/
>
> Arthur Mercier posted a new comment:
> So I created my SSH key (I think it's okay, but.... really what is it ?
> I try to understand but I'm really confused !)
>
> I still didn't compile:
>
> "yade/yade/
> arthur@
> The authenticity of host 'bazaar.
> RSA key fingerprint is blablablablabla
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'bazaar.
> Permission denied (publickey).
> bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. "
>
> Did I enter a wrong SSH key ?
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Revision history for this message
|
#10 |
Ok,
So I did it again:
"arthur@
arthur@
arthur@
ChangeLog gui py site_scons
CMakeLists.txt INSTALL SConscript yade
core lib scons.current-
doc LICENSE scons.profile-
examples NEWS SConstruct yadeSCons.py
extra pkg scripts yadeSCons.pyc
arthur@
arthur@
ChangeLog examples lib py site_scons
CMakeLists.txt extra LICENSE SConscript yade.kdev4
core gui NEWS SConstruct Yade.kdevelop
doc INSTALL pkg scripts yadeSCons.py"
Now my question is how do I run Yade ? 'cause the shortcut installed before is linked to the 0.60. I think now the bzr2807 is installed, but I don't know how to run Yade from the terminal.
Thanks
Revision history for this message
|
#11 |
Hi,
1) bzr launchpad-login mercier-arthur
you should do this command just 1 time. Launchpad will remember you
and no need to repear this command
2) bzr checkout -r revno:2807 lp:yade
do you need exactly this revision? If not, just bzr checkout lp:yade
3) have you compiled yade?
Anton
On Tue, Apr 12, 2011 at 5:30 PM, Arthur Mercier
<email address hidden> wrote:
> Question #151876 on Yade changed:
> https:/
>
> Arthur Mercier posted a new comment:
> Ok,
> So I did it again:
> "arthur@
> arthur@
> arthur@
> ChangeLog gui py site_scons
> CMakeLists.txt INSTALL SConscript yade
> core lib scons.current-
> doc LICENSE scons.profile-
> examples NEWS SConstruct yadeSCons.py
> extra pkg scripts yadeSCons.pyc
> arthur@
> arthur@
> ChangeLog examples lib py site_scons
> CMakeLists.txt extra LICENSE SConscript yade.kdev4
> core gui NEWS SConstruct Yade.kdevelop
> doc INSTALL pkg scripts yadeSCons.py"
>
> Now my question is how do I run Yade ? 'cause the shortcut installed
> before is linked to the 0.60. I think now the bzr2807 is installed, but
> I don't know how to run Yade from the terminal.
>
> Thanks
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Revision history for this message
|
#12 |
"3) have you compiled yade?"
Hum I don't know exactly how to do... but
I did which is said here https:/
"sudo aptitude install scons libqt3-mt-dev qt3-dev-tools freeglut3-dev \
libboost-
libboost-regex-dev fakeroot dpkg-dev build-essential g++ \
libboost-
python-matplotlib libsqlite3-dev python-numeric python-tk gnuplot doxygen \
libgts-dev python-pygraphviz libvtk5-dev python-scientific bzr libeigen2-dev \
libqglviewer-
pyqt4-dev-tools"
It seemed ok, then:
"scons profile=default features=
I've waited 2 hours... and now it's written:
"> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
C gui/qt4/
L _utils.so
> /usr/local/
C gui/qt4/
C gui/qt4/
/usr/share/
C /home/arthur/
/usr/share/
> /usr/local/
pyrcc4 -o /home/arthur/
C /home/arthur/
pyrcc4: File does not exist 'Latest/
scons: *** [/home/
scons: building terminated because of errors."
?
Revision history for this message
|
#13 |
Sorry...
It did:
"root@arthur-
scons: Reading SConscript files ...
@@@ Using profile default (scons.
Eigen 2 math library will be used
Yade version is `trunk' (bzr2807), installed files will be suffixed with `-trunk'.
All intermediary files will be in `/home/
Checking whether c++ compiler "g++" works...(cached) yes
Finding libstdc++ library... (cached) /usr/lib/
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for Python development files... (cached) ok
Checking for C++ header file numpy/ndarrayob
Checking for required python modules... (cached) all ok
Checking boost libraries... (cached) all ok
Checking for C++ header file boost/foreach.
Checking for C++ header file Eigen/Core... (cached) yes
Checking for C++ header file loki/NullType.h... (cached) yes
Checking for glutGetModifiers() in C++ library glut... (cached) yes
Checking for QGLViewer() in C++ library qglviewer-qt4... (cached) yes
Checking for vtkInstantiator
Checking for gts_object_class() in C++ library gts... (cached) yes
Checking for log4cxx:
scons: done reading SConscript files.
scons: Building targets ...
> /usr/local/
Chmod("
> /usr/local/
Chmod("
C py/3rd-
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
In file included from /usr/include/
/usr/include/
/usr/include/
C py/3rd-
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
In file included from /usr/include/
/usr/include/
/usr/include/
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
C py/3rd-
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
In file included from /usr/include/
/usr/include/
/usr/include/
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
C py/3rd-
In file included from /usr/include/
/usr/include/
/usr/include/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
In file included from /usr/include/
/home/arthur/
/home/arthur/
/usr/include/
/home/arthur/
/home/arthur/
/home/arthur/
/usr/include/
/home/arthur/
/home/arthur/
L libyade-support.so
> /usr/local/
L _gts.so
> /usr/local/
ln -s -f ../py/gts/_gts.so /usr/local/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
L libcore.so
> /usr/local/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
In file included from /usr/include/
/usr/include/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
In file included from /home/arthur/
/home/arthur/
/home/arthur/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
In file included from /usr/include/
/home/arthur/
/home/arthur/
/usr/include/
/home/arthur/
/usr/include/
/home/arthur/
/home/arthur/
/usr/include/
/home/arthur/
/usr/include/
/home/arthur/
/home/arthur/
/usr/include/
/home/arthur/
/usr/include/
> /home/arthur/
C /home/arthur/
> /home/arthur/
C /home/arthur/
> /usr/local/
> /usr/local/
C py/mathWrap/
L miniEigen.so
> /usr/local/
> /usr/local/
C py/WeightedAver
L WeightedAverage
> /usr/local/
> /usr/local/
C py/wrapper/
L libplugins.so
C py/_eudoxos.cpp
In file included from /usr/include/
/usr/include/
> /usr/local/
L _customConverte
> /usr/local/
> /usr/local/
C py/pack/
L _packObb.so
> /usr/local/
C py/pack/
L _packPredicates.so
> /usr/local/
C py/pack/
L _packSpheres.so
> /usr/local/
C py/_utils.cpp
L _eudoxos.so
> /usr/local/
> /usr/local/
C core/main/
L boot.so
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
C py/log.cpp
L log.so
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
> /usr/local/
C gui/qt4/
L _utils.so
> /usr/local/
C gui/qt4/
C gui/qt4/
/usr/share/
C /home/arthur/
/usr/share/
> /usr/local/
pyrcc4 -o /home/arthur/
C /home/arthur/
pyrcc4: File does not exist 'Latest/
scons: *** [/home/
scons: building terminated because of errors."
Revision history for this message
|
#14 |
"root@arthur-
It is not a good idea to compile something with root privileges.
Try to do so:
1) cd /home/arthur/yade This folder should be empty
2) bzr checkout lp:yade
3) scons PREFIX=
4) wait till it finishes
5) /home/arthur/
Should work, I think.
Anton
On Tue, Apr 12, 2011 at 8:57 PM, Arthur Mercier
<email address hidden> wrote:
> Question #151876 on Yade changed:
> https:/
>
> Arthur Mercier posted a new comment:
> Sorry...
> It did:
>
> "root@arthur-
> scons: Reading SConscript files ...
> @@@ Using profile default (scons.
> Eigen 2 math library will be used
> Yade version is `trunk' (bzr2807), installed files will be suffixed with `-trunk'.
> All intermediary files will be in `/home/
> Checking whether c++ compiler "g++" works...(cached) yes
> Finding libstdc++ library... (cached) /usr/lib/
> Checking for pthread_exit(NULL) in C library pthread... (cached) yes
> Checking for Python development files... (cached) ok
> Checking for C++ header file numpy/ndarrayob
> Checking for required python modules... (cached) all ok
> Checking boost libraries... (cached) all ok
> Checking for C++ header file boost/foreach.
> Checking for C++ header file Eigen/Core... (cached) yes
> Checking for C++ header file loki/NullType.h... (cached) yes
> Checking for glutGetModifiers() in C++ library glut... (cached) yes
> Checking for QGLViewer() in C++ library qglviewer-qt4... (cached) yes
> Checking for vtkInstantiator
> Checking for gts_object_class() in C++ library gts... (cached) yes
> Checking for log4cxx:
> scons: done reading SConscript files.
> scons: Building targets ...
>> /usr/local/
> Chmod("
>> /usr/local/
> Chmod("
> C py/3rd-
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> C py/3rd-
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> C py/3rd-
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
> C py/3rd-
> In file included from /usr/include/
> from py/3rd-
> from py/3rd-
> /usr/include/
> /usr/include/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
> In file included from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /home/arthur/
> from /home/arthur/
> from /home/arthur/
> /home/arthur/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /home/arthur/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /home/arthur/
> L libyade-support.so
>> /usr/local/
> L _gts.so
>> /usr/local/
> ln -s -f ../py/gts/_gts.so /usr/local/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
> L libcore.so
>> /usr/local/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
> In file included from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /home/arthur/
> from /home/arthur/
> /usr/include/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
> In file included from /home/arthur/
> /home/arthur/
> /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
> In file included from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /home/arthur/
> from /home/arthur/
> from /home/arthur/
> from /home/arthur/
> from /home/arthur/
> from /home/arthur/
> /home/arthur/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /home/arthur/
> /usr/include/
> /home/arthur/
> /usr/include/
>> /home/arthur/
> C /home/arthur/
>> /home/arthur/
> C /home/arthur/
>> /usr/local/
>> /usr/local/
> C py/mathWrap/
> L miniEigen.so
>> /usr/local/
>> /usr/local/
> C py/WeightedAver
> L WeightedAverage
>> /usr/local/
>> /usr/local/
> C py/wrapper/
> L libplugins.so
> C py/_eudoxos.cpp
> In file included from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from /usr/include/
> from py/_eudoxos.cpp:13:
> /usr/include/
>> /usr/local/
> L _customConverte
>> /usr/local/
>> /usr/local/
> C py/pack/
> L _packObb.so
>> /usr/local/
> C py/pack/
> L _packPredicates.so
>> /usr/local/
> C py/pack/
> L _packSpheres.so
>> /usr/local/
> C py/_utils.cpp
> L _eudoxos.so
>> /usr/local/
>> /usr/local/
> C core/main/
> L boot.so
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
> C py/log.cpp
> L log.so
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
>> /usr/local/
> C gui/qt4/
> L _utils.so
>> /usr/local/
> C gui/qt4/
> C gui/qt4/
> /usr/share/
> C /home/arthur/
> /usr/share/
>> /usr/local/
> pyrcc4 -o /home/arthur/
> C /home/arthur/
> pyrcc4: File does not exist 'Latest/
> scons: *** [/home/
> scons: building terminated because of errors."
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______
> Mailing list: https:/
> Post to : <email address hidden>
> Unsubscribe : https:/
> More help : https:/
>
Revision history for this message
|
#15 |
"It is not a good idea to compile something with root privileges."
Yes I know, but I had some accesses denied...
"1) cd /home/arthur/yade This folder should be empty
2) bzr checkout lp:yade
3) scons PREFIX=
4) wait till it finishes
5) /home/arthur/
And now...
"Welcome to Yade bzr2811
TCP python prompt on localhost:9000, auth cookie `dssuky'
XMLRPC info provider on http://
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
Yade [1]:"
Ahahahah, nice ! I'm sorry 'cause I'm a little confused when I need to install softwares.
Thank you for your help and your quick answers !
Revision history for this message
|
#16 |
Thanks Anton Gladky, that solved my question.
Revision history for this message
|
#17 |
> "root@arthur-
Where did you find such instructions Arthur please? We shall remove them.
Correct instructions should be found here:
https:/
Bruno
Revision history for this message
|
#18 |
I found these instructions here, https:/
"Latest development version from sources"
Revision history for this message
|
#19 |
It's fixed thanks.
Note the first line on the same page:/
/
/Warning :/ helpful informations can be found on this page, but the most
up-to-date is in [1] <https:/