Comment 10 for bug 1006230

Revision history for this message
Brian Aker (brianaker) wrote : Re: [Bug 1006230] Re: gcc 4.1 support

There is an update in the build tree that once it passes may fix this.

On Sep 11, 2012, at 7:11 AM, scoopex <ms-ubuntu@256bit.org> wrote:

> The most modern compiler supported by SLES10SP4 seems to be GCC 4.1.2.
>
> If you think it´s acceptable to keep SLES10 users away from using
> libmemcached, just close the issue.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1006230
>
> Title:
> gcc 4.1 support
>
> Status in libmemcached - A C and C++ client library for memcached:
> Confirmed
>
> Bug description:
> The last release which can be compiled on Suse Enterprise Linux 10
> Servicepack 4 is release 1.0.4.
>
> All higher releases cannot be compiled on that distribution.
>
> SLES10 SP4 is still pretty in use - organizations with that release do not have a upgrade possibility
> (fixes/securiry-updates) for that release.
>
> The compilation failed on a configure without any options:
> ----
> CXX libhashkit/libhashkit_libhashkit_la-behavior.lo
> CXX libhashkit/libhashkit_libhashkit_la-crc32.lo
> CXX libhashkit/libhashkit_libhashkit_la-digest.lo
> CXX libhashkit/libhashkit_libhashkit_la-encrypt.lo
> CXX libhashkit/libhashkit_libhashkit_la-fnv_32.lo
> CXX libhashkit/libhashkit_libhashkit_la-fnv_64.lo
> CXX libhashkit/libhashkit_libhashkit_la-function.lo
> CXX libhashkit/libhashkit_libhashkit_la-has.lo
> CXX libhashkit/libhashkit_libhashkit_la-hashkit.lo
> CXX libhashkit/libhashkit_libhashkit_la-jenkins.lo
> CXX libhashkit/libhashkit_libhashkit_la-ketama.lo
> CXX libhashkit/libhashkit_libhashkit_la-md5.lo
> CXX libhashkit/libhashkit_libhashkit_la-murmur.lo
> CXX libhashkit/libhashkit_libhashkit_la-one_at_a_time.lo
> CXX libhashkit/libhashkit_libhashkit_la-rijndael.lo
> CXX libhashkit/libhashkit_libhashkit_la-str_algorithm.lo
> CXX libhashkit/libhashkit_libhashkit_la-strerror.lo
> CXX libhashkit/libhashkit_libhashkit_la-string.lo
> CXX libhashkit/libhashkit_libhashkit_la-nohsieh.lo
> CXXLD libhashkit/libhashkit.la
> CXX libmemcached/csl/libmemcached_libmemcached_la-context.lo
> In file included from ./libmemcached/common.h:72,
> from ./libmemcached/csl/common.h:40,
> from libmemcached/csl/context.cc:38:
> ./libmemcached-1.0/memcached.h:46:27: error: tr1/cinttypes: No such file or directory
> make[1]: *** [libmemcached/csl/libmemcached_libmemcached_la-context.lo] Error 1
> make[1]: Leaving directory `/export/home/build/sles-packages/memcached/libmemcached/libmemcached-1.0.8'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.22791 (%build)
> ----
>
> The header file tr1/cinttypes is not part of the distribution compiler development package (gcc/g++ 4.1.2):
> ----
> # rpm -ql libstdc++-devel|grep tr1
> /usr/include/c++/4.1.2/tr1
> /usr/include/c++/4.1.2/tr1/array
> /usr/include/c++/4.1.2/tr1/bind_iterate.h
> /usr/include/c++/4.1.2/tr1/bind_repeat.h
> /usr/include/c++/4.1.2/tr1/boost_shared_ptr.h
> /usr/include/c++/4.1.2/tr1/functional
> /usr/include/c++/4.1.2/tr1/functional_iterate.h
> /usr/include/c++/4.1.2/tr1/hashtable
> /usr/include/c++/4.1.2/tr1/memory
> /usr/include/c++/4.1.2/tr1/mu_iterate.h
> /usr/include/c++/4.1.2/tr1/ref_fwd.h
> /usr/include/c++/4.1.2/tr1/ref_wrap_iterate.h
> /usr/include/c++/4.1.2/tr1/repeat.h
> /usr/include/c++/4.1.2/tr1/tuple
> /usr/include/c++/4.1.2/tr1/tuple_iterate.h
> /usr/include/c++/4.1.2/tr1/type_traits
> /usr/include/c++/4.1.2/tr1/type_traits_fwd.h
> /usr/include/c++/4.1.2/tr1/unordered_map
> /usr/include/c++/4.1.2/tr1/unordered_set
> /usr/include/c++/4.1.2/tr1/utility
> ----
>
> What can we do?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/libmemcached/+bug/1006230/+subscriptions