Problem Versions

Asked by Arthur Mercier on 2011-04-06

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://localhost:21000
[[ ^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://launchpad.net/yade, and I download yade-0.60.2.tar.bz2. But what do I have to do with that now ? I try to follow the steps written in the Install file... but it's really not easy, I mean it doesn't seem to be updated.

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=/home/username/YADE optimize=1 features=gts,vtk,opengl,openmp,log4cxx

scons: *** No SConstruct file found.
File "/usr/lib/scons/SCons/Script/Main.py", line 834, in _main"

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:
2011-04-12
Last query:
2011-04-12
Last reply:
2011-04-12
Jérôme Duriez (jduriez) said : #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://yade-dem.org/wiki/Quick_Bazaar_tutorial to learn how to deal with bazaar to get back for example the most recent revision.

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

> I tried to run "scons version=trunk PREFIX=/home/username/YADE optimize=1 features=gts,vtk,opengl,openmp,log4cxx
>
> scons: *** No SConstruct file found.

You are probably not in the appropriate directory. You must type the
command in yade/.

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/triangulation/FlowBoundingSphere.cpp
 M lib/triangulation/FlowBoundingSphere.hpp
 M lib/triangulation/Network.cpp
 M lib/triangulation/def_types.h
 M pkg/dem/FlowEngine.cpp
 M pkg/dem/FlowEngine.hpp
All changes applied successfully.
Updated to revision 2807 of branch http://bazaar.launchpad.net/~yade-dev/yade/trunk"

So I went to http://bazaar.launchpad.net/~yade-dev/yade/trunk/changes,
 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

Anton Gladky (gladky-anton) said : #4

Hello, Arthur,

https://www.yade-dem.org/source/

there you can find tarballs of different revisions.

Anton

Thanks but my question is still "What do I do with one tarball? Do I have to replace the files in the yade directory?"

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.

>
> So I went to http://bazaar.launchpad.net/~yade-dev/yade/trunk/changes,
> 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

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/yade/yade$ bzr launchpad-login mercier-arthur
arthur@arthur-ordi:~/yade/yade/yade/yade$ bzr checkout -r revno:2807 lp:yade
The authenticity of host 'bazaar.launchpad.net (91.189.90.11)' can't be established.
RSA key fingerprint is blablablablablablablablablabla.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'bazaar.launchpad.net,91.189.90.11' (RSA) to the list of known hosts.
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 ?

Anton Gladky (gladky-anton) said : #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://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
[2] https://www.yade-dem.org/source/

Anton

On Thu, Apr 7, 2011 at 8:58 PM, Arthur Mercier
<email address hidden> wrote:
> Question #151876 on Yade changed:
> https://answers.launchpad.net/yade/+question/151876
>
> 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/yade/yade$ bzr launchpad-login mercier-arthur
> arthur@arthur-ordi:~/yade/yade/yade/yade$ bzr checkout -r revno:2807 lp:yade
> The authenticity of host 'bazaar.launchpad.net (91.189.90.11)' can't be established.
> RSA key fingerprint is blablablablablablablablablabla.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'bazaar.launchpad.net,91.189.90.11' (RSA) to the list of known hosts.
> 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://launchpad.net/~yade-users
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

Ok,
So I did it again:
"arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ bzr launchpad-login mercier-arthur
arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ bzr checkout -r revno:2807 lp:yade
arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ dir
ChangeLog gui py site_scons
CMakeLists.txt INSTALL SConscript yade
core lib scons.current-profile yade.kdev4
doc LICENSE scons.profile-default Yade.kdevelop
examples NEWS SConstruct yadeSCons.py
extra pkg scripts yadeSCons.pyc
arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ cd yade
arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade/yade$ dir
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

Anton Gladky (gladky-anton) said : #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://answers.launchpad.net/yade/+question/151876
>
> Arthur Mercier posted a new comment:
> Ok,
> So I did it again:
> "arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ bzr launchpad-login mercier-arthur
> arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ bzr checkout -r revno:2807 lp:yade
> arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ dir
> ChangeLog       gui      py                     site_scons
> CMakeLists.txt  INSTALL  SConscript             yade
> core            lib      scons.current-profile  yade.kdev4
> doc             LICENSE  scons.profile-default  Yade.kdevelop
> examples        NEWS     SConstruct             yadeSCons.py
> extra           pkg      scripts                yadeSCons.pyc
> arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade$ cd yade
> arthur@arthur-ordi:~/yade/Yade Latest/tmp/yade/yade$ dir
> 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://launchpad.net/~yade-users
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

"3) have you compiled yade?"

Hum I don't know exactly how to do... but

I did which is said here https://yade-dem.org/wiki/Installation_of_yade_on_debian_/_ubuntu
"sudo aptitude install scons libqt3-mt-dev qt3-dev-tools freeglut3-dev \
libboost-date-time-dev libboost-filesystem-dev libboost-thread-dev \
libboost-regex-dev fakeroot dpkg-dev build-essential g++ \
libboost-iostreams-dev liblog4cxx10-dev python-dev libboost-python-dev ipython \
python-matplotlib libsqlite3-dev python-numeric python-tk gnuplot doxygen \
libgts-dev python-pygraphviz libvtk5-dev python-scientific bzr libeigen2-dev \
libqglviewer-qt3-dev libloki-dev python-xlib python-qt4 libqglviewer-qt4-dev \
pyqt4-dev-tools"

It seemed ok, then:

"scons profile=default features=gts,log4cxx,opengl,openmp,vtk,qt4 version=trunk linkStrategy=monolithic PREFIX=/usr/local"

I've waited 2 hours... and now it's written:
"> /usr/local/lib/yade-trunk/py/yade/log.so
> /usr/local/lib/yade-trunk/py/yade/manpage.py
> /usr/local/lib/yade-trunk/py/yade/pack.py
> /usr/local/lib/yade-trunk/py/yade/params.py
> /usr/local/lib/yade-trunk/py/yade/plot.py
> /usr/local/lib/yade-trunk/py/yade/post2d.py
> /usr/local/lib/yade-trunk/py/yade/qt/Inspector.py
> /usr/local/lib/yade-trunk/py/yade/qt/SerializableEditor.py
C gui/qt4/GLViewer.cpp
L _utils.so
> /usr/local/lib/yade-trunk/py/yade/_utils.so
C gui/qt4/_GLViewer.cpp
C gui/qt4/OpenGLManager.cpp
/usr/share/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_SHARED -DPYGTS_HAS_NUMPY -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_QT4 -DYADE_VTK -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/vtk-5.0 -I/usr/include/vtk-5.2 -I/usr/include/vtk-5.4 -I/usr/include/vtk-5.6 -I/usr/include/vtk -I/usr/include/eigen2 "-I/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include" -Iinclude -I/usr/include/python2.6 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtOpenGL -o "/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_GLViewer.cc" gui/qt4/GLViewer.hpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_GLViewer.cc
/usr/share/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_SHARED -DPYGTS_HAS_NUMPY -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_QT4 -DYADE_VTK -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/vtk-5.0 -I/usr/include/vtk-5.2 -I/usr/include/vtk-5.4 -I/usr/include/vtk-5.6 -I/usr/include/vtk -I/usr/include/eigen2 "-I/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include" -Iinclude -I/usr/include/python2.6 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtOpenGL -o "/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_OpenGLManager.cc" gui/qt4/OpenGLManager.hpp
> /usr/local/lib/yade-trunk/py/yade/qt/__init__.py
pyrcc4 -o /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py gui/qt4/img.qrc
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_OpenGLManager.cc
pyrcc4: File does not exist 'Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py'
scons: *** [/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py] Error 1
scons: building terminated because of errors."

?

Sorry...
It did:

"root@arthur-ordi:~/yade/Yade Latest/tmp/yade/yade# scons profile=default features=gts,log4cxx,opengl,openmp,vtk,qt4 version=trunk linkStrategy=monolithic PREFIX=/usr/local
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
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/arthur/yade/Yade Latest/tmp/yade/build-trunk'.
Checking whether c++ compiler "g++" works...(cached) yes
Finding libstdc++ library... (cached) /usr/lib/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for Python development files... (cached) ok
Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
Checking for required python modules... (cached) all ok
Checking boost libraries... (cached) all ok
Checking for C++ header file boost/foreach.hpp... (cached) yes
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::New() in C++ library vtkCommon... (cached) yes
Checking for gts_object_class() in C++ library gts... (cached) yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
> /usr/local/bin/yade-trunk
Chmod("/usr/local/bin/yade-trunk", 0755)
> /usr/local/bin/yade-trunk-batch
Chmod("/usr/local/bin/yade-trunk-batch", 0755)
C py/3rd-party/pygts-0.3.1/cleanup.c
C py/3rd-party/pygts-0.3.1/edge.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/cleanup.c:36:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/edge.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/face.c
C py/3rd-party/pygts-0.3.1/object.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/face.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/object.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/point.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/point.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/pygts.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/pygts.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/segment.c
C py/3rd-party/pygts-0.3.1/surface.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/segment.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/surface.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/triangle.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/triangle.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/vertex.c
In file included from /usr/include/python2.6/Python.h:8,
                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
                 from py/3rd-party/pygts-0.3.1/vertex.c:28:
/usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
/usr/include/features.h:213: note: this is the location of the previous definition
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/lib/yade-support.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/lib/yade-support.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/core/core.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/core/core.cpp
In file included from /usr/include/boost/python/object/function_handle.hpp:10,
                 from /usr/include/boost/python/converter/arg_to_python.hpp:19,
                 from /usr/include/boost/python/call.hpp:15,
                 from /usr/include/boost/python/object_core.hpp:12,
                 from /usr/include/boost/python/args.hpp:25,
                 from /usr/include/boost/python.hpp:11,
                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:23,
                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.cpp:11,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/lib/yade-support.cpp:5:
/home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<PyObject* (*)(Serializable&, const Serializable&), boost::python::default_call_policies, boost::mpl::vector3<PyObject*, Serializable&, const Serializable&> >]':
/home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: warning: dereferencing pointer 'p.2780' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/factory/Factorable.hpp:63: warning: dereferencing pointer 'this.704' does break strict-aliasing rules
/home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: warning: dereferencing pointer 'p.2780' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/factory/Factorable.hpp:63: warning: dereferencing pointer 'this.704' does break strict-aliasing rules
/home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: note: initialized from here
L libyade-support.so
> /usr/local/lib/yade-trunk/lib/libyade-support.so
L _gts.so
> /usr/local/lib/yade-trunk/py/gts/_gts.so
ln -s -f ../py/gts/_gts.so /usr/local/lib/yade-trunk/lib/lib_gts__python-module.so
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins0.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins0.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins11.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins11.cpp
L libcore.so
> /usr/local/lib/yade-trunk/lib/libcore.so
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins1.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins1.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins2.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins2.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins3.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins3.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins4.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins4.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins5.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins5.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins6.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins6.cpp
In file included from /usr/include/c++/4.4/backward/strstream:47,
                 from /usr/include/vtk-5.4/vtkIOStream.h:112,
                 from /usr/include/vtk-5.4/vtkSystemIncludes.h:40,
                 from /usr/include/vtk-5.4/vtkIndent.h:24,
                 from /usr/include/vtk-5.4/vtkObjectBase.h:43,
                 from /usr/include/vtk-5.4/vtkObject.h:41,
                 from /usr/include/vtk-5.4/vtkCellArray.h:35,
                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/dem/VTKRecorder.cpp:7,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins6.cpp:2:
/usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins7.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins7.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins12.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins12.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins8.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins8.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins9.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins9.cpp
In file included from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins9.cpp:7:
/home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/dem/DomainLimiter.cpp: In member function 'virtual void LawTester::action()':
/home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/dem/DomainLimiter.cpp:218: warning: comparison between signed and unsigned integer expressions
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins10.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins10.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins13.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins13.cpp
In file included from /usr/include/boost/python/object/function_handle.hpp:10,
                 from /usr/include/boost/python/converter/arg_to_python.hpp:19,
                 from /usr/include/boost/python/call.hpp:15,
                 from /usr/include/boost/python/object_core.hpp:12,
                 from /usr/include/boost/python/args.hpp:25,
                 from /usr/include/boost/python.hpp:11,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/serialization/Serializable.hpp:23,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/multimethods/FunctorWrapper.hpp:12,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/pkg/common/GLDrawFunctors.hpp:6,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/pkg/common/Gl1_Facet.hpp:11,
                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/common/Gl1_Facet.cpp:11,
                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins13.cpp:1:
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<boost::python::detail::member<OpenMPAccumulator<double>, Law2_ScGeom_MindlinPhys_Mindlin>, boost::python::default_call_policies, boost::mpl::vector3<void, Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&> >]':
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<boost::python::detail::member<OpenMPAccumulator<double>, Law2_ScGeom_MindlinPhys_Mindlin>, boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, boost::mpl::vector3<void, Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&> >]':
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<void (*)(Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&), boost::python::default_call_policies, boost::mpl::vector3<void, Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&> >]':
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins14.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins14.cpp
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins15.cpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins15.cpp
> /usr/local/lib/yade-trunk/py/gts/__init__.py
> /usr/local/lib/yade-trunk/py/gts/pygts.py
C py/mathWrap/miniEigen.cpp
L miniEigen.so
> /usr/local/lib/yade-trunk/py/miniEigen.so
> /usr/local/lib/yade-trunk/py/mtTkinter.py
C py/WeightedAverage2d.cpp
L WeightedAverage2d.so
> /usr/local/lib/yade-trunk/py/yade/WeightedAverage2d.so
> /usr/local/lib/yade-trunk/py/yade/__init__.py
C py/wrapper/customConverters.cpp
L libplugins.so
C py/_eudoxos.cpp
In file included from /usr/include/c++/4.4/backward/strstream:47,
                 from /usr/include/vtk-5.4/vtkIOStream.h:112,
                 from /usr/include/vtk-5.4/vtkSystemIncludes.h:40,
                 from /usr/include/vtk-5.4/vtkIndent.h:24,
                 from /usr/include/vtk-5.4/vtkObjectBase.h:43,
                 from /usr/include/vtk-5.4/vtkObject.h:41,
                 from /usr/include/vtk-5.4/vtkLocator.h:53,
                 from /usr/include/vtk-5.4/vtkAbstractPointLocator.h:27,
                 from /usr/include/vtk-5.4/vtkPointLocator.h:39,
                 from py/_eudoxos.cpp:13:
/usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
> /usr/local/lib/yade-trunk/plugins/libplugins.so
L _customConverters.so
> /usr/local/lib/yade-trunk/py/yade/_customConverters.so
> /usr/local/lib/yade-trunk/py/yade/_extraDocs.py
C py/pack/_packObb.cpp
L _packObb.so
> /usr/local/lib/yade-trunk/py/yade/_packObb.so
C py/pack/_packPredicates.cpp
L _packPredicates.so
> /usr/local/lib/yade-trunk/py/yade/_packPredicates.so
C py/pack/_packSpheres.cpp
L _packSpheres.so
> /usr/local/lib/yade-trunk/py/yade/_packSpheres.so
C py/_utils.cpp
L _eudoxos.so
> /usr/local/lib/yade-trunk/py/yade/_eudoxos.so
> /usr/local/lib/yade-trunk/py/yade/bodiesHandling.py
C core/main/pyboot.cpp
L boot.so
> /usr/local/lib/yade-trunk/py/yade/boot.so
> /usr/local/lib/yade-trunk/py/yade/config.py
> /usr/local/lib/yade-trunk/py/yade/eudoxos.py
> /usr/local/lib/yade-trunk/py/yade/export.py
> /usr/local/lib/yade-trunk/py/yade/geom.py
> /usr/local/lib/yade-trunk/py/yade/linterpolation.py
C py/log.cpp
L log.so
> /usr/local/lib/yade-trunk/py/yade/log.so
> /usr/local/lib/yade-trunk/py/yade/manpage.py
> /usr/local/lib/yade-trunk/py/yade/pack.py
> /usr/local/lib/yade-trunk/py/yade/params.py
> /usr/local/lib/yade-trunk/py/yade/plot.py
> /usr/local/lib/yade-trunk/py/yade/post2d.py
> /usr/local/lib/yade-trunk/py/yade/qt/Inspector.py
> /usr/local/lib/yade-trunk/py/yade/qt/SerializableEditor.py
C gui/qt4/GLViewer.cpp
L _utils.so
> /usr/local/lib/yade-trunk/py/yade/_utils.so
C gui/qt4/_GLViewer.cpp
C gui/qt4/OpenGLManager.cpp
/usr/share/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_SHARED -DPYGTS_HAS_NUMPY -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_QT4 -DYADE_VTK -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/vtk-5.0 -I/usr/include/vtk-5.2 -I/usr/include/vtk-5.4 -I/usr/include/vtk-5.6 -I/usr/include/vtk -I/usr/include/eigen2 "-I/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include" -Iinclude -I/usr/include/python2.6 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtOpenGL -o "/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_GLViewer.cc" gui/qt4/GLViewer.hpp
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_GLViewer.cc
/usr/share/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_SHARED -DPYGTS_HAS_NUMPY -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_QT4 -DYADE_VTK -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/vtk-5.0 -I/usr/include/vtk-5.2 -I/usr/include/vtk-5.4 -I/usr/include/vtk-5.6 -I/usr/include/vtk -I/usr/include/eigen2 "-I/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include" -Iinclude -I/usr/include/python2.6 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtOpenGL -o "/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_OpenGLManager.cc" gui/qt4/OpenGLManager.hpp
> /usr/local/lib/yade-trunk/py/yade/qt/__init__.py
pyrcc4 -o /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py gui/qt4/img.qrc
C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_OpenGLManager.cc
pyrcc4: File does not exist 'Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py'
scons: *** [/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py] Error 1
scons: building terminated because of errors."

Best Anton Gladky (gladky-anton) said : #14

"root@arthur-ordi:~/yade/Yade Latest/tmp/ya

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=/home/arthur/yade/build version='new'
4) wait till it finishes
5) /home/arthur/yade/build/bin/yade-new

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://answers.launchpad.net/yade/+question/151876
>
> Arthur Mercier posted a new comment:
> Sorry...
> It did:
>
> "root@arthur-ordi:~/yade/Yade Latest/tmp/yade/yade# scons profile=default features=gts,log4cxx,opengl,openmp,vtk,qt4 version=trunk linkStrategy=monolithic PREFIX=/usr/local
> scons: Reading SConscript files ...
> @@@ Using profile default (scons.profile-default) @@@
> 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/arthur/yade/Yade Latest/tmp/yade/build-trunk'.
> Checking whether c++ compiler "g++" works...(cached) yes
> Finding libstdc++ library... (cached) /usr/lib/libstdc++.so.6
> Checking for pthread_exit(NULL) in C library pthread... (cached) yes
> Checking for Python development files... (cached) ok
> Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
> Checking for required python modules... (cached) all ok
> Checking boost libraries... (cached) all ok
> Checking for C++ header file boost/foreach.hpp... (cached) yes
> 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::New() in C++ library vtkCommon... (cached) yes
> Checking for gts_object_class() in C++ library gts... (cached) yes
> Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... (cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
>> /usr/local/bin/yade-trunk
> Chmod("/usr/local/bin/yade-trunk", 0755)
>> /usr/local/bin/yade-trunk-batch
> Chmod("/usr/local/bin/yade-trunk-batch", 0755)
> C py/3rd-party/pygts-0.3.1/cleanup.c
> C py/3rd-party/pygts-0.3.1/edge.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/cleanup.c:36:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/edge.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> C py/3rd-party/pygts-0.3.1/face.c
> C py/3rd-party/pygts-0.3.1/object.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/face.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/object.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> C py/3rd-party/pygts-0.3.1/point.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/point.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> C py/3rd-party/pygts-0.3.1/pygts.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/pygts.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> C py/3rd-party/pygts-0.3.1/segment.c
> C py/3rd-party/pygts-0.3.1/surface.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/segment.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/surface.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> C py/3rd-party/pygts-0.3.1/triangle.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/triangle.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
> C py/3rd-party/pygts-0.3.1/vertex.c
> In file included from /usr/include/python2.6/Python.h:8,
>                 from py/3rd-party/pygts-0.3.1/pygts.h:39,
>                 from py/3rd-party/pygts-0.3.1/vertex.c:28:
> /usr/include/python2.6/pyconfig.h:1031: warning: "_POSIX_C_SOURCE" redefined
> /usr/include/features.h:213: note: this is the location of the previous definition
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/lib/yade-support.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/lib/yade-support.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/core/core.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/core/core.cpp
> In file included from /usr/include/boost/python/object/function_handle.hpp:10,
>                 from /usr/include/boost/python/converter/arg_to_python.hpp:19,
>                 from /usr/include/boost/python/call.hpp:15,
>                 from /usr/include/boost/python/object_core.hpp:12,
>                 from /usr/include/boost/python/args.hpp:25,
>                 from /usr/include/boost/python.hpp:11,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:23,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.cpp:11,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/lib/yade-support.cpp:5:
> /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<PyObject* (*)(Serializable&, const Serializable&), boost::python::default_call_policies, boost::mpl::vector3<PyObject*, Serializable&, const Serializable&> >]':
> /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: warning: dereferencing pointer 'p.2780' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/factory/Factorable.hpp:63: warning: dereferencing pointer 'this.704' does break strict-aliasing rules
> /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: warning: dereferencing pointer 'p.2780' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/factory/Factorable.hpp:63: warning: dereferencing pointer 'this.704' does break strict-aliasing rules
> /home/arthur/yade/Yade Latest/tmp/yade/yade/lib/serialization/Serializable.hpp:262: note: initialized from here
> L libyade-support.so
>> /usr/local/lib/yade-trunk/lib/libyade-support.so
> L _gts.so
>> /usr/local/lib/yade-trunk/py/gts/_gts.so
> ln -s -f ../py/gts/_gts.so /usr/local/lib/yade-trunk/lib/lib_gts__python-module.so
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins0.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins0.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins11.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins11.cpp
> L libcore.so
>> /usr/local/lib/yade-trunk/lib/libcore.so
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins1.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins1.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins2.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins2.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins3.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins3.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins4.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins4.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins5.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins5.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins6.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins6.cpp
> In file included from /usr/include/c++/4.4/backward/strstream:47,
>                 from /usr/include/vtk-5.4/vtkIOStream.h:112,
>                 from /usr/include/vtk-5.4/vtkSystemIncludes.h:40,
>                 from /usr/include/vtk-5.4/vtkIndent.h:24,
>                 from /usr/include/vtk-5.4/vtkObjectBase.h:43,
>                 from /usr/include/vtk-5.4/vtkObject.h:41,
>                 from /usr/include/vtk-5.4/vtkCellArray.h:35,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/dem/VTKRecorder.cpp:7,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins6.cpp:2:
> /usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins7.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins7.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins12.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins12.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins8.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins8.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins9.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins9.cpp
> In file included from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins9.cpp:7:
> /home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/dem/DomainLimiter.cpp: In member function 'virtual void LawTester::action()':
> /home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/dem/DomainLimiter.cpp:218: warning: comparison between signed and unsigned integer expressions
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins10.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins10.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins13.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins13.cpp
> In file included from /usr/include/boost/python/object/function_handle.hpp:10,
>                 from /usr/include/boost/python/converter/arg_to_python.hpp:19,
>                 from /usr/include/boost/python/call.hpp:15,
>                 from /usr/include/boost/python/object_core.hpp:12,
>                 from /usr/include/boost/python/args.hpp:25,
>                 from /usr/include/boost/python.hpp:11,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/serialization/Serializable.hpp:23,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/multimethods/FunctorWrapper.hpp:12,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/pkg/common/GLDrawFunctors.hpp:6,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/pkg/common/Gl1_Facet.hpp:11,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/yade/pkg/common/Gl1_Facet.cpp:11,
>                 from /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins13.cpp:1:
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<boost::python::detail::member<OpenMPAccumulator<double>, Law2_ScGeom_MindlinPhys_Mindlin>, boost::python::default_call_policies, boost::mpl::vector3<void, Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&> >]':
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<boost::python::detail::member<OpenMPAccumulator<double>, Law2_ScGeom_MindlinPhys_Mindlin>, boost::python::return_value_policy<boost::python::return_by_value, boost::python::default_call_policies>, boost::mpl::vector3<void, Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&> >]':
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp: In member function 'PyObject* boost::python::objects::caller_py_function_impl<Caller>::operator()(PyObject*, PyObject*) [with Caller = boost::python::detail::caller<void (*)(Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&), boost::python::default_call_policies, boost::mpl::vector3<void, Law2_ScGeom_MindlinPhys_Mindlin&, const OpenMPAccumulator<double>&> >]':
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include/yade/lib/base/openmp-accu.hpp:100: warning: dereferencing pointer 'p.22145' does break strict-aliasing rules
> /usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins14.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins14.cpp
>> /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins15.cpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/plugins15.cpp
>> /usr/local/lib/yade-trunk/py/gts/__init__.py
>> /usr/local/lib/yade-trunk/py/gts/pygts.py
> C py/mathWrap/miniEigen.cpp
> L miniEigen.so
>> /usr/local/lib/yade-trunk/py/miniEigen.so
>> /usr/local/lib/yade-trunk/py/mtTkinter.py
> C py/WeightedAverage2d.cpp
> L WeightedAverage2d.so
>> /usr/local/lib/yade-trunk/py/yade/WeightedAverage2d.so
>> /usr/local/lib/yade-trunk/py/yade/__init__.py
> C py/wrapper/customConverters.cpp
> L libplugins.so
> C py/_eudoxos.cpp
> In file included from /usr/include/c++/4.4/backward/strstream:47,
>                 from /usr/include/vtk-5.4/vtkIOStream.h:112,
>                 from /usr/include/vtk-5.4/vtkSystemIncludes.h:40,
>                 from /usr/include/vtk-5.4/vtkIndent.h:24,
>                 from /usr/include/vtk-5.4/vtkObjectBase.h:43,
>                 from /usr/include/vtk-5.4/vtkObject.h:41,
>                 from /usr/include/vtk-5.4/vtkLocator.h:53,
>                 from /usr/include/vtk-5.4/vtkAbstractPointLocator.h:27,
>                 from /usr/include/vtk-5.4/vtkPointLocator.h:39,
>                 from py/_eudoxos.cpp:13:
> /usr/include/c++/4.4/backward/backward_warning.h:28: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
>> /usr/local/lib/yade-trunk/plugins/libplugins.so
> L _customConverters.so
>> /usr/local/lib/yade-trunk/py/yade/_customConverters.so
>> /usr/local/lib/yade-trunk/py/yade/_extraDocs.py
> C py/pack/_packObb.cpp
> L _packObb.so
>> /usr/local/lib/yade-trunk/py/yade/_packObb.so
> C py/pack/_packPredicates.cpp
> L _packPredicates.so
>> /usr/local/lib/yade-trunk/py/yade/_packPredicates.so
> C py/pack/_packSpheres.cpp
> L _packSpheres.so
>> /usr/local/lib/yade-trunk/py/yade/_packSpheres.so
> C py/_utils.cpp
> L _eudoxos.so
>> /usr/local/lib/yade-trunk/py/yade/_eudoxos.so
>> /usr/local/lib/yade-trunk/py/yade/bodiesHandling.py
> C core/main/pyboot.cpp
> L boot.so
>> /usr/local/lib/yade-trunk/py/yade/boot.so
>> /usr/local/lib/yade-trunk/py/yade/config.py
>> /usr/local/lib/yade-trunk/py/yade/eudoxos.py
>> /usr/local/lib/yade-trunk/py/yade/export.py
>> /usr/local/lib/yade-trunk/py/yade/geom.py
>> /usr/local/lib/yade-trunk/py/yade/linterpolation.py
> C py/log.cpp
> L log.so
>> /usr/local/lib/yade-trunk/py/yade/log.so
>> /usr/local/lib/yade-trunk/py/yade/manpage.py
>> /usr/local/lib/yade-trunk/py/yade/pack.py
>> /usr/local/lib/yade-trunk/py/yade/params.py
>> /usr/local/lib/yade-trunk/py/yade/plot.py
>> /usr/local/lib/yade-trunk/py/yade/post2d.py
>> /usr/local/lib/yade-trunk/py/yade/qt/Inspector.py
>> /usr/local/lib/yade-trunk/py/yade/qt/SerializableEditor.py
> C gui/qt4/GLViewer.cpp
> L _utils.so
>> /usr/local/lib/yade-trunk/py/yade/_utils.so
> C gui/qt4/_GLViewer.cpp
> C gui/qt4/OpenGLManager.cpp
> /usr/share/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_SHARED -DPYGTS_HAS_NUMPY -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_QT4 -DYADE_VTK -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/vtk-5.0 -I/usr/include/vtk-5.2 -I/usr/include/vtk-5.4 -I/usr/include/vtk-5.6 -I/usr/include/vtk -I/usr/include/eigen2 "-I/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include" -Iinclude -I/usr/include/python2.6 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtOpenGL -o "/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_GLViewer.cc" gui/qt4/GLViewer.hpp
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_GLViewer.cc
> /usr/share/qt4/bin/moc -DQT_GUI_LIB -DQT_CORE_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_SHARED -DPYGTS_HAS_NUMPY -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_QT4 -DYADE_VTK -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/vtk-5.0 -I/usr/include/vtk-5.2 -I/usr/include/vtk-5.4 -I/usr/include/vtk-5.6 -I/usr/include/vtk -I/usr/include/eigen2 "-I/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/include" -Iinclude -I/usr/include/python2.6 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtOpenGL -o "/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_OpenGLManager.cc" gui/qt4/OpenGLManager.hpp
>> /usr/local/lib/yade-trunk/py/yade/qt/__init__.py
> pyrcc4 -o /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py gui/qt4/img.qrc
> C /home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/moc_OpenGLManager.cc
> pyrcc4: File does not exist 'Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py'
> scons: *** [/home/arthur/yade/Yade Latest/tmp/yade/build-trunk/gui/qt4/img_rc.py] Error 1
> 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://launchpad.net/~yade-users
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

"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=/home/arthur/yade/build version='new'
4) wait till it finishes
5) /home/arthur/yade/build/bin/yade-new"

And now...

"Welcome to Yade bzr2811
TCP python prompt on localhost:9000, auth cookie `dssuky'
XMLRPC info provider on http://localhost:21000
[[ ^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 !

Thanks Anton Gladky, that solved my question.

> "root@arthur-ordi:~/yade/Yade Latest/tmp/yade/yade# scons profile=default features=gts,log4cxx,opengl,openmp,vtk,qt4 version=trunk linkStrategy=monolithic PREFIX=/usr/local

Where did you find such instructions Arthur please? We shall remove them.
Correct instructions should be found here:
https://yade-dem.org/doc/installation.html

Bruno

I found these instructions here, https://yade-dem.org/wiki/Installation_of_yade_on_debian_/_ubuntu

"Latest development version from sources"

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://www.yade-dem.org/sphinx/installation.html>