Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: no member named 'insert' in 'boost::spirit::x3::unused_type' #3756

Open
louistone opened this issue Sep 5, 2017 · 1 comment
Open
Labels
resolved? awaiting confirmation that the issue has been resolved

Comments

@louistone
Copy link

When I try to install Mapnik, below error happens:

/usr/local/include/boost/spirit/home/x3/core/detail/parse_into_container.hpp:259:22: error: no member named 'insert' in
'boost::spirit::x3::unused_type'
attr.insert(attr.end(), rest.begin(), rest.end());
~~~~ ^
16 errors generated.
scons: *** [src/json/positions_grammar_x3.o] Error 1
scons: building terminated because of errors.
make: *** [src/json/libmapnik-json.a] Error 2

Below is my default version of gcc:

gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I have updated gcc to gcc7, it's in the below directory. I guess I may need to verify the file named Sconstruct :

/usr/local/gcc-7.1/bin

How can fix this issue? Thanks a lot!

@artemp
Copy link
Member

artemp commented Sep 6, 2017

@louistone - you have 2 options at the moment:

@lightmare lightmare added the resolved? awaiting confirmation that the issue has been resolved label Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved? awaiting confirmation that the issue has been resolved
Projects
None yet
Development

No branches or pull requests

3 participants