Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Compilation errors: Unexpected EOF while looking for matching `'' on 1.4.5
From: Robert Collyer (rcollyer_at_[hidden])
Date: 2012-03-08 22:27:21

The libtool that is constructed for the configuration I'm using (below)
has bug when it is constructing compiler_lib_search_path in both the CXX
and FC sections, as follows

compiler_lib_search_path="-L/lib -L/usr/lib -L/usr/local/lib' ..."

where the ellipses is just more directories. The error is the extra '
placed after /usr/local/lib. I am not sure where it creeps in as I am
unfamiliar with m4. Changing both instances allows compilation to
continue. Additionally, the extra ' is present in both instances of
compiler_lib_search_dir, also.

Rob Collyer

P.S. My configuration, to be run from the shell using sh:

export LDFLAGS="-L/opt/lib -L/opt/lib -L/usr/lib -L/usr/local/lib"
export CPPFLAGS="-I/opt/include -I/usr/include -I/usr/local/include"
export FCFLAGS="-I/opt/include -I/usr/include -I/usr/local/include"

./configure --prefix=`pwd` CC=/opt/bin/gcc CXX=/opt/bin/g++
FC=/opt/bin/gfortran F77=/opt/bin/gfortran