|
From: Natschläger T. <Tho...@sc...> - 2011-11-21 07:24:12
|
Hi!
If you do not need to use the NeuroML feature probably the easiest way to solve is to go to the top level CMakeLists.txt and remove
"${PCSIM_SOURCE_DIR}/pcsim/neuroml"
"${PCSIM_SOURCE_DIR}/libxsd"
from the INCLUDE_DIRECTORIES.
Best Regards
Thomas Natschläger
From: 厚之成 [mailto:zhi...@gm...]
Sent: Sonntag, 20. November 2011 13:12
To: pcs...@li...
Subject: [Pcsim-users] problems of installing PCSim
Hello all,
i want to install the PCSim 0.5.4 in my ubuntu 10.04, but some problems happened. i have replace the gcc by gcc 4.1.3 and install all the dependence. when i run python build.py -j 2 install(my python version is 2.6.5), the bash said:
>>>> cd /home/hou/pcsim/pcsim-0.5.4/_build
>>>> cmake -D CMAKE_BUILD_TYPE:STRING=Release -D CMAKE_INSTALL_PREFIX:PATH=/home/hou/pcsim/pcsim-0.5.4 -D PYPCSIM_INSTALL_DIR:PATH=. -D PCSIM_INSTALL_DIR:PATH=. -D EXTRA_INSTALL:STRING=NO /home/hou/pcsim/pcsim-0.5.4
Build type = Release
Platform = linux-i686
Make tool = /usr/bin/make
Make command = /usr/bin/make -i
Python executable : /usr/bin/python version 2.6
Python libraries : /usr/lib/python2.6/config
Python includes : /usr/include/python2.6
Doxygen executable : /usr/bin/doxygen
GCCXML executable : /usr/bin/gccxml
BOOST_LIB_SUFFIX IS gcc-mt
BOOST_LIB_SUFFIX_2 IS gcc41-mt
Boost C++ library boost_python : /usr/local/lib/libboost_python-gcc34-mt.so
Boost C++ library boost_thread : /usr/local/lib/libboost_thread-gcc34-mt.so
Boost C++ library boost_date_time : /usr/local/lib/libboost_date_time-gcc34-mt.so
Boost C++ libraries : /usr/local/lib
Boost C++ include path : /usr/local/include/boost-1_34_1
MPICH2 library: /usr/local/lib/libmpich.so
MPICH2 include path : /usr/local/include
GNU Scientific library : /usr/local/lib/libgsl.so
Xerces library : /usr/local/lib/libxerces-c.so
CppUnit : /usr/local/lib/libcppunit.so
JNI headers : /usr/lib/jvm/java-6-openjdk/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hou/pcsim/pcsim-0.5.4/_build
>>>> cd /home/hou/pcsim/pcsim-0.5.4/_build
>>>> /usr/bin/make -j 2 rebuild_cache
Running CMake to regenerate build system...
Build type = Release
Platform = linux-i686
Make tool = /usr/bin/make
Make command = /usr/bin/make -i
Python executable : /usr/bin/python version 2.6
Python libraries : /usr/lib/python2.6/config
Python includes : /usr/include/python2.6
Doxygen executable : /usr/bin/doxygen
GCCXML executable : /usr/bin/gccxml
BOOST_LIB_SUFFIX IS gcc-mt
BOOST_LIB_SUFFIX_2 IS gcc41-mt
Boost C++ library boost_python : /usr/local/lib/libboost_python-gcc34-mt.so
Boost C++ library boost_thread : /usr/local/lib/libboost_thread-gcc34-mt.so
Boost C++ library boost_date_time : /usr/local/lib/libboost_date_time-gcc34-mt.so
Boost C++ libraries : /usr/local/lib
Boost C++ include path : /usr/local/include/boost-1_34_1
MPICH2 library: /usr/local/lib/libmpich.so
MPICH2 include path : /usr/local/include
GNU Scientific library : /usr/local/lib/libgsl.so
Xerces library : /usr/local/lib/libxerces-c.so
CppUnit : /usr/local/lib/libcppunit.so
JNI headers : /usr/lib/jvm/java-6-openjdk/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hou/pcsim/pcsim-0.5.4/_build
*******************************************
* GENERATING PY++ WRAPPER CPP FILES *
*******************************************
>>>> cd /home/hou/pcsim/pcsim-0.5.4/_build
>>>> /usr/bin/make -j 2 generate_code
Built target generate_python_wrapper_code
Built target generate_code
>>>> cd /home/hou/pcsim/pcsim-0.5.4/_build
>>>> /usr/bin/make -j 2 rebuild_cache
Running CMake to regenerate build system...
Build type = Release
Platform = linux-i686
Make tool = /usr/bin/make
Make command = /usr/bin/make -i
Python executable : /usr/bin/python version 2.6
Python libraries : /usr/lib/python2.6/config
Python includes : /usr/include/python2.6
Doxygen executable : /usr/bin/doxygen
GCCXML executable : /usr/bin/gccxml
BOOST_LIB_SUFFIX IS gcc-mt
BOOST_LIB_SUFFIX_2 IS gcc41-mt
Boost C++ library boost_python : /usr/local/lib/libboost_python-gcc34-mt.so
Boost C++ library boost_thread : /usr/local/lib/libboost_thread-gcc34-mt.so
Boost C++ library boost_date_time : /usr/local/lib/libboost_date_time-gcc34-mt.so
Boost C++ libraries : /usr/local/lib
Boost C++ include path : /usr/local/include/boost-1_34_1
MPICH2 library: /usr/local/lib/libmpich.so
MPICH2 include path : /usr/local/include
GNU Scientific library : /usr/local/lib/libgsl.so
Xerces library : /usr/local/lib/libxerces-c.so
CppUnit : /usr/local/lib/libcppunit.so
JNI headers : /usr/lib/jvm/java-6-openjdk/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hou/pcsim/pcsim-0.5.4/_build
>>>> cd /home/hou/pcsim/pcsim-0.5.4/_build
>>>> /usr/bin/make -j 2 install
[ 0%] Built target generate_python_wrapper_code
[ 0%] [ 0%] Building CXX object pcsim/CMakeFiles/pcsim.dir/neuroml/NeuroMLImporter.o
Building CXX object pcsim/CMakeFiles/pcsim.dir/neuroml/parser/skeleton/offset-pskel.o
/home/hou/pcsim/pcsim-0.5.4/libxsd/xsd/cxx/xml/sax/std-input-source.hxx: In member function ‘virtual xercesc_3_1::BinInputStream* xsd::cxx::xml::sax::std_input_source::makeStream() const’:
/home/hou/pcsim/pcsim-0.5.4/libxsd/xsd/cxx/xml/sax/std-input-source.hxx:156: error: cannot allocate an object of abstract type ‘xsd::cxx::xml::sax::std_input_stream’
/home/hou/pcsim/pcsim-0.5.4/libxsd/xsd/cxx/xml/sax/std-input-source.hxx:25: note: because the following virtual functions are pure within ‘xsd::cxx::xml::sax::std_input_stream’:
/usr/local/include/xercesc/util/BinInputStream.hpp:67: note: virtual const XMLCh* xercesc_3_1::BinInputStream::getContentType() const
make[2]: *** [pcsim/CMakeFiles/pcsim.dir/neuroml/parser/skeleton/offset-pskel.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/hou/pcsim/pcsim-0.5.4/libxsd/xsd/cxx/xml/sax/std-input-source.hxx: In member function ‘virtual xercesc_3_1::BinInputStream* xsd::cxx::xml::sax::std_input_source::makeStream() const’:
/home/hou/pcsim/pcsim-0.5.4/libxsd/xsd/cxx/xml/sax/std-input-source.hxx:156: error: cannot allocate an object of abstract type ‘xsd::cxx::xml::sax::std_input_stream’
/home/hou/pcsim/pcsim-0.5.4/libxsd/xsd/cxx/xml/sax/std-input-source.hxx:25: note: because the following virtual functions are pure within ‘xsd::cxx::xml::sax::std_input_stream’:
/usr/local/include/xercesc/util/BinInputStream.hpp:67: note: virtual const XMLCh* xercesc_3_1::BinInputStream::getContentType() const
make[2]: *** [pcsim/CMakeFiles/pcsim.dir/neuroml/NeuroMLImporter.o] Error 1
make[1]: *** [pcsim/CMakeFiles/pcsim.dir/all] Error 2
make: *** [all] Error 2
BUILD PROCESS FAILED. ERROR = 512
Command: /usr/bin/make -j 2 install
i don't know how to solve it and searching help.
any kind of help is very appreciated!
Regards,
Hou Zhicheng
|