errors during installation

Asked by Wen

hi all,

I have two errors during installation, they are:

configure: error: ` /home/zhang/Downloads/ESyS-Particle-2.0':
configure: error: C++ compiler cannot create executables

I was following the installation instructions from this forum, and these two errors appear after i typed ./configure CC=mpicc CXX=mpixx --prefix=/path/to/install/ESyS-Particle, i did follow all the steps described in the introduction, changed the 'configure.ac' file. Unfortunately the errors appear always. I am working with Suse Linux 11.2, and had no experiences about Linux before, so totally a freshman about this stuff. Hoping you guys can help me out of this stage. Thanks a lot.

Regards.

Wen.

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Dion Weatherley
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi, Wen!

I also had a problem with this error. As I remember, I solved it by
installing all openmpi* and libopenmpi* packages.
Also you can see at config.log file for more accurate information.

Have a Luck!
______________________________

Anton Gladkyy

2009/11/27 Wen <email address hidden>

> New question #91949 on ESyS-Particle:
> https://answers.launchpad.net/esys-particle/+question/91949
>
> hi all,
>
> I have two errors during installation, they are:
>
> configure: error: ` /home/zhang/Downloads/ESyS-Particle-2.0':
> configure: error: C++ compiler cannot create executables
>
> I was following the installation instructions from this forum, and these
> two errors appear after i typed ./configure CC=mpicc CXX=mpixx
> --prefix=/path/to/install/ESyS-Particle, i did follow all the steps
> described in the introduction, changed the 'configure.ac' file.
> Unfortunately the errors appear always. I am working with Suse Linux 11.2,
> and had no experiences about Linux before, so totally a freshman about this
> stuff. Hoping you guys can help me out of this stage. Thanks a lot.
>
> Regards.
>
> Wen.
>
> --
> You received this question notification because you are an answer
> contact for ESyS-Particle.
>

Revision history for this message
Wen (zhangwen) said :
#2

Hi Anton,

Thank u for the tipps. I tried to install the openmpi* and libopenmpi* packages, but the same errors exsist still. And from the config.log file i couldnt see something helpful.

Could it be some other problems?

Regards.
Wen.

Revision history for this message
Best Dion Weatherley (d-weatherley) said :
#3

Hi Wen,

The best installation instructions for ESyS-Particle are here:
https://answers.launchpad.net/esys-particle/+faq/712

The error you are getting is usually because you have not installed all of the required dependencies. In particular, you must install all the *-dev packages (containing development headers and shared libraries) for Python, boost and openmpi. I suspect that you have missed installing some important packages.

As a first step, make sure you have a working version of g++ installed by writing a little C++ programme and compile/execute it. OpenMPI won't be able to compile programmes if gcc/g++ is not correctly installed.

If you keep having problems, email me your config.log file and I'll take a look at it.

Cheers,

Dion.

Revision history for this message
Wen (zhangwen) said :
#4

Thanks Dion Weatherley, that solved my question.