espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] compilation error of espresso 3.3.0


From: Axel Arnold
Subject: Re: [ESPResSo-users] compilation error of espresso 3.3.0
Date: Mon, 8 Dec 2014 12:15:41 +0100

Hi,

3.3 just by default builds the Python Interface, but it isn't mandatory. You probably don't need it in fact, since you have already Tcl scripts running. You can disable the Python interface using --without-python-interface as option to configure.

Best,
Axel

JP Dr. Axel Arnold
ICP, Universität Stuttgart
Allmandring 3
70569 Stuttgart
Phone: +49 711 685 67609

On 08 Dec 2014, at 11:52, 张爽 <address@hidden> wrote:

Dear all,
I have a problem on installation of espresso 3.3.0. The first step I used ./configure and set the variables CPPFLAGS and LDFLAGS the same as the version  espresso 3.2.0.
The script writes as "./configure --prefix=/bio/data/shuangzhang/soft/espresso3.3.0 --with-fftw CPPFLAGS="-I/bio/data/shuangzhang/soft/tcl8.6/include -I/afs/ihep.ac.cn/soft/BIO/fftw/include" LDFLAGS="-L/bio/data/shuangzhang/soft/tcl8.6/lib -L/afs/ihep.ac.cn/soft/BIO/fftw/lib" "
then the error appears:
configure: error:
  Could not link test program to Python neither using distutils nor
  python-config. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================
The first question, does the espresso package strongly require python? I remember when you install the version 3.2.0, you don't need to do this.
I don't konw the reason, so I just set the path to python 2.7.8. The configuration proceeded successfully.
Then during the "make " step, another error appears blow:
  GEN      python-all
  CXXLD    System.la
libtool: link: warning: library `/afs/ihep.ac.cn/soft/BIO/fftw/lib/libfftw3.la' was moved.
/usr/bin/ld: /bio/data/shuangzhang/soft/python2.7.8/lib/python2.7/config/libpython2.7.a(abstract.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/bio/data/shuangzhang/soft/python2.7.8/lib/python2.7/config/libpython2.7.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [System.la] Error 1
make[4]: Leaving directory `/publicfs/bio/data/shuangzhang/sourcecode/espresso-3.3.0/src/python/espressomd'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/publicfs/bio/data/shuangzhang/sourcecode/espresso-3.3.0/src/python/espressomd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/publicfs/bio/data/shuangzhang/sourcecode/espresso-3.3.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/publicfs/bio/data/shuangzhang/sourcecode/espresso-3.3.0/src'
make: *** [all-recursive] Error 1
Does anybody know the reason and how to fix it? I will really appreciate your help.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]