Here's the output from my attempted build this afternoon:
(cwh)vicad@app:/home/env/cwh/build/librets/librets-1.5.3$ ./configure --enable-shared_dependencies --disable-perl
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... ar
checking for csc... no
checking for perl... perl
checking librets version... 1.5.3
checking for doxygen... no
checking for curl >= 7.18.2... 7.22.0
checking for /usr/include/expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for /usr/include/boost/version.hpp... yes
checking for boost >= 1_44... 1_46_1
checking for /usr/include/boost/system/system_error.hpp... yes
checking for java... java
checking for antlr... antlr
checking whether linking with -lantlr in /usr works... yes
checking for cppunit-config... no
checking for swig... swig
checking for swig >= 1.3.33... 2.0.4
checking for mcs... no
checking for gmcs... no
checking for csc... (cached) no
checking for java... java
checking for javac... no
checking for php... php
checking for /usr/php/main/php.h... no
checking for /usr/php/Zend/zend.h... no
checking for /usr/include/php/main/php.h... no
checking for /usr/include/php/Zend/zend.h... no
checking for /usr/local/php/main/php.h... no
checking for /usr/local/php/Zend/zend.h... no
checking for /usr/local/include/php/main/php.h... no
checking for /usr/local/include/php/Zend/zend.h... no
checking for /opt/php/main/php.h... no
checking for /opt/php/Zend/zend.h... no
checking for /opt/include/php/main/php.h... no
checking for /opt/include/php/Zend/zend.h... no
checking for /opt/local/php/main/php.h... no
checking for /opt/local/php/Zend/zend.h... no
checking for /opt/local/include/php/main/php.h... no
checking for /opt/local/include/php/Zend/zend.h... no
checking for python... python
checking for /home/env/cwh/include/python2.7/Python.h... yes
checking for ruby... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating project/build/Doxyfile
config.status: creating librets-config
config.status: creating librets-config-inplace
config.status: creating project/librets/src/config.h
Option summary:
Use ccache .................: no
Use dependency checking ....: no
Use -fPIC...................: yes
Use shared dependencies.....: yes
Compile type................: Normal
Compile examples............: no
Compile SQL compiler........: yes
Compile SWIG bindings.......: yes
With DotNet...............: no
With Java.................: no
With PERL.................: no
With PHP..................: no
With Python...............: yes
With Ruby.................: no
Enable Maintainer Docs......: no
Here's a sample of the output from make:
ar: creating build/librets/lib/librets.a
swig -c++ -python -o build/swig/python/librets_wrap.cpp \
-outdir build/swig/python /home/env/cwh/build/librets/librets-1.5.3/project/swig/librets.i
cd build/swig/python ; \
CC="gcc" CXX="g++" CFLAGS="-g -O2 -fPIC -DHAVE_CONFIG_H -DTARGET_UNIX -DLIBRETS_VERSION='"1.5.3"'" CXXFLAGS="" \
python setup.py build
sys.platform: linux2
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying librets.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_librets' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/home
creating build/temp.linux-x86_64-2.7/home/env
creating build/temp.linux-x86_64-2.7/home/env/cwh
creating build/temp.linux-x86_64-2.7/home/env/cwh/build
creating build/temp.linux-x86_64-2.7/home/env/cwh/build/librets
creating build/temp.linux-x86_64-2.7/home/env/cwh/build/librets/librets-1.5.3
creating build/temp.linux-x86_64-2.7/home/env/cwh/build/librets/librets-1.5.3/project
creating build/temp.linux-x86_64-2.7/home/env/cwh/build/librets/librets-1.5.3/project/swig
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -DHAVE_CONFIG_H -DTARGET_UNIX -DLIBRETS_VERSION=1.5.3 -fPIC -I/usr/include/python2.7 -c librets_wrap.cpp -o build/temp.linux-x86_64-2.7/librets_wrap.o -I/home/env/cwh/build/librets/librets-1.5.3/project/librets/include -I/usr/include -I/usr/include -I. -fPIC
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
librets_wrap.cpp: In function ‘PyObject* _wrap_SearchRequestAPtr_LIMIT_DEFAULT_get(PyObject*, PyObject*)’:
librets_wrap.cpp:13767:35: warning: variable ‘arg1’ set but not used [-Wunused-but-set-variable]
librets_wrap.cpp: In function ‘PyObject* _wrap_SearchRequestAPtr_LIMIT_NONE_get(PyObject*, PyObject*)’:
librets_wrap.cpp:13789:35: warning: variable ‘arg1’ set but not used [-Wunused-but-set-variable]
librets_wrap.cpp: In function ‘PyObject* _wrap_SearchRequestAPtr_OFFSET_NONE_get(PyObject*, PyObject*)’:
librets_wrap.cpp:13850:35: warning: variable ‘arg1’ set but not used [-Wunused-but-set-variable]
librets_wrap.cpp: In function ‘PyObject* _wrap_UpdateRequestAPtr_UPDATE_OK_get(PyObject*, PyObject*)’:
librets_wrap.cpp:16339:35: warning: variable ‘arg1’ set but not used [-Wunused-but-set-variable]
librets_wrap.cpp: In function ‘PyObject* _wrap_UpdateRequestAPtr_AUTO_POPULATE_get(PyObject*, PyObject*)’:
librets_wrap.cpp:16361:35: warning: variable ‘arg1’ set but not used [-Wunused-but-set-variable]
librets_wrap.cpp: In function ‘PyObject* _wrap_UpdateRequestAPtr_VALIDATE_ONLY_get(PyObject*, PyObject*)’:
librets_wrap.cpp:16383:35: warning: variable ‘arg1’ set but not used [-Wunused-but-set-variable]
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -DHAVE_CONFIG_H -DTARGET_UNIX -DLIBRETS_VERSION=1.5.3 -fPIC -I/usr/include/python2.7 -c /home/env/cwh/build/librets/librets-1.5.3/project/swig/librets_bridge.cpp -o build/temp.linux-x86_64-2.7/home/env/cwh/build/librets/librets-1.5.3/project/swig/librets_bridge.o -I/home/env/cwh/build/librets/librets-1.5.3/project/librets/include -I/usr/include -I/usr/include -I. -fPIC
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -O2 -fPIC -DHAVE_CONFIG_H -DTARGET_UNIX -DLIBRETS_VERSION=1.5.3 build/temp.linux-x86_64-2.7/librets_wrap.o build/temp.linux-x86_64-2.7/home/env/cwh/build/librets/librets-1.5.3/project/swig/librets_bridge.o -o build/lib.linux-x86_64-2.7/_librets.so /home/env/cwh/build/librets/librets-1.5.3/build/librets/lib/librets.a -L/usr/lib -lboost_filesystem-mt -lboost_system-mt -L/usr/lib/x86_64-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro -lexpat -L/usr/lib -lantlr
/usr/bin/ld: /usr/lib/libexpat.a(xmlparse.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libexpat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
make[1]: *** [build/swig/python/_librets.so] Error 1
make[1]: Leaving directory `/home/env/cwh/build/librets/librets-1.5.3'
make: *** [all] Error 2