C compiler cannot create executables (libltdl - error)

Asked by gessi

Hy all,

i have some problems to install ESys...

I have installed all required packages and also all *-dev packs, but the error is still existing.

After all the checks(./configure CC=mpic CXX=mpic++) i get:

--------------snip--------------
config.status: executing libtool commands
=== configuring in libltdl (/home/gessi/Downloads/ESyS-Particle-2.0/libltdl)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' 'CC=mpic' 'CXX=mpic++' '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... mpic
checking for C compiler default output file name...
configure: error: in `/home/gessi/Downloads/ESyS-Particle-2.0/libltdl':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for libltdl
--------------snip--------------

System is a fresh Ubuntu 9.10.

Thanks a lot for a solution.

Regards gessi

Question information

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

Hi Gessi,

It might just be a typo. Try:

./configure CC=mpicc CXX=mpic++

Cheers,

Dion

Revision history for this message
gessi (gordonbleu) said :
#2

A typical case of not seeing the wood for the trees ;-)

Thanks Dion, that was the problem.

greets gessi