Comments (5)
What goes wrong if you don't change the stdlib or if you omit the macosx-version-min?
from crosscat.
Build failure:
g++ -bundle -undefined dynamic_lookup -L/Users/tibbetts/anaconda/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.5-x86_64-2.7/crosscat/cython_code/CyclicComponentModel.o build/temp.macosx-10.5-x86_64-2.7/cpp_code/src/utils.o build/temp.macosx-10.5-x86_64-2.7/cpp_code/src/numerics.o build/temp.macosx-10.5-x86_64-2.7/cpp_code/src/RandomNumberGenerator.o build/temp.macosx-10.5-x86_64-2.7/cpp_code/src/ComponentModel.o build/temp.macosx-10.5-x86_64-2.7/cpp_code/src/CyclicComponentModel.o -L/Users/tibbetts/anaconda/lib -o build/lib.macosx-10.5-x86_64-2.7/crosscat/cython_code/CyclicComponentModel.so
ld: library not found for -lgcc_s.10.5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
----------------------------------------
Command "/Users/tibbetts/anaconda/bin/python -c "import setuptools, tokenize;__file__='/var/folders/h9/8d2yv2ln0gq74mp5mffdw8qw0000gn/T/pip-6CaCIe-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/h9/8d2yv2ln0gq74mp5mffdw8qw0000gn/T/pip-pFbKkb-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /var/folders/h9/8d2yv2ln0gq74mp5mffdw8qw0000gn/T/pip-6CaCIe-build
from crosscat.
Is that without -stdlib=libstdc++
, or is that without -mmacosx-version-min=10.6
?
from crosscat.
I just tried setting LDFLAGS and it took effect:
% LDFLAGS=-wotsit python setup.py build
...
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -wotsit build/temp.linux-x86_64-2.7/crosscat/cython_code/CyclicComponentModel.o build/temp.linux-x86_64-2.7/cpp_code/src/utils.o build/temp.linux-x86_64-2.7/cpp_code/src/numerics.o build/temp.linux-x86_64-2.7/cpp_code/src/RandomNumberGenerator.o build/temp.linux-x86_64-2.7/cpp_code/src/ComponentModel.o build/temp.linux-x86_64-2.7/cpp_code/src/CyclicComponentModel.o -o build/lib.linux-x86_64-2.7/crosscat/cython_code/CyclicComponentModel.so
c++: error: unrecognized command line option ‘-wotsit’
error: command 'c++' failed with exit status 1
from crosscat.
I stand corrected, the following line builds successfully:
LDFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.6" pip install git+ssh://[email protected]/probcomp/crosscat
from crosscat.
Related Issues (20)
- test_multiple_col_ensure.py is stochastic
- pls help run on windows 10 machine with anaconda python 2.7 HOT 3
- dha_example_multiprocessing HOT 1
- missing dependencies / environment compatibilities HOT 5
- rename pypi package: CrossCat -> crosscat
- How to sample from the posterior HOT 12
- Is it possible to engage more than one core? HOT 5
- .
- How to avoid collapsing to one view?
- Prevent test suite from generating matplotlib figures using X11-based backend HOT 3
- cannot import crosscat.LocalEngine HOT 1
- Allow multistate queries in sample_utils to utilize multiprocessing
- Python 3 compatibility HOT 1
- Hadoop state non-functional HOT 9
- continuous component model can't handle constant column HOT 1
- Crosscat hyperprior grid on variance parameter is broader than it needs to be HOT 9
- Crosscat should use 256-bit seeds
- "pip install crosscat" fails HOT 3
- Crosscat build fails in anaconda environment: "cpp_code/src/weakprng.cpp:314:38: error: ‘UINT64_C’ was not declared in this scope~ HOT 6
- Multistate conditional sampling is inaccurate HOT 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 crosscat.