liyh1984 / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

.3.3Make fails on Mavericks #188

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure
2. make - fails here 

What is the expected output? What do you see instead?
should compile, instead get:

In file included from src/stl_logging_unittest.cc:34:
./src/glog/stl_logging.h:56:11: fatal error: 'ext/slist' file not found
# include <ext/slist>

What version of the product are you using? On what operating system?
.3.3, Mac OSX Mavericks

Please provide any additional information below.
Made no changes or modifications to original file downloaded

Original issue reported on code.google.com by mileslin...@gmail.com on 19 Feb 2014 at 1:48

GoogleCodeExporter commented 8 years ago
resolved. just a linker issue

Original comment by mileslin...@gmail.com on 22 Feb 2014 at 3:28

GoogleCodeExporter commented 8 years ago
This is not a linker issue, obviously. This is a proper duplicate of 
https://code.google.com/p/google-glog/issues/detail?id=121

Original comment by anrufe7...@gmail.com on 5 Mar 2014 at 1:06

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/google-glog/source/detail?r=142

Original comment by shinichi...@gmail.com on 5 Mar 2014 at 5:23

GoogleCodeExporter commented 8 years ago
I am having the same error here; here's what I get when I run the "make" 
command:

In file included from src/stl_logging_unittest.cc:53:
./src/glog/stl_logging.h:56:11: fatal error: 'ext/slist' file not found
# include <ext/slist>
          ^
2 warnings and 1 error generated.
make: *** [stl_logging_unittest-stl_logging_unittest.o] Error 1

I changed the src/stl_logging_unittest.cc file to the one at this link:

https://code.google.com/p/google-glog/source/detail?r=142

However, this does nothing. I re-run ./configure and make, and it fails 
identically with the same error. Are there more fixes I was supposed to make 
other than changing the stl_logging_unittest.cc file?

Original comment by CRichard...@gmail.com on 9 Jul 2014 at 4:56

GoogleCodeExporter commented 8 years ago
I've applied the patch r142 and configured using:
CXXFLAGS="-stdlib=libc++" CC=clang CXX=clang++ ./configure 

But I still get the same error reported below on OS X 10.9.4 and clang-503.0.40

Original comment by kill....@gmail.com on 24 Aug 2014 at 10:47

GoogleCodeExporter commented 8 years ago
applied the patch r142, but the same error.

Original comment by CosmicRa...@gmail.com on 20 Oct 2014 at 11:07