|
From: Pecevski D. <de...@ig...> - 2012-04-06 09:57:39
|
Hi Robert, It looks like you do not have installed the python package ElementTree. You can find it here: http://effbot.org/zone/element-index.htm or maybe there is a linux package for that. regards, Dejan On 04/06/2012 11:25 AM, robert fujii wrote: > Dear Dr. Pecevski - It looks like I was able to correct the mpich2 > problem; > what I did is to complie the mpich2 source code (mpich2-1.4.1p1) > myself instead of > using "apt-get install mpich2". > The installation of pcsim seems to be almost complete; however error > messages > have appeared and I don't know how to resolve them. Thank you for your > time and patience. > > Best regards, > Robert > > > 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/local/bin/doxygen > GCCXML executable : /usr/local/bin/gccxml > Boost C++ library boost_python : /usr/lib/libboost_python.so > Boost C++ library boost_thread : /usr/lib/libboost_thread-mt.so > Boost C++ library boost_date_time : /usr/lib/libboost_date_time-mt.so > Boost C++ libraries : /usr/lib > Boost C++ include path : /usr/include > MPICH2 library: /usr/lib/libmpich.so > MPICH2 include path : /usr/local/mpich2-1.4.1p1/src/include > GNU Scientific library : /usr/local/lib/libgsl.so > CppUnit : /usr/local/lib/libcppunit.so > -- Configuring done > CMake Warning (dev) at cppunittests/CMakeLists.txt:8 (ADD_EXECUTABLE): > Policy CMP0003 should be set before this line. Add code such as > > if(COMMAND cmake_policy) > cmake_policy(SET CMP0003 NEW) > endif(COMMAND cmake_policy) > > as early as possible but after the most recent call to > cmake_minimum_required or cmake_policy(VERSION). This warning appears > because target "pcsim_test" links to some libraries for which the linker > must search: > > mpich, mpichcxx, gsl, gslcblas, cppunit, dl > > and other libraries with known full path: > > /usr/local/pypcsim-0.5.0/_build/lib/libpcsim.so > > CMake is adding directories in the second list to the linker search > path in > case they are needed to find libraries from the first list (for > backwards > compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to > enable > or disable this behavior explicitly. Run "cmake --help-policy > CMP0003" for > more information. > This warning is for project developers. Use -Wno-dev to suppress it. > > -- Generating done > -- Build files have been written to: /usr/local/pypcsim-0.5.0/_build > >>>> cd /usr/local/pypcsim-0.5.0/_build > >>>> /usr/bin/make -j 2 install > [ 1%] Built target generate_python_wrapper_code > [ 1%] Generating ../../pcsim/RegisterSimObjects.cpp, > ../../pcsim/register_fields_includes.h, > ../../pcsim/register_fields_calls.h, > ../../pcsim/register.indicator.cpp, > ../../pcsim/pcsimSimObjectRegistrator.h > Traceback (most recent call last): > File > "/usr/local/pypcsim-0.5.0/scripts/generate_simobject_registry_code.py", line > 3, in <module> > from elementtree import ElementTree > ImportError: No module named elementtree > make[2]: *** [../pcsim/RegisterSimObjects.cpp] 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 > > -- _______________________________________________ Dejan Pecevski, PhD Institute for Theoretical Computer Science Graz University of Technology Inffeldgasse 16b, A-8010 Graz, Austria Tel. +43 316 873 5849 |