Hello everyone.
I am intending to use cURLpp for my university course project.
However, I am unable to compile it on my Debian system.
m...@new-host:~/soft/curlpp-0.7.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for boostlib >= 1.33.1... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... no
configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: dlfcn.h: proceeding with the compiler's result
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) no
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking ostream usability... no
checking ostream presence... yes
configure: WARNING: ostream: present but cannot be compiled
configure: WARNING: ostream: check for missing prerequisite
headers?
configure: WARNING: ostream: see the Autoconf documentation
configure: WARNING: ostream: section "Present But Cannot Be
Compiled"
configure: WARNING: ostream: proceeding with the preprocessor's result
configure: WARNING: ostream: in the future, the compiler will take
precedence
checking for ostream... yes
checking for curl >= 7.10.0... 7.19.5
checking enable gcc warnings... yes
checking warning make an error on compilation... yes
checking whether to enable the maintener code... no
checking whether to enable Debug symbols support options... no
checking if we need BUILDING_CURLPP... no
configure: creating ./config.status
config.status: creating curlpp-config
config.status: creating curlpp.spec
config.status: creating curlpp.pc
config.status: creating Makefile
config.status: creating curlpp/Makefile
config.status: creating examples/Makefile
config.status: creating utilspp/Makefile
config.status: creating utilspp/functor/Makefile
config.status: creating utilspp/singleton/Makefile
config.status: creating doc/Makefile
config.status: creating curlpp/config.h
config.status: curlpp/config.h is unchanged
config.status: executing depfiles commands
m...@new-host:~/soft/curlpp-0.7.2$ make
Making all in utilspp
make[1]: Entering directory `/home/mrx/soft/curlpp-0.7.2/utilspp'
Making all in functor
make[2]: Entering directory `/home/mrx/soft/curlpp-0.7.2/utilspp/
functor'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mrx/soft/curlpp-0.7.2/utilspp/
functor'
Making all in singleton
make[2]: Entering directory `/home/mrx/soft/curlpp-0.7.2/utilspp/
singleton'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -
DHAVE_CONFIG_H -I. -I. -I../../curlpp -g -W -Wall -Werror -I/
usr/include -MT LifetimeLibrary.lo -MD -MP -MF ".deps/
LifetimeLibrary.Tpo" -c -o LifetimeLibrary.lo LifetimeLibrary.cpp; \
then mv -f ".deps/LifetimeLibrary.Tpo" ".deps/
LifetimeLibrary.Plo"; else rm -f ".deps/LifetimeLibrary.Tpo"; exit 1;
fi
In file included from LifetimeWithLongevity.hpp:54,
from SingletonHolder.hpp:31,
from LifetimeLibrary.cpp:1:
LifetimeWithLongevity.inl: In function 'void utilspp::setLongevity(T*,
unsigned int, TDestroyer)':
LifetimeWithLongevity.inl:19: error: 'upper_bound' is not a member of
'std'
LifetimeLibrary.cpp: In member function 'void
utilspp::LifetimeLibraryImpl::add
(utilspp::PrivateMembers::LifetimeTracker*)':
LifetimeLibrary.cpp:29: error: 'upper_bound' is not a member of 'std'
make[2]: *** [LifetimeLibrary.lo] Error 1
make[2]: Leaving directory `/home/mrx/soft/curlpp-0.7.2/utilspp/
singleton'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mrx/soft/curlpp-0.7.2/utilspp'
make: *** [all-recursive] Error 1
I assume there are some packages I should install. Can anyone give me
any clues on solving the problem?
--
You received this message because you are subscribed to the Google Groups
"curlpp" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at http://groups.google.com/group/curlpp?hl=.