OpenFOAM 3.0.1 installation on Ubuntu 14.04
1 Attachment(s)
Hi
I am trying to install OpenFOAM-3.0.1 on Ubuntu 14.04 64 bit system. I am following instructions written here But I am getting error at step 9, i.e., when building thirdParty packages. There is error when building CGAL and scotch. I have gone through this page The first error related to scotch can be ignored according to above link. But I am clueless about the second error which appears while building CGAL. I have attached the log file to this post. System details: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty cmake version 2.8.12.2 gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) QMake version 2.01a Using Qt version 4.8.6 in /usr/lib/x86_64-linux-gnu mpirun (Open MPI) 1.6.5 Can anyone help me out? Hrushi |
Quick answer: Please run the following commands:
Code:
cd $WM_THIRD_PARTY_DIR If this works, I'll revise the instructions on the wiki and report this to the bug tracker. |
3 Attachment(s)
Hi Bruno,
Code:
cd $WM_THIRD_PARTY_DIR Then I proceeded with further installation. The error came while building paraVIEW with python support. I have attached the log file. (log.makePV.gz) However, I went ahead and built PARAVIEW without python support by removing -python and -pyhton-lib options in command at step 10. (log.makePVwp.gz) ParaView got successfully built without python support. Building of OpenFOAM went without any glitch. Thanks a lot for your help. Hrushi |
Quick answers:
Quote:
Code:
python --version Quote:
|
Dear Bruno,
Quote:
Code:
python --version Code:
which python Code:
ls -l /usr/lib/x86_64-linux-gnu/libpython*.so* Quote:
Thanks Hrushi |
Quick answer: I didn't notice this before, but it looks like the error is due to the package "libpython2.7-dev" not being installed in your system. I don't know how it didn't get installed, but please confirm first if the following command:
Code:
ls -l /usr/include/python2.7/Python.h Code:
-rw-r--r-- 1 root root 4329 Out 26 2016 /usr/include/python2.7/Python.h If it does, then it looks like the installation is somehow damaged. To install the package: Code:
sudo apt-get install libpython2.7-dev Code:
sudo apt-get install --reinstall libpython2.7-dev |
Hi Bruno,
Code:
sudo apt-get install --reinstall libpython2.7-dev Thanks Hrushi |
All times are GMT -4. The time now is 02:44. |