Skip to content

Native extension does not compile with Apple LLVM version 5.0 (clag-500.2.76) #151

@j-h-l

Description

@j-h-l

~ » gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix

----- gem install nmatrix
Building native extensions. This could take a while...
ERROR: Error installing nmatrix:
ERROR: Failed to build gem native extension.

/Users/jeehyunglee/.rbenv/versions/2.0.0-p247/bin/ruby extconf.rb

checking for main() in -llapack... yes
checking for main() in -lcblas... yes
checking for main() in -latlas... yes
checking for clapack.h... no
checking for cblas.h... no
checking for cblas.h in /usr/local/atlas/include,/usr/include/atlas... no
checking for cblas.h... no
checking for clapack_dgetrf() in cblas.h,clapack.h... no
checking for clapack_dgetri() in cblas.h,clapack.h... no
checking for dgesvd_() in clapack.h... no
checking for cblas_dgemm() in cblas.h... no
Exception NoMethodError' at extconf.rb:205 - undefined methodcaptures' for nil:NilClass
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/jeehyunglee/.rbenv/versions/2.0.0-p247/bin/ruby
--with-lapacklib
--without-lapacklib
--with-cblaslib
--without-cblaslib
--with-atlaslib
--without-atlaslib
extconf.rb:205:in gplusplus_version': undefined methodcaptures' for nil:NilClass (NoMethodError)
from extconf.rb:213:in `

'

Gem files will remain installed in /Users/jeehyunglee/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/nmatrix-0.0.9 for inspection.
Results logged to /Users/jeehyunglee/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/nmatrix-0.0.9/ext/nmatrix/gem_make.out

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions