nguyenphanhuynh / metasyntactic

Automatically exported from code.google.com/p/metasyntactic
Apache License 2.0
0 stars 0 forks source link

./autogen.sh returns an error #144

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Download source 
2.  unzip source
3. run ./autogen.sh from source directory

What is the expected output? What do you see instead?
configure.ac:29: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.69/bin/autoconf failed with exit 
status: 1

What version of the product are you using? On what operating system?
2.2.0
I am on OS X 10.9 (13A510d) running Xcode Version 5.0 (5A11344j)

Please provide any additional information below.
Both my Xcode and OS X are the new beta versions. I do not know if this could 
be the cause.

Original issue reported on code.google.com by jacob.am...@gmail.com on 26 Jul 2013 at 12:54

GoogleCodeExporter commented 9 years ago
Fixed with "brew install libtool"

Original comment by jacob.am...@gmail.com on 26 Jul 2013 at 4:56

GoogleCodeExporter commented 9 years ago
Now I am getting this as an error when doing the "make" command.

/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/ext/hash_map:209:2: warning: 
      Use of the header <ext/hash_map> is deprecated. Migrate to
      <unordered_map> [-W#warnings]
#warning Use of the header <ext/hash_map> is deprecated.  Migrate to <u...
 ^
In file included from google/protobuf/message.cc:36:
In file included from ./google/protobuf/stubs/hash.h:44:
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/ext/hash_set:202:2: warning: 
      Use of the header <ext/hash_set> is deprecated. Migrate to
      <unordered_set> [-W#warnings]
#warning Use of the header <ext/hash_set> is deprecated.  Migrate to <u...
 ^
google/protobuf/message.cc:130:60: error: implicit instantiation of undefined
      template 'std::__1::basic_istream<char, std::__1::char_traits<char> >'
  return ParseFromZeroCopyStream(&zero_copy_input) && input->eof();
                                                           ^
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/iosfwd:108:28: note: 
      template is declared here
    class _LIBCPP_TYPE_VIS basic_istream;
                           ^
google/protobuf/message.cc:135:67: error: implicit instantiation of undefined
      template 'std::__1::basic_istream<char, std::__1::char_traits<char> >'
  return ParsePartialFromZeroCopyStream(&zero_copy_input) && input->eof();
                                                                  ^
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/iosfwd:108:28: note: 
      template is declared here
    class _LIBCPP_TYPE_VIS basic_istream;
                           ^
2 warnings and 2 errors generated.

Original comment by jacob.am...@gmail.com on 26 Jul 2013 at 5:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Solved by: https://code.google.com/p/protobuf/issues/detail?id=455

Basically added #include <istream> to the include list of message.cc in 
src/google/protobuff

Original comment by jacob.am...@gmail.com on 30 Jul 2013 at 5:40