can not find boost headers version 1.34.1

Asked by Mohsen Yahyaei

When trying to install ESyS-Particles in ubuntu 12.04. In compile and install stage after typing ./configure CC=mpicc CXX=mpic++
i get the following error
too many lines
checking for Boost headers version >= 1.34.1... no
configure: error: cannot find Boost headers version >= 1.34.1

I faced same error when i tried to compile and install Gengeo
I am very begginer at ubuntu and just followed the instructions for installing the package and i was sucessfull in all of them up to compiling and installing the softeware itself. So i don't know where is the problem.

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Mohsen Yahyaei
Solved:
Last query:
Last reply:
Revision history for this message
Vince Boros (v-boros) said :
#1

Hello Mohsen Yahyaei.

You may not have the Boost library packages installed. Follow the instructions at https://answers.launchpad.net/esys-particle/+faq/1613 for installing dependencies on 11.04, which should work for 12.04. After that, try configuring again.

If you have already done this and still cannot configure ESyS-Particle, then your Boost libraries may be in a nonstandard location. In that case you need to add an option to the configure line: --with-boost=path_to_boost_library_folder (e.g. if Boost is in /usr/local/lib/, then type --with-boost=/usr/local).

Regards,

Vince

Revision history for this message
Mohsen Yahyaei (mohyahyaei) said :
#2

Hello Vince,

I tried to install the Mandatory dependencies mentiond in your mentioned instruction. i faced the following error.
My command:
sudo apt-get install mpi-defult-bin mpi-default-dev libboost-all-dev povray

Results:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package povray is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package mpi-defult-bin
E: Package 'povray' has no installation candidate

So i installed povray following some other instruction and i test it and it worked.
This was the only step which i wasn't able to do it in accordance to the instruction. I do not know where is my porblem. If you could help me i would appreciate it.

Thanks,
Mohsen

Revision history for this message
Mohsen Yahyaei (mohyahyaei) said :
#3

Hi Vince,

I guess i solved the problem. I used the following command to install the boost

sudo apt-get install mpi-defult-bin mpi-default-dev libboost-all-dev

instead of
sudo apt-get install mpi-defult-bin mpi-default-dev libboost-all-dev povray

so after that i didn't face the error again.

Thanks.

Revision history for this message
Vince Boros (v-boros) said :
#4

That's good. I notice that the "Unable to locate package mpi-defult-bin" error came from typing "mpi-defult-bin" instead of "mpi-default-bin" on the "apt-get" line. I think that the next time you tried "apt-get" without povray you typed the package name correctly. At any rate, I am glad that you are past the configuration hurdle.

Vince