linear-model on heroku

46 views
Skip to first unread message

David Petrovics

unread,
Apr 12, 2013, 9:30:36 PM4/12/13
to inca...@googlegroups.com
Hi guys

I'm building a simple analytics web app using Incanter. Everything is working great, except for one issue. I use linear-model, which works as expected locally on my machine. However, when I upload my code to Heroku and access it via the web, my heroku app complains: "You need to install libgfortran3."

As directed in the error message from the logs, I took a look here: https://github.com/mikiobraun/jblas/wiki/Missing-Libraries 

I guess Incanter uses jblas, which requires libgfortran for the linear-model stuff. It looks like I have it installed on my machine, but not on my Heroku app. So I've been trying to use the Heroku build tool Vulcan (https://github.com/heroku/vulcan), but with no luck. I used this tutorial to guide me: http://www.higherorderheroku.com/articles/using-vulcan-to-build-binary-dependencies-on-heroku/

I'm not all that familiar with Linux (I use mac os x), but its clear that I have to send the source or binary for libgfortran3 up to heroku-- but I only found it as a .deb file: http://packages.ubuntu.com/quantal/amd64/libgfortran3/download

Anybody run into this issue before? It seems that anyone making heavy usage of Incanter on Heroku would have experienced this...

Thanks

Alex Ott

unread,
May 18, 2013, 7:57:37 AM5/18/13
to inca...@googlegroups.com
Hi

Does Heroku allows to install packages with apt-get? If so, you can run 'apt-get install libgfortran3' as it's done for Travis-CI build (https://github.com/liebke/incanter/blob/master/.travis.yml)

Or you can use version 1.4.1 that doesn't use jblas



--
 
---
You received this message because you are subscribed to the Google Groups "Incanter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to incanter+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)
Skype: alex.ott
Reply all
Reply to author
Forward
0 new messages