- From: "Duke, Daniel J." <dduke@anl.gov>
- To: "wouter.vanputte@ugent.be" <wouter.vanputte@ugent.be>
- Cc: "seg3d@sci.utah.edu" <seg3d@sci.utah.edu>
- Subject: Re: [Seg3D] Centos Build problem
- Date: Fri, 29 Apr 2016 15:29:55 +0000
- Accept-language: en-US
Wouter,
my solution on CentOS 6 was to purge everything from my PATH except the
compiler. I believe the problem is that CMake is picking up CentOS 6’s python
libraries, binaries and includes. Hope this works for you too.
Dan.
>
On 29 Apr 2016, at 10:22 AM, wouter.vanputte@ugent.be wrote:
>
>
Dear,
>
>
i am having problems installing seg3D on a Centos computer (CentOS Linux
>
release 7.1.1503 (Core)). I have installed all the required packages: gcc
>
(gcc-4.8.5-4.el7.x86_64), cmake (cmake-2.8.11-5.el7.x86_64), git
>
(git-1.8.3.1-
>
4.el7.x86_64). I saw someone else had the same problem, but I could not see
>
how he resolved it.
>
>
output:
>
>
/home/woutervp/EMsoftware/Seg3D-2.3.1/bin/Externals/Source/Boost_external/lib/
>
libboost_python-
>
mt.a(function_doc_signature.o):function_doc_signature.cpp:(.text+0x118f):
>
more
>
undefined references to `PyInt_FromLong' follow
>
/home/woutervp/EMsoftware/Seg3D-2.3.1/bin/Externals/Source/Boost_external/lib/
>
libboost_python-mt.a(function_doc_signature.o): In function
>
`boost::python::tuple boost::python::make_tuple<boost::python::str,
>
boost::python::api::object, boost::python::str, boost::python::str,
>
boost::python::str, std::string>(boost::python::str const&,
>
boost::python::api::object const&, boost::python::str const&,
>
boost::python::str const&, boost::python::str const&, std::string const&)':
>
function_doc_signature.cpp:(.text._ZN5boost6python10make_tupleINS0_3strENS0_3api6objectES2_S2_S2_SsEENS0_5tupleERKT_RKT0_RKT1_RKT2_RKT3_RKT4_[_ZN5boost6python10make_tupleINS0_3strENS0_3api6objectES2_S2_S2_SsEENS0_5tupleERKT_RKT0_RKT1_RKT2_RKT3_RKT4_]
>
+0xd2): undefined reference to `PyString_FromStringAndSize'
>
/home/woutervp/EMsoftware/Seg3D-2.3.1/bin/Externals/Source/Boost_external/lib/
>
libboost_python-mt.a(function_doc_signature.o): In function
>
`boost::python::tuple boost::python::make_tuple<boost::python::api::object,
>
boost::python::str, boost::python::str, boost::python::str, std::string,
>
boost::python::str>(boost::python::api::object const&, boost::python::str
>
const&, boost::python::str const&, boost::python::str const&, std::string
>
const&, boost::python::str const&)':
>
function_doc_signature.cpp:(.text._ZN5boost6python10make_tupleINS0_3api6objectENS0_3strES4_S4_SsS4_EENS0_5tupleERKT_RKT0_RKT1_RKT2_RKT3_RKT4_[_ZN5boost6python10make_tupleINS0_3api6objectENS0_3strES4_S4_SsS4_EENS0_5tupleERKT_RKT0_RKT1_RKT2_RKT3_RKT4_]
>
+0xb2): undefined reference to `PyString_FromStringAndSize'
>
/home/woutervp/EMsoftware/Seg3D-2.3.1/bin/Externals/Source/Boost_external/lib/
>
libboost_python-mt.a(registry.o): In function
>
`boost::python::converter::registration::to_python(void const volatile*)
>
const':
>
registry.cpp:(.text+0x215): undefined reference to `PyString_FromFormat'
>
collect2: error: ld returned 1 exit status
>
make[5]: *** [Seg3D2] Error 1
>
make[4]: *** [Main/CMakeFiles/Seg3D2.dir/all] Error 2
>
make[3]: *** [all] Error 2
>
make[2]: *** [Externals/Stamp/Seg3D_external/Seg3D_external-build] Error 2
>
make[1]: *** [CMakeFiles/Seg3D_external.dir/all] Error 2
>
make: *** [all] Error 2
>
Building Seg3D returned an error
>
>
Either the code failed to build properly or
>
>
the testing programs failed to complete without
>
>
every single test program passing the test.
>
>
What should I do?
>
>
best wishes,
>
>
Wouter
>
_______________________________________________
>
Seg3d mailing list: Seg3d@sci.utah.edu
>
http://www.sci.utah.edu/software/seg3d.html
>
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe seg3d"
>
in the message body.
Archive powered by MHonArc 2.6.18.