Closed pochoi closed 8 years ago
Awesome this is very nice. Thanks for the pull request.
Do issues #12 and #13 now cover the remaining issues discussed in #10?
Thanks!
The package is not working on the OSX, I guess, because the hard-coded configure files does not work in Clang. It would be awesome to make building script works in Clang.
Refer to the issue #10. It is a minimal fix for building the package in OSX. I just change some types and paths so that it is more robust to different performs.
One needs to build the package with a working GNU gcc/g++ linked to default
gcc
andg++
. To do it, a simple way is to use Homebrew. Install GNU gcc/g++ in Homebrew. Create symlinks (since Homebrew would name the gcc/g++ binary with the versions installed, say,gcc-5
orgcc-4.9
). Make sure the directory for packages installed by Homebrew is at the front ofPATH
.I put similar codes in
.travis.yml
so that it works in the Travis-CI build in OSX. Travis-CI's OSX already has gcc-4.9 installed with Homebrew. So I just make the symlinks andPATH
.It is far from ideal, though. I believe the package should be able to build with Clang.