Comments (5)
I would like to amend my issue. It's worse than previously stated.
I was able to get least_asymmetry
to install on 1 of 3 linux servers using cpp_args = ['-std=c++11']
; but, when using even the simplest example -- from LA's github main page -- python (v2 and v3) crashes with final error: Aborted (core dumped)
I suspect that this has to do with version mismatching; it's possibly because I dropped '-stdlib=libc++'
from the cpp_args
from least_asymmetry.
I too have discovered this issue on a particular linux setup. I think I have a more robust build system to introduce, which hopefully will solve the issue. Dealing with compilers on many different systems is such a pain! Look for the changes sometime this week.
from least_asymmetry.
I using os.environ
to swapped the compiler from gcc
to clang++
or clang
Below line 5 in setup.py
, (from distutils.core ....) I added the lines:
import os
os.environ["CC"] = "clang"
os.environ["CXX"] = "clang++"
I also used clang
and clang++
for both CC
and CXX
above.
Either way, I get the error:
least_asymmetry/include/pybind11/common.h:74:10: fatal error: 'forward_list' file not found
This flags an error because of line 74 in the file common.h
mentioned in the error.
from least_asymmetry.
Pleas check if the devel branch builds for you on linux now, just using the setup.py, with whatever default compilers it finds (gcc)
from least_asymmetry.
So far so good. I am using 3 servers with 3 versions of gcc. As was expected, the 1 server that has gcc > 4.7 and includes libc++11 natively does work well.
I think that the problem is solved and will close this now. But I'm going to spell everything out below in case a future user / developer runs into these issues.
Server 1 (install failed): gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
Server 2 (install failed): gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
Server 3 (install success!): gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
from least_asymmetry.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from least_asymmetry.