Hello,
I have installed manually automate, autoconf, …
I can run autoreconf without errors . I have now a error when I try to compile
cxxtools :
make
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
depbase=`echo addrinfo.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../src -I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-std=c++11 -MT addrinfo.lo -MD -MP -MF $depbase.Tpo -c -o addrinfo.lo
addrinfo.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -std=c++11 -MT addrinfo.lo -MD -MP -MF
.deps/addrinfo.Tpo -c addrinfo.cpp -fno-common -DPIC -o .libs/addrinfo.o
depbase=`echo addrinfoimpl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../src -I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-std=c++11 -MT addrinfoimpl.lo -MD -MP -MF $depbase.Tpo -c -o addrinfoimpl.lo
addrinfoimpl.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -std=c++11 -MT addrinfoimpl.lo -MD -MP
-MF .deps/addrinfoimpl.Tpo -c addrinfoimpl.cpp -fno-common -DPIC -o
.libs/addrinfoimpl.o
depbase=`echo application.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../src -I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-std=c++11 -MT application.lo -MD -MP -MF $depbase.Tpo -c -o application.lo
application.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -std=c++11 -MT application.lo -MD -MP -MF
.deps/application.Tpo -c application.cpp -fno-common -DPIC -o
.libs/application.o
depbase=`echo applicationimpl.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../src -I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-std=c++11 -MT applicationimpl.lo -MD -MP -MF $depbase.Tpo -c -o
applicationimpl.lo applicationimpl.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -std=c++11 -MT applicationimpl.lo -MD -MP
-MF .deps/applicationimpl.Tpo -c applicationimpl.cpp -fno-common -DPIC -o
.libs/applicationimpl.o
depbase=`echo base64codec.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../src -I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-std=c++11 -MT base64codec.lo -MD -MP -MF $depbase.Tpo -c -o base64codec.lo
base64codec.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -std=c++11 -MT base64codec.lo -MD -MP -MF
.deps/base64codec.Tpo -c base64codec.cpp -fno-common -DPIC -o
.libs/base64codec.o
depbase=`echo csvdeserializer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../src -I../include -I../include -Wno-long-long -Wall -pedantic -g -O2
-std=c++11 -MT csvdeserializer.lo -MD -MP -MF $depbase.Tpo -c -o
csvdeserializer.lo csvdeserializer.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include
-Wno-long-long -Wall -pedantic -g -O2 -std=c++11 -MT csvdeserializer.lo -MD -MP
-MF .deps/csvdeserializer.Tpo -c csvdeserializer.cpp -fno-common -DPIC -o
.libs/csvdeserializer.o
In file included from csvdeserializer.cpp:29:
In file included from ../include/cxxtools/csvdeserializer.h:33:
In file included from ../include/cxxtools/deserializer.h:33:
In file included from ../include/cxxtools/composer.h:31:
In file included from ../include/cxxtools/serializationinfo.h:39:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:912:49:
error: invalid application of 'sizeof' to an
incomplete type 'value_type' (aka 'cxxtools::SerializationInfo')
static const difference_type __block_size = sizeof(value_type) < 256 ? 4096
/ sizeof(value_type) : 16;
^~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1183:15:
note: in instantiation of template class
'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >' requested here
: private __deque_base<_Tp, _Allocator>
^
../include/cxxtools/serializationinfo.h:120:17: note: in instantiation of
template class 'std::__1::deque<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >' requested here
typedef Nodes::iterator Iterator;
^
../include/cxxtools/serializationinfo.h:110:7: note: definition of
'cxxtools::SerializationInfo' is not complete until the closing '}'
class SerializationInfo
^
In file included from csvdeserializer.cpp:29:
In file included from ../include/cxxtools/csvdeserializer.h:33:
In file included from ../include/cxxtools/deserializer.h:33:
In file included from ../include/cxxtools/composer.h:31:
In file included from ../include/cxxtools/serializationinfo.h:39:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1193:30:
error: '__alloc_traits' is a protected member
of 'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::__alloc_traits __alloc_traits;
^
../include/cxxtools/serializationinfo.h:120:17: note: in instantiation of
template class 'std::__1::deque<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >' requested here
typedef Nodes::iterator Iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:904:54:
note: declared protected here
typedef allocator_traits<allocator_type> __alloc_traits;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1194:30:
error: 'reference' is a protected member of
'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::reference reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:905:54:
note: declared protected here
typedef value_type& reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1195:30:
error: 'const_reference' is a protected
member of 'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::const_reference const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:906:54:
note: declared protected here
typedef const value_type& const_reference;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1196:30:
error: 'iterator' is a protected member of
'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::iterator iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:934:64:
note: declared protected here
difference_type, __block_size> iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1197:30:
error: 'const_iterator' is a protected member
of 'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::const_iterator const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:936:64:
note: declared protected here
difference_type, __block_size> const_iterator;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1198:30:
error: 'size_type' is a protected member of
'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:907:54:
note: declared protected here
typedef typename __alloc_traits::size_type size_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1199:30:
error: 'difference_type' is a protected
member of 'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:908:54:
note: declared protected here
typedef typename __alloc_traits::difference_type difference_type;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1201:30:
error: 'pointer' is a protected member of
'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:909:54:
note: declared protected here
typedef typename __alloc_traits::pointer pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1202:30:
error: 'const_pointer' is a protected member
of 'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:910:54:
note: declared protected here
typedef typename __alloc_traits::const_pointer const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:1359:30:
error: '__map_const_pointer' is a protected
member of 'std::__1::__deque_base<cxxtools::SerializationInfo,
std::__1::allocator<cxxtools::SerializationInfo> >'
typedef typename __base::__map_const_pointer __map_const_pointer;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/deque:930:81:
note: declared protected here
typedef typename allocator_traits<__const_pointer_allocator>::const_pointer
__map_const_pointer;
^
In file included from csvdeserializer.cpp:29:
In file included from ../include/cxxtools/csvdeserializer.h:33:
In file included from ../include/cxxtools/deserializer.h:33:
In file included from ../include/cxxtools/composer.h:31:
../include/cxxtools/serializationinfo.h:679:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= vec.back();
^~~
../include/cxxtools/serializationinfo.h:707:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= list.back();
^~~
../include/cxxtools/serializationinfo.h:735:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= deque.back();
^~~
../include/cxxtools/serializationinfo.h:763:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= t;
^~~
../include/cxxtools/serializationinfo.h:792:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= t;
^~~
../include/cxxtools/serializationinfo.h:838:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= v;
^~~
../include/cxxtools/serializationinfo.h:868:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= v;
^~~
../include/cxxtools/serializationinfo.h:927:9: error: indirection requires
pointer operand ('SerializationInfo::ConstIterator' (aka 'int') invalid)
*it >>= t;
^~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [csvdeserializer.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
MacBook-Pro-de-Jean-Marc:cxxtools
Is it possible to compile tntnet on Mac OS X ?
Thanks,
Jean-Marc------------------------------------------------------------------------------
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general