SCI Seg3D Mailing List

Text archives Help


Re: [Seg3D] seg3d, I'd like to submit a build problem


Chronological Thread 
  • From: Elizabeth Jurrus <liz@sci.utah.edu>
  • To: Allen Rueter <allen@seas.wustl.edu>, seg3d@sci.utah.edu
  • Subject: Re: [Seg3D] seg3d, I'd like to submit a build problem
  • Date: Mon, 20 Jul 2015 14:32:11 -0700

Sharing with the seg3d mailing

- liz


On 7/20/15 2:20 PM, Allen Rueter wrote:

Date: Mon, 20 Jul 2015 16:14:17 -0500
From: Allen Rueter <allen@seas.wustl.edu>
To: seg3d@sci.utah.edu
Subject: problem building Seg3D-2.2.1 CentOS 7.1
User-Agent: Mutt/1.5.23 (2014-03-12)

Hi,
we seem to have problem building Seg3D-2.2.1 on CentOS 7.1

# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)

bin# yum list qt
Loaded plugins: auto-update-debuginfo, fastestmirror, langpacks, priorities
Loading mirror speeds from cached hostfile
* base: mirror.metrocast.net
* epel: mirror.nexcess.net
* epel-debuginfo: mirror.nexcess.net
* extras: mirrors.chkhosting.com
* updates: mirror.us.leaseweb.net
Installed Packages
qt.x86_64 1:4.8.5-8.el7
@anaconda

bin# cmake --version
cmake version 2.8.11

bin# cmake ../Superbuild
-- QTVERSION=4.8.5
-- Found use file: /usr/share/cmake/Modules/UseQt4.cmake
-- Zlib_DIR: /usr/local/src/Seg3D-2.2.1/bin/Externals/Build/Zlib_external
-- Glew_DIR: /usr/local/src/Seg3D-2.2.1/bin/Externals/Build/Glew_external
-- Freetype_DIR:
/usr/local/src/Seg3D-2.2.1/bin/Externals/Build/Freetype_external
-- SQLite_DIR: /usr/local/src/Seg3D-2.2.1/bin/Externals/Build/SQLite_external
-- LibPNG_DIR: /usr/local/src/Seg3D-2.2.1/bin/Externals/Build/LibPNG_external
-- Python_DIR:
/usr/local/src/Seg3D-2.2.1/bin/Externals/Install/Python_external
-- ITK_DIR=/usr/local/src/Seg3D-2.2.1/bin/Externals/Build/ITK_external
-- Boost_DIR: /usr/local/src/Seg3D-2.2.1/bin/Externals/Install/Boost_external
-- Teem_DIR: /usr/local/src/Seg3D-2.2.1/bin/Externals/Build/Teem_external
-- ImplicitFunction_DIR:
/usr/local/src/Seg3D-2.2.1/bin/Externals/Build/ImplicitFunction_external
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/Seg3D-2.2.1/bin

# cd ..

# ./build.sh
... about an hour later.

Linking CXX executable ../Seg3D2
/usr/local/src/Seg3D-2.2.1/bin/Externals/Source/Boost_external/lib/libboost_python-mt.a(builtin_converters.o):
In function `boost::python::converter::(anonymous
namespace)::signed_int_rvalue_from_python_base::get_pytype()':
builtin_converters.cpp:(.text+0x13): undefined reference to `PyInt_Type'
...

function_doc_signature.cpp:(.text+0xfc6): undefined reference to
`PyInt_FromLong'
function_doc_signature.cpp:(.text+0x1121): undefined reference to
`PyInt_FromLong'
/usr/local/src/Seg3D-2.2.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
/usr/local/src/Seg3D-2.2.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'
/usr/local/src/Seg3D-2.2.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'
/usr/local/src/Seg3D-2.2.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.

#

thanks





Archive powered by MHonArc 2.6.18.

Top of page