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

Cannot Install Linalg on OSX Mountain Lion #4

Open
josephmisiti opened this issue Jun 25, 2014 · 2 comments
Open

Cannot Install Linalg on OSX Mountain Lion #4

josephmisiti opened this issue Jun 25, 2014 · 2 comments

Comments

@josephmisiti
Copy link

I am seeing the following error

(socialq)JOSEPH-MISITI:lapack-3.2 josephmisiti$ gem install linalg
Building native extensions.  This could take a while...
ERROR:  Error installing linalg:
    ERROR: Failed to build gem native extension.

    /Users/josephmisiti/.rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb
checking for f2c.h... no
*** 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/josephmisiti/.rvm/rubies/ruby-2.1.1/bin/ruby
A full LAPACK installation was not found.

extconf failed, exit code 1

Gem files will remain installed in /Users/josephmisiti/.rvm/gems/ruby-2.1.1/gems/linalg-1.0.2 for inspection.
Results logged to /Users/josephmisiti/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/linalg-1.0.2/gem_make.out

But i have both BLAS and LAPACK installed from source

(socialq)JOSEPH-MISITI:lapack-3.2 josephmisiti$ ls -alt /usr/local/lib/ | head -n 10
total 40184
drwxr-xr-x  169 josephmisiti  admin      5746 Jun 25 12:58 .
-rw-r--r--    1 root          admin  16645096 Jun 25 12:58 liblapack.a
-rw-r--r--    1 root          admin    639584 Jun 25 12:28 libblas.a
drwxrwxr-x   25 root          admin       850 Jun 15 21:55 ..
drwxr-xr-x    7 josephmisiti  admin       238 Jun  6 12:37 node_modules
lrwxr-xr-x    1 josephmisiti  admin        47 May 26 19:05 libgs.9.14.dylib -> ../Cellar/ghostscript/9.14/lib/libgs.9.14.dylib
lrwxr-xr-x    1 josephmisiti  admin        44 May 26 19:05 libgs.9.dylib -> ../Cellar/ghostscript/9.14/lib/libgs.9.dylib
lrwxr-xr-x    1 josephmisiti  admin        42 May 26 19:05 libgs.dylib -> ../Cellar/ghostscript/9.14/lib/libgs.dylib
lrwxr-xr-x    1 josephmisiti  admin        46 May 26 19:03 liblcms2.2.dylib -> ../Cellar/little-cms2/2.5/lib/liblcms2.2.dylib
@josephmisiti josephmisiti changed the title Cannot Install Linalg on OSX Mountain Linon Cannot Install Linalg on OSX Mountain Lion Jun 26, 2014
@jspooner
Copy link

jspooner commented Jan 9, 2015

+1

@jcb-entrnce
Copy link

you need libf2c which is a pain to install on osx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants