virtual memory exhausted: on using "make"
Hi, all
I have trouble installing YADE. At first, I followed the steps normally. However, the error occured on when I used "make" .
( The source is "yade-trunk-
how to do with it, thank you very much!
lxg@ubuntu:~$ cd ~/yade
lxg@ubuntu:~/yade$ mkdir ./build
lxg@ubuntu:~/yade$ cd ./build
lxg@ubuntu:
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Version is set to 0.90.3
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- thread
-- date_time
-- filesystem
-- iostreams
-- regex
-- serialization
-- Boost_VERSION: 104900
-- Boost_LIB_VERSION: 1_49
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found QGLViewer: /usr/lib/
-- Found GUI-LIBS
-- GMP libs: /usr/lib/
-- GMP libs: /usr/lib/
-- Found CGAL
-- Found GL2PS
Yade will be installed to default path /usr/local, if you want to override it use -DINSTALL_PREFIX option.
-- Suffix is set to -0.90.3
-- LIBRARY_OUTPUT_PATH is set to lib
-- runtimePREFIX is set to /usr/local
-- =======
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL GL2PS
-- Disabled features:
-- Optimized build
-- =======
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lxg/
lxg@ubuntu:
...
[ 19%] Built target _gts
[ 19%] Built target _packObb
[ 19%] Built target support
[ 19%] [ 19%] [ 19%] [ 19%] Building CXX object CMakeFiles/
Building CXX object CMakeFiles/
Building CXX object CMakeFiles/
Building CXX object CMakeFiles/
virtual memory exhausted: 无法分配内存
make[2]: *** [CMakeFiles/
make[2]: *** 正在等待未完成的任务....
virtual memory exhaustedvirtual memory exhausted: : 无法分配内存
无法分配内存
virtual memory exhausted: 无法分配内存
make[2]: *** [CMakeFiles/
make[2]: *** [CMakeFiles/
make[2]: *** [CMakeFiles/
make[1]: *** [CMakeFiles/
make: *** [all] 错误 2
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- eli
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Hello,
Yade compilation has relatively high memory requirements. First of all, try
to use
make -j 1
to decrease number of concurrent compilations and therefore memory usage.
If this does not help, let us know :-)
cheers
Jan
2012/12/25 eli <email address hidden>
> New question #217584 on Yade:
> https:/
>
> Hi, all
> I have trouble installing YADE. At first, I followed the steps
> normally. However, the error occured on when I used "make" .
>
> ( The source is "yade-trunk-
>
> how to do with it, thank you very much!
>
> lxg@ubuntu:~$ cd ~/yade
> lxg@ubuntu:~/yade$ mkdir ./build
> lxg@ubuntu:~/yade$ cd ./build
> lxg@ubuntu:
> -- Found Qt4: /usr/bin/qmake (found version "4.8.3")
> -- Version is set to 0.90.3
> -- GTS using gts-config /usr/bin/gts-config
> -- Using GTS from /usr
> -- Boost version: 1.49.0
> -- Found the following Boost libraries:
> -- python
> -- thread
> -- date_time
> -- filesystem
> -- iostreams
> -- regex
> -- serialization
> -- Boost_VERSION: 104900
> -- Boost_LIB_VERSION: 1_49
> -- Boost_INCLUDE_DIRS: /usr/include
> -- Boost_LIBRARIES: /usr/lib/
> libboost_
> -- Found Eigen3
> -- Found VTK
> -- Found OpenMP
> -- GTS using gts-config /usr/bin/gts-config
> -- Using GTS from /usr
> -- Found GTS
> -- Found Qt4: /usr/bin/qmake (found version "4.8.3")
> -- Found QGLViewer: /usr/lib/
> -- Found GUI-LIBS
> -- GMP libs: /usr/lib/
> /usr/lib/
> -- GMP libs: /usr/lib/
> /usr/lib/
> -- Found CGAL
> -- Found GL2PS
> Yade will be installed to default path /usr/local, if you want to override
> it use -DINSTALL_PREFIX option.
> -- Suffix is set to -0.90.3
> -- LIBRARY_OUTPUT_PATH is set to lib
> -- runtimePREFIX is set to /usr/local
> -- =======
> -- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL
> GL2PS
> -- Disabled features:
> -- Optimized build
> -- =======
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/lxg/
>
> lxg@ubuntu:
>
> ...
> [ 19%] Built target _gts
> [ 19%] Built target _packObb
> [ 19%] Built target support
> [ 19%] [ 19%] [ 19%] [ 19%] Building CXX object
> CMakeFiles/
> Building CXX object CMakeFiles/
> Building CXX object CMakeFiles/
> Building CXX object CMakeFiles/
> virtual memory exhausted: 无法分配内存
> make[2]: *** [CMakeFiles/
> make[2]: *** 正在等待未完成的任务....
> virtual memory exhaustedvirtual memory exhausted: : 无法分配内存
> 无法分配内存
> virtual memory exhausted: 无法分配内存
> make[2]: *** [CMakeFiles/
> make[2]: *** [CMakeFiles/
> make[2]: *** [CMakeFiles/
> make[1]: *** [CMakeFiles/
> make: *** [all] 错误 2
>
>
> 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
|
#2 |
Hi,
This has solved my problem,but there are some other questons.
[ 41%] Building CXX object CMakeFiles/
[ 42%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
/usr/include/
[ 42%] Building CXX object CMakeFiles/
[ 43%] Building CXX object CMakeFiles/
[ 43%] Building CXX object CMakeFiles/
[ 44%] Building CXX object CMakeFiles/
[ 44%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
/usr/include/
[ 52%] Building CXX object CMakeFiles/
[ 53%] Building CXX object CMakeFiles/
[ 53%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
[ 58%] Building CXX object CMakeFiles/
[ 59%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
[ 78%] Building CXX object CMakeFiles/
[ 78%] Building CXX object CMakeFiles/
[ 79%] Building CXX object CMakeFiles/
[ 80%] Building CXX object CMakeFiles/
c++: 编译器内部错误: 已杀死(程序 cc1plus)
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
具体步骤请参见 <file:/
make[2]: *** [CMakeFiles/
make[1]: *** [CMakeFiles/
make: *** [all] 错误 2
Revision history for this message
|
#3 |
Hi,
what stops you from using a prepackaged version of yade on ubuntu?
https:/
It takes just 2 minutes to get a working latest yade version.
Cheers,
Anton
Revision history for this message
|
#4 |
Hi,
I don't use a preackaged version of yade because I would like to do secondry development.
Moreover, I will publish my development results.
Cheers
eli
Revision history for this message
|
#5 |
Ok, could you, please, use the english locale to show an error, because there are rectangles instead of symbols?
Thanks.
Anton
Revision history for this message
|
#6 |
Hi Eli,
The source code yade-trunk-
If you plan to develop the code, it is better to work with the revision control system (git) and download the "trunk" version from github (see the installation page). That way, you can not only publish your code but also update your source to integrate others changes, then we can all interact efficiently.
It will probably not solve your compilation problem (well... lets see). For this problem, as mentionned by Anton, we need english messages as most of us don't read chinese.
Bruno
Revision history for this message
|
#7 |
Hi,
Thank you for your help.
This time it has compiled all on using "make" in the same way. Then I installed with the
command "sudo make install". The whole process as follows:
lxg@ubuntu:~$ mkdir ~/yade/build
lxg@ubuntu:~$ cd ~/yade/build
lxg@ubuntu:
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonLibs: /usr/lib/
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_
-- Performing Test OpenMP_
-- Found OpenMP: -fopenmp
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Version is set to 0.90.3
-- Looking for XOpenDisplay in /usr/lib/
-- Looking for XOpenDisplay in /usr/lib/
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/
-- Found OpenGL: /usr/lib/
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- Found CGAL: /usr/include/CGAL, /usr/lib/libCGAL.so
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- thread
-- date_time
-- filesystem
-- iostreams
-- regex
-- serialization
-- Boost_VERSION: 104900
-- Boost_LIB_VERSION: 1_49
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found Eigen3
-- Found VTK
-- Found OpenMP
-- GTS using gts-config /usr/bin/gts-config
-- Using GTS from /usr
-- checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found.
-- Found GTS
-- Found Qt4: /usr/bin/qmake (found version "4.8.3")
-- Found GLUT: /usr/lib/
-- Found QGLViewer: /usr/lib/
-- Found GUI-LIBS
-- GMP libs: /usr/lib/
-- Found GMP: /usr/include
-- GMP libs: /usr/lib/
-- Found CGAL
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- GL2PS NOT found
Yade will be installed to default path /usr/local, if you want to override it use -DINSTALL_PREFIX option.
-- Suffix is set to -0.90.3
-- LIBRARY_OUTPUT_PATH is set to lib
-- runtimePREFIX is set to /usr/local
-- =======
-- Yade configured with following features: Eigen3 VTK OpenMP GTS GUI CGAL
-- Disabled features: GL2PS
-- Optimized build
-- =======
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lxg/
...
...
[ 28%] Building CXX object CMakeFiles/
[ 29%] Building CXX object CMakeFiles/
[ 30%] Building CXX object CMakeFiles/
[ 30%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
/usr/include/
[ 31%] Building CXX object CMakeFiles/
[ 31%] Building CXX object CMakeFiles/
[ 32%] Building CXX object CMakeFiles/
[ 32%] Building CXX object CMakeFiles/
[ 33%] Building CXX object CMakeFiles/
[ 34%] Building CXX object CMakeFiles/
[ 34%] Building CXX object CMakeFiles/
[ 35%] Building CXX object CMakeFiles/
[ 35%] Building CXX object CMakeFiles/
[ 36%] Building CXX object CMakeFiles/
[ 36%] Building CXX object CMakeFiles/
[ 37%] Building CXX object CMakeFiles/
[ 38%] Building CXX object CMakeFiles/
[ 38%] Building CXX object CMakeFiles/
[ 39%] Building CXX object CMakeFiles/
[ 39%] Building CXX object CMakeFiles/
[ 40%] Building CXX object CMakeFiles/
[ 40%] Building CXX object CMakeFiles/
[ 41%] Building CXX object CMakeFiles/
[ 42%] Building CXX object CMakeFiles/
[ 42%] Building CXX object CMakeFiles/
[ 43%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
/usr/include/
[ 43%] Building CXX object CMakeFiles/
[ 44%] Building CXX object CMakeFiles/
[ 44%] Building CXX object CMakeFiles/
[ 45%] Building CXX object CMakeFiles/
[ 46%] Building CXX object CMakeFiles/
[ 46%] Building CXX object CMakeFiles/
[ 47%] Building CXX object CMakeFiles/
[ 47%] Building CXX object CMakeFiles/
[ 48%] Building CXX object CMakeFiles/
[ 49%] Building CXX object CMakeFiles/
[ 49%] Building CXX object CMakeFiles/
[ 50%] Building CXX object CMakeFiles/
[ 50%] Building CXX object CMakeFiles/
[ 51%] Building CXX object CMakeFiles/
[ 51%] Building CXX object CMakeFiles/
[ 52%] Building CXX object CMakeFiles/
[ 53%] Building CXX object CMakeFiles/
[ 53%] Building CXX object CMakeFiles/
[ 54%] Building CXX object CMakeFiles/
[ 54%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
/home/lxg/
[ 55%] Building CXX object CMakeFiles/
[ 55%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
[ 56%] Building CXX object CMakeFiles/
[ 57%] Building CXX object CMakeFiles/
[ 57%] Building CXX object CMakeFiles/
[ 58%] Building CXX object CMakeFiles/
[ 58%] Building CXX object CMakeFiles/
[ 59%] Building CXX object CMakeFiles/
[ 59%] Building CXX object CMakeFiles/
[ 60%] Building CXX object CMakeFiles/
[ 61%] Building CXX object CMakeFiles/
[ 61%] Building CXX object CMakeFiles/
[ 62%] Building CXX object CMakeFiles/
[ 62%] Building CXX object CMakeFiles/
[ 63%] Building CXX object CMakeFiles/
[ 63%] Building CXX object CMakeFiles/
[ 64%] Building CXX object CMakeFiles/
[ 65%] Building CXX object CMakeFiles/
[ 65%] Building CXX object CMakeFiles/
[ 66%] Building CXX object CMakeFiles/
[ 66%] Building CXX object CMakeFiles/
[ 67%] Building CXX object CMakeFiles/
[ 67%] Building CXX object CMakeFiles/
[ 68%] Building CXX object CMakeFiles/
[ 69%] Building CXX object CMakeFiles/
[ 69%] Building CXX object CMakeFiles/
[ 70%] Building CXX object CMakeFiles/
[ 70%] Building CXX object CMakeFiles/
[ 71%] Building CXX object CMakeFiles/
[ 71%] Building CXX object CMakeFiles/
[ 72%] Building CXX object CMakeFiles/
[ 73%] Building CXX object CMakeFiles/
[ 73%] Building CXX object CMakeFiles/
[ 74%] Building CXX object CMakeFiles/
[ 74%] Building CXX object CMakeFiles/
[ 75%] Building CXX object CMakeFiles/
[ 76%] Building CXX object CMakeFiles/
[ 76%] Building CXX object CMakeFiles/
[ 77%] Building CXX object CMakeFiles/
[ 77%] Building CXX object CMakeFiles/
[ 78%] Building CXX object CMakeFiles/
[ 78%] Building CXX object CMakeFiles/
[ 79%] Building CXX object CMakeFiles/
[ 80%] Building CXX object CMakeFiles/
[ 80%] Building CXX object CMakeFiles/
[ 81%] Building CXX object CMakeFiles/
[ 81%] Building CXX object CMakeFiles/
[ 82%] Building CXX object CMakeFiles/
[ 82%] Building CXX object CMakeFiles/
[ 83%] Building CXX object CMakeFiles/
In file included from /usr/include/
/usr/include/
/usr/include/
/home/lxg/
/usr/include/
[ 84%] Building CXX object CMakeFiles/
[ 84%] Building CXX object CMakeFiles/
[ 85%] Building CXX object CMakeFiles/
[ 85%] Building CXX object CMakeFiles/
[ 86%] Building CXX object CMakeFiles/
[ 86%] Building CXX object CMakeFiles/
[ 87%] Building CXX object CMakeFiles/
[ 88%] Building CXX object CMakeFiles/
[ 88%] Building CXX object CMakeFiles/
[ 89%] Building CXX object CMakeFiles/
[ 89%] Building CXX object CMakeFiles/
Linking CXX shared library lib/libplugins.so
[ 89%] Built target plugins
Scanning dependencies of target boot
[ 90%] Building CXX object CMakeFiles/
Linking CXX shared library lib/boot.so
[ 90%] Built target boot
Scanning dependencies of target WeightedAverage2d
[ 90%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/WeightedAve
[ 90%] Built target WeightedAverage2d
Scanning dependencies of target _customConverters
[ 91%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/_customConv
[ 91%] Built target _customConverters
Scanning dependencies of target _eudoxos
[ 91%] Building CXX object py/CMakeFiles/
In file included from /usr/include/
/usr/include/
Linking CXX shared library lib/_eudoxos.so
[ 91%] Built target _eudoxos
Scanning dependencies of target _gts
[ 92%] Building C object py/CMakeFiles/
[ 92%] Building C object py/CMakeFiles/
[ 93%] Building C object py/CMakeFiles/
[ 94%] Building C object py/CMakeFiles/
[ 94%] Building C object py/CMakeFiles/
[ 95%] Building C object py/CMakeFiles/
[ 95%] Building C object py/CMakeFiles/
[ 96%] Building C object py/CMakeFiles/
[ 96%] Building C object py/CMakeFiles/
[ 97%] Building C object py/CMakeFiles/
Linking C shared library lib/_gts.so
[ 97%] Built target _gts
Scanning dependencies of target _packObb
[ 98%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/_packObb.so
[ 98%] Built target _packObb
Scanning dependencies of target _packPredicates
[ 98%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/_packPredic
[ 98%] Built target _packPredicates
Scanning dependencies of target _packSpheres
[ 99%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/_packSpheres.so
[ 99%] Built target _packSpheres
Scanning dependencies of target _utils
[ 99%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/_utils.so
[ 99%] Built target _utils
Scanning dependencies of target wrapper
[100%] Building CXX object py/CMakeFiles/
Linking CXX shared library lib/wrapper.so
[100%] Built target wrapper
lxg@ubuntu:
[sudo] password for lxg:
[ 9%] Built target support
[ 22%] Built target core
[ 23%] Built target miniEigen
[ 27%] Built target _GLViewer
[ 89%] Built target plugins
[ 90%] Built target boot
[ 90%] Built target WeightedAverage2d
[ 91%] Built target _customConverters
[ 91%] Built target _eudoxos
[ 97%] Built target _gts
[ 98%] Built target _packObb
[ 98%] Built target _packPredicates
[ 99%] Built target _packSpheres
[ 99%] Built target _utils
[100%] Built target wrapper
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Set runtime path of "/usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
-- Installing: /usr/local/
lxg@ubuntu:
[sudo] password for lxg:
Scanning dependencies of target doc
Welcome to Yade 0.90.3
Traceback (most recent call last):
File "/usr/local/
import yade
File "/usr/local/
import system
File "/usr/local/
from yade import runtime
File "/usr/local/
import IPython
File "/usr/lib/
from .frontend.
File "/usr/lib/
from IPython.core.magic import Magics, magics_class, line_magic
File "/usr/lib/
from IPython.core import oinspect
File "/usr/lib/
from IPython.core import page
File "/usr/lib/
from io import UnsupportedOper
File "/usr/lib/
import _io
TypeError: type '_io._IOBase' participates in gc and is a base type but has inappropriate tp_free slot
Segmentation fault (core dumped)
make[3]: *** [doc] Error 139
make[2]: *** [CMakeFiles/
make[1]: *** [CMakeFiles/
make: *** [doc] Error 2
Are there any errors? And what do I need to do?
eli
Revision history for this message
|
#8 |
"sudo make install" is a reliable way to break your system.
Install to a custom-defined directory (use INSTALL_PREFIX variable)
without root-permissions.
Cheers,
Anton
Revision history for this message
|
#9 |
I don't see any error in your last compile logs (doc build excepted), what
are you expecting?
Bruno
p.s. Anton, "sudo install" is maybe not recommended but it used to work,
does it really break something now?
Revision history for this message
|
#10 |
2013/1/2 Chareyre <email address hidden>:
> p.s. Anton, "sudo install" is maybe not recommended but it used to work,
> does it really break something now?
Well it depends... If it is installed in /usr/local it should not be a problem.
But it is better to avoid "sudo" for such kind of things as it can lead to
unexpected behavior.
Anton
Revision history for this message
|
#11 |
I can find the file "yade-0.90.3" under /usr/local,but I can't start yade.
lxg@ubuntu:~$ yade-0.90.3
Welcome to Yade 0.90.3
Segmentation fault (core dumped)
At 2013-01-02 07:05:58,Chareyre <email address hidden> wrote:
>Your question #217584 on Yade changed:
>https:/
>
>Chareyre proposed the following answer:
>I don't see any error in your last compile logs (doc build excepted), what
>are you expecting?
>
>Bruno
>
>p.s. Anton, "sudo install" is maybe not recommended but it used to work,
>does it really break something now?
>
>--
>If this answers your question, please go to the following page to let us
>know that it is solved:
>https:/
>
>If you still need help, you can reply to this email or go to the
>following page to enter your feedback:
>https:/
>
>You received this question notification because you asked the question.
Revision history for this message
|
#12 |
Try to install a packaged version of yade and check, whether it works.
The problem can be related to a graphic driver. Do other 3D-applications
like paraview or gmsh are working?
Anton