[protobuf] 2.6.0rc1 fails to build on mac 10.9

2014-08-21 Thread Simon Newton
$ g++ --version
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix


I get the same errors when I use clang++


Errors:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include/
-D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -O2 -g -DNDEBUG -MT unknown_field_set.lo -MD -MP -MF
.deps/unknown_field_set.Tpo -c google/protobuf/unknown_field_set.cc
-fno-common -DPIC -o .libs/unknown_field_set.o
google/protobuf/message.cc:130:60: error: implicit instantiation of
undefined template 'std::__1::basic_istreamchar,
std::__1::char_traitschar '

  return ParseFromZeroCopyStream(zero_copy_input)  input-eof();

   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33:
note: template is declared here

class _LIBCPP_TYPE_VIS_ONLY basic_istream;

^
google/protobuf/message.cc:135:67: error: implicit instantiation of
undefined template 'std::__1::basic_istreamchar,
std::__1::char_traitschar '

  return ParsePartialFromZeroCopyStream(zero_copy_input)  input-eof();

  ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33:
note: template is declared here

class _LIBCPP_TYPE_VIS_ONLY basic_istream;

^
google/protobuf/message.cc:175:16: error: implicit instantiation of
undefined template 'std::__1::basic_ostreamchar,
std::__1::char_traitschar '

  return output-good();

   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:111:33:
note: template is declared here

class _LIBCPP_TYPE_VIS_ONLY basic_ostream;

^


Let me know if you'd like me to do more testing.

Simon

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Re: 2.6.0 release candidate

2014-08-21 Thread Simon Newton



On Tuesday, August 19, 2014 1:39:28 PM UTC-7, Jie Luo wrote:

 Hi all, 

 I have uploaded the release candidate of protobuf-2.6.0 
 (protobuf-2.6.0rc1) here: 

 https://protobuf.googlecode.com/svn/rc/ 

 The RC1 has been tested on Linux, Mac, Cygwin, MinGW and MSVC (2010, 
 2013). 

 Feel free to try it out. 
 Feedback is highly appreciated. 


There is at least one missing header:

zero_copy_stream_impl_lite.h includes google/protobuf/stubs/stl_util.h 
but stl_util.h isn't installed.

In src/Makefile.am stl_util.h is listed in libprotobuf_lite_la_SOURCES 
rather than nobase_include_HEADERS.
Simon
 


 Thanks, 
 Jie 


-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] 2.6.0 release candidate

2014-08-21 Thread Simon Newton
On Thu, Aug 21, 2014 at 8:49 AM, Simon Newton si...@nomis52.net wrote:
 I get a build failures on Mac OS X 10.9:

Sorry please ignore that, I was building the wrong RC.

Simon


 $ g++ --version
 Configured with:
 --prefix=/Applications/Xcode.app/Contents/Developer/usr
 --with-gxx-include-dir=/usr/include/c++/4.2.1
 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
 Target: x86_64-apple-darwin13.3.0
 Thread model: posix

 I get the same errors when I use clang++

 Errors:

 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include/
 -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual
 -Wno-sign-compare -O2 -g -DNDEBUG -MT unknown_field_set.lo -MD -MP -MF
 .deps/unknown_field_set.Tpo -c google/protobuf/unknown_field_set.cc
 -fno-common -DPIC -o .libs/unknown_field_set.o
 google/protobuf/message.cc:130:60: error: implicit instantiation of
 undefined template 'std::__1::basic_istreamchar, std::__1::char_traitschar 
 '
   return ParseFromZeroCopyStream(zero_copy_input)  input-eof();
^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33:
 note: template is declared here
 class _LIBCPP_TYPE_VIS_ONLY basic_istream;
 ^
 google/protobuf/message.cc:135:67: error: implicit instantiation of
 undefined template 'std::__1::basic_istreamchar, std::__1::char_traitschar 
 '
   return ParsePartialFromZeroCopyStream(zero_copy_input)  input-eof();
   ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33:
 note: template is declared here
 class _LIBCPP_TYPE_VIS_ONLY basic_istream;
 ^
 google/protobuf/message.cc:175:16: error: implicit instantiation of
 undefined template 'std::__1::basic_ostreamchar, std::__1::char_traitschar 
 '
   return output-good();
^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:111:33:note:
 template is declared here
 class _LIBCPP_TYPE_VIS_ONLY basic_ostream;
 ^

 Let me know if you'd like me to do more testing.

 On Tue, Aug 19, 2014 at 1:39 PM, 'Jie Luo' via Protocol Buffers
 protobuf@googlegroups.com wrote:
 Hi all,

 I have uploaded the release candidate of protobuf-2.6.0
 (protobuf-2.6.0rc1) here:

 https://protobuf.googlecode.com/svn/rc/

 The RC1 has been tested on Linux, Mac, Cygwin, MinGW and MSVC (2010, 2013).

 Feel free to try it out.
 Feedback is highly appreciated.

 Thanks,
 Jie

 --
 You received this message because you are subscribed to the Google Groups 
 Protocol Buffers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to protobuf+unsubscr...@googlegroups.com.
 To post to this group, send email to protobuf@googlegroups.com.
 Visit this group at http://groups.google.com/group/protobuf.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] 2.6.0 release candidate

2014-08-21 Thread Simon Newton
I get a build failures on Mac OS X 10.9:

$ g++ --version
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix

I get the same errors when I use clang++

Errors:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include/
-D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual
-Wno-sign-compare -O2 -g -DNDEBUG -MT unknown_field_set.lo -MD -MP -MF
.deps/unknown_field_set.Tpo -c google/protobuf/unknown_field_set.cc
-fno-common -DPIC -o .libs/unknown_field_set.o
google/protobuf/message.cc:130:60: error: implicit instantiation of
undefined template 'std::__1::basic_istreamchar, std::__1::char_traitschar '
  return ParseFromZeroCopyStream(zero_copy_input)  input-eof();
   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33:
note: template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_istream;
^
google/protobuf/message.cc:135:67: error: implicit instantiation of
undefined template 'std::__1::basic_istreamchar, std::__1::char_traitschar '
  return ParsePartialFromZeroCopyStream(zero_copy_input)  input-eof();
  ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:109:33:
note: template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_istream;
^
google/protobuf/message.cc:175:16: error: implicit instantiation of
undefined template 'std::__1::basic_ostreamchar, std::__1::char_traitschar '
  return output-good();
   ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:111:33:note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_ostream;
^

Let me know if you'd like me to do more testing.

On Tue, Aug 19, 2014 at 1:39 PM, 'Jie Luo' via Protocol Buffers
protobuf@googlegroups.com wrote:
 Hi all,

 I have uploaded the release candidate of protobuf-2.6.0
 (protobuf-2.6.0rc1) here:

 https://protobuf.googlecode.com/svn/rc/

 The RC1 has been tested on Linux, Mac, Cygwin, MinGW and MSVC (2010, 2013).

 Feel free to try it out.
 Feedback is highly appreciated.

 Thanks,
 Jie

 --
 You received this message because you are subscribed to the Google Groups 
 Protocol Buffers group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to protobuf+unsubscr...@googlegroups.com.
 To post to this group, send email to protobuf@googlegroups.com.
 Visit this group at http://groups.google.com/group/protobuf.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.