installation problem

Asked by Ram Chand

Hi,
I am using Fedora 13. I have installed YADE with following info in terminal. But how to run YADE? Is it final installation?

[ram@localhost yade]$ scons PREFIX=/home/username/YADE
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `unknown' (unknown), installed files will be suffixed with `-unknown'.
All intermediary files will be in `/home/ram/Desktop/tmp/build-unknown'.
Mkdir("/home/ram/Desktop/tmp/build-unknown")
Checking whether c++ compiler "g++" works...yes
Finding libstdc++ library... (cached) /usr/lib/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for Python development files... ok
Checking for C++ header file numpy/ndarrayobject.h... yes
Checking for required python modules... (cached) all ok
Checking boost libraries... all ok
Checking for C++ header file boost/foreach.hpp... yes
Checking for C++ header file Eigen/Core... yes
Checking for C++ header file loki/NullType.h... yes
Checking for glutGetModifiers() in C++ library glut... yes
Checking for QGLViewer() in C++ library qglviewer-qt4... no
Checking for QGLViewer() in C++ library libQGLViewer... yes
Checking for vtkInstantiator::New() in C++ library vtkCommon... yes
Checking for gts_object_class() in C++ library gts... yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... yes
Rebuilding combined files, since the md5 has changed.
scons: done reading SConscript files.
scons: Building targets ...
scons: *** [/home/username] /home/username: Permission denied
scons: building terminated because of errors.
[ram@localhost yade]$ scons PREFIX=/home/ram/YADE
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `unknown' (unknown), installed files will be suffixed with `-unknown'.
All intermediary files will be in `/home/ram/Desktop/tmp/build-unknown'.
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) no
Checking for QGLViewer() in C++ library libQGLViewer... (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 ...
> /home/ram/YADE/bin/yade-unknown
Chmod("/home/ram/YADE/bin/yade-unknown", 0755)
> /home/ram/YADE/bin/yade-unknown-batch
Chmod("/home/ram/YADE/bin/yade-unknown-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/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/cleanup.c:36:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/edge.c:28:
/usr/include/features.h:213:1: warning: 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/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/face.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/object.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/point.c
C py/3rd-party/pygts-0.3.1/vertex.c
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/point.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/vertex.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/pygts.c
C py/3rd-party/pygts-0.3.1/segment.c
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/pygts.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/segment.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
C py/3rd-party/pygts-0.3.1/surface.c
In file included from /usr/include/python2.6/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/surface.c:28:
/usr/include/features.h:213:1: warning: 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/pyconfig.h:4,
                 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-32.h:1070:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/stdlib.h:25,
                 from py/3rd-party/pygts-0.3.1/pygts.h:35,
                 from py/3rd-party/pygts-0.3.1/triangle.c:28:
/usr/include/features.h:213:1: warning: this is the location of the previous definition
> /home/ram/Desktop/tmp/build-unknown/lib/yade-support.cpp
> /home/ram/Desktop/tmp/build-unknown/core/core.cpp
C /home/ram/Desktop/tmp/build-unknown/lib/yade-support.cpp
C /home/ram/Desktop/tmp/build-unknown/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/ram/Desktop/tmp/yade/lib/serialization/Serializable.hpp:23,
                 from /home/ram/Desktop/tmp/yade/lib/serialization/Serializable.cpp:11,
                 from /home/ram/Desktop/tmp/build-unknown/lib/yade-support.cpp:5:
/home/ram/Desktop/tmp/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/ram/Desktop/tmp/yade/lib/serialization/Serializable.hpp:262: warning: dereferencing pointer 'p.2715' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/ram/Desktop/tmp/build-unknown/include/yade/lib/factory/Factorable.hpp:63: warning: dereferencing pointer 'this.701' does break strict-aliasing rules
/home/ram/Desktop/tmp/yade/lib/serialization/Serializable.hpp:262: note: initialized from here
/home/ram/Desktop/tmp/yade/lib/serialization/Serializable.hpp:262: warning: dereferencing pointer 'p.2715' does break strict-aliasing rules
/usr/include/boost/python/detail/destroy.hpp:90: note: initialized from here
/home/ram/Desktop/tmp/build-unknown/include/yade/lib/factory/Factorable.hpp:63: warning: dereferencing pointer 'this.701' does break strict-aliasing rules
/home/ram/Desktop/tmp/yade/lib/serialization/Serializable.hpp:262: note: initialized from here
L libyade-support.so
> /home/ram/YADE/lib/yade-unknown/lib/libyade-support.so
L _gts.so
> /home/ram/YADE/lib/yade-unknown/py/gts/_gts.so
ln -s -f ../py/gts/_gts.so /home/ram/YADE/lib/yade-unknown/lib/lib_gts__python-module.so
> /home/ram/Desktop/tmp/build-unknown/plugins9.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins9.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins0.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins0.cpp
L libcore.so
> /home/ram/YADE/lib/yade-unknown/lib/libcore.so
> /home/ram/Desktop/tmp/build-unknown/plugins1.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins1.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins2.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins2.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins8.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins8.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins3.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins3.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins4.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins4.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins5.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins5.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins6.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins6.cpp
In file included from /usr/lib/gcc/i686-redhat-linux/4.4.5/../../../../include/c++/4.4.5/backward/strstream:47,
                 from /usr/include/vtk/vtkIOStream.h:112,
                 from /usr/include/vtk/vtkSystemIncludes.h:40,
                 from /usr/include/vtk/vtkIndent.h:24,
                 from /usr/include/vtk/vtkObjectBase.h:43,
                 from /usr/include/vtk/vtkObject.h:41,
                 from /usr/include/vtk/vtkCellArray.h:35,
                 from /home/ram/Desktop/tmp/yade/pkg/dem/VTKRecorder.cpp:7,
                 from /home/ram/Desktop/tmp/build-unknown/plugins6.cpp:3:
/usr/lib/gcc/i686-redhat-linux/4.4.5/../../../../include/c++/4.4.5/backward/backward_warning.h:28:2: 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/ram/Desktop/tmp/build-unknown/plugins7.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins7.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins10.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins10.cpp
In file included from /home/ram/Desktop/tmp/build-unknown/plugins10.cpp:1:
/home/ram/Desktop/tmp/yade/pkg/dem/DomainLimiter.cpp: In member function 'virtual void LawTester::action()':
/home/ram/Desktop/tmp/yade/pkg/dem/DomainLimiter.cpp:218: warning: comparison between signed and unsigned integer expressions
> /home/ram/Desktop/tmp/build-unknown/plugins11.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins11.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins12.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins12.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins13.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins13.cpp
> /home/ram/Desktop/tmp/build-unknown/plugins14.cpp
C /home/ram/Desktop/tmp/build-unknown/plugins14.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/ram/Desktop/tmp/build-unknown/include/yade/lib/serialization/Serializable.hpp:23,
                 from /home/ram/Desktop/tmp/build-unknown/include/yade/lib/multimethods/FunctorWrapper.hpp:12,
                 from /home/ram/Desktop/tmp/build-unknown/include/yade/pkg/common/GLDrawFunctors.hpp:6,
                 from /home/ram/Desktop/tmp/build-unknown/include/yade/pkg/common/Gl1_Facet.hpp:11,
                 from /home/ram/Desktop/tmp/yade/pkg/common/Gl1_Facet.cpp:11,
                 from /home/ram/Desktop/tmp/build-unknown/plugins13.cpp:1:
/home/ram/Desktop/tmp/build-unknown/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>,
-
-
-
--
-
-
L log.so
> /home/ram/YADE/lib/yade-unknown/py/yade/log.so
> /home/ram/YADE/lib/yade-unknown/py/yade/manpage.py
> /home/ram/YADE/lib/yade-unknown/py/yade/pack.py
> /home/ram/YADE/lib/yade-unknown/py/yade/params.py
> /home/ram/YADE/lib/yade-unknown/py/yade/plot.py
> /home/ram/YADE/lib/yade-unknown/py/yade/post2d.py
> /home/ram/YADE/lib/yade-unknown/py/yade/qt/Inspector.py
> /home/ram/YADE/lib/yade-unknown/py/yade/qt/SerializableEditor.py
C gui/qt4/_GLViewer.cpp
L _utils.so
> /home/ram/YADE/lib/yade-unknown/py/yade/_utils.so
C gui/qt4/OpenGLManager.cpp
C gui/qt4/GLViewer.cpp
moc-qt4 -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/eigen2 -I/usr/include/vtk -I/home/ram/Desktop/tmp/build-unknown/include -Iinclude -I/usr/include/python2.6 -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtXml -I/usr/include/QtOpenGL -o /home/ram/Desktop/tmp/build-unknown/gui/qt4/moc_GLViewer.cc gui/qt4/GLViewer.hpp
C /home/ram/Desktop/tmp/build-unknown/gui/qt4/moc_GLViewer.cc
moc-qt4 -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/eigen2 -I/usr/include/vtk -I/home/ram/Desktop/tmp/build-unknown/include -Iinclude -I/usr/include/python2.6 -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtXml -I/usr/include/QtOpenGL -o /home/ram/Desktop/tmp/build-unknown/gui/qt4/moc_OpenGLManager.cc gui/qt4/OpenGLManager.hpp
C /home/ram/Desktop/tmp/build-unknown/gui/qt4/moc_OpenGLManager.cc
> /home/ram/YADE/lib/yade-unknown/py/yade/qt/__init__.py
pyrcc4 -o /home/ram/Desktop/tmp/build-unknown/gui/qt4/img_rc.py gui/qt4/img.qrc
> /home/ram/YADE/lib/yade-unknown/py/yade/qt/img_rc.py
pyuic4 -o /home/ram/Desktop/tmp/build-unknown/gui/qt4/ui_controller.py gui/qt4/controller.ui
> /home/ram/YADE/lib/yade-unknown/py/yade/qt/ui_controller.py
> /home/ram/YADE/lib/yade-unknown/py/yade/remote.py
> /home/ram/YADE/lib/yade-unknown/py/yade/runtime.py
> /home/ram/YADE/lib/yade-unknown/py/yade/system.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/__init__.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/clump.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/cohesive-chain.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/core.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/engines.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/pbc.py
> /home/ram/YADE/lib/yade-unknown/py/yade/tests/wrapper.py
> /home/ram/YADE/lib/yade-unknown/py/yade/timing.py
> /home/ram/YADE/lib/yade-unknown/py/yade/utils.py
C py/wrapper/yadeWrapper.cpp
L _GLViewer.so
> /home/ram/YADE/lib/yade-unknown/py/yade/qt/_GLViewer.so
> /home/ram/YADE/lib/yade-unknown/py/yade/ymport.py
L wrapper.so
> /home/ram/YADE/lib/yade-unknown/py/yade/wrapper.so
scons: done building targets.

Thanks,
Ram

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ram Chand (ram-chand2k11) said :
#1

Hi,
When I run yade under /home/ram/YADE/bin, then i got following error:

[ram@localhost bin]$ ./yade-unknown
Welcome to Yade unknown
Traceback (most recent call last):
  File "./yade-unknown", line 118, in <module>
    import yade
  File "/home/ram/YADE/lib/yade-unknown/py/yade/__init__.py", line 58, in <module>
    import boot
ImportError: /usr/lib/libQGLViewer.so.2: undefined symbol: _ZN9qglviewer16ManipulatedFrame4spunEv

Best,
Ram

Revision history for this message
Anton Gladky (gladky-anton) said :
#2

Hi,

seems, installation is completed. What yade version do you use?
I would recommend you to use the latest trunk version. You can
download it from our bzr branch:
bzr checkout lp:yade

or tarball:
https://www.yade-dem.org/source/yade_latest_trunk.tgz

I checked yade recently on Fedora 14, and it worked well. Maaybe
Fedora 13 uses some old libraries? I dont know.

Let us know, if you still have problems.

Anton

On Sat, Apr 2, 2011 at 12:37 PM, Ram Chand
<email address hidden> wrote:
> Question #151388 on Yade changed:
> https://answers.launchpad.net/yade/+question/151388
>
> Ram Chand gave more information on the question:
> Hi,
> When I run yade under /home/ram/YADE/bin, then i got following error:
>
>
> [ram@localhost bin]$ ./yade-unknown
> Welcome to Yade unknown
> Traceback (most recent call last):
>  File "./yade-unknown", line 118, in <module>
>    import yade
>  File "/home/ram/YADE/lib/yade-unknown/py/yade/__init__.py", line 58, in <module>
>    import boot
> ImportError: /usr/lib/libQGLViewer.so.2: undefined symbol: _ZN9qglviewer16ManipulatedFrame4spunEv
>
> Best,
> Ram
>
> --
> 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
>

Revision history for this message
Ram Chand (ram-chand2k11) said :
#3

hi,
I am using latest version, but error is:

[ram@localhost bin]$ ./yade-unknown
Welcome to Yade unknown
Traceback (most recent call last):
  File "./yade-unknown", line 118, in <module>
    import yade
  File "/home/ram/YADE/lib/yade-unknown/py/yade/__init__.py", line 58, in <module>
    import boot
ImportError: /usr/lib/libQGLViewer.so.2: undefined symbol: _ZN9qglviewer16ManipulatedFrame4spunEv
Please help me,
Thanks,
Ram

Revision history for this message
Anton Gladky (gladky-anton) said :
#4

You can try to compile yade without opengl-support just to try to start it.
Delete 'opengl' from scons.profile-default file in the root of yade
sources. Then recompile yade and try to start. You will not have
graphic interface, but it should work anyway.

Sorry, I dont have such system to try it.
If you want to work with yade, please, consider using something
Debian-based as most of yade users work on such systems.

Anton

On Sat, Apr 2, 2011 at 3:51 PM, Ram Chand
<email address hidden> wrote:
> Question #151388 on Yade changed:
> https://answers.launchpad.net/yade/+question/151388
>
>    Status: Answered => Open
>
> Ram Chand is still having a problem:
> hi,
> I am using latest version, but error is:
>
>
> [ram@localhost bin]$ ./yade-unknown
> Welcome to Yade unknown
> Traceback (most recent call last):
>  File "./yade-unknown", line 118, in <module>
>    import yade
>  File "/home/ram/YADE/lib/yade-unknown/py/yade/__init__.py", line 58, in <module>
>    import boot
> ImportError: /usr/lib/libQGLViewer.so.2: undefined symbol: _ZN9qglviewer16ManipulatedFrame4spunEv
> Please help me,
> Thanks,
> Ram
>
> --
> 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
>

Revision history for this message
Anton Gladky (gladky-anton) said :
#5

No, he has it:

Checking for QGLViewer() in C++ library qglviewer-qt4... no
Checking for QGLViewer() in C++ library libQGLViewer... yes

on Fedora this library has another name. I think there are problems
with linkage.

Anton

On Sat, Apr 2, 2011 at 6:16 PM, Sergei D. <email address hidden> wrote:
> 02.04.2011 14:30, Ram Chand:
>>
>> Checking for QGLViewer() in C++ library qglviewer-qt4... no
>
> So, you need  qglviewer-qt4 library.
>
> --
>
> Best regards,
> Sergei D.
>
>
> _______________________________________________
> 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
>

Revision history for this message
Yade Guide (yade-guide) said :
#6

Hey there! As an automated bot, I've scanned through some relevant threads and condensed their content for your convenience. Feel free to explore more by clicking on the links provided.

Title: "An error occured on using "make install" during installation"
User faced installation issues with Yade due to insufficient permissions; advised to set INSTALL_PREFIX or use 'sudo make install' for successful installation. Jan inquired about delayed email delivery from Launchpad, mentioning previous instances of answering the same question twice. The issue was resolved by Anton Gladky.
https://answers.launchpad.net/yade/+question/211043

Title: "Problem while launching YADE"
In a previous conversation about simulating gravity, Jim asked for advice. Joe suggested using g=-9.8 as an initial value. In a recent update, Anton mentioned that starting from revision 6d9fdab6, the path (relative or absolute) no longer matters.
https://answers.launchpad.net/yade/+question/204120

Can you help with this problem?

Provide an answer of your own, or ask Ram Chand for more information if necessary.

To post a message you must log in.