mikeizbicki / HLearn

Homomorphic machine learning
Other
1.62k stars 138 forks source link

SubHask build error during install script #90

Open haskie-lambda opened 6 years ago

haskie-lambda commented 6 years ago

I just cloned the project and tried to install it: SubHask failed to build. I came across an error during the automated install via the script ubuntu-precise.sh on

Ubuntu 16.04
cabal-install version 1.22.6.0
using version 1.22.5.0 of the Cabal library

I then did checkout master in the SubHask folder and traced it down to some compiling errors when compiling SubHask.Algebra.Array; I resolved the issue by adding "SubHask.Algebra." in front of all Occurrences of "fromList" inf the File SubHask/Algebra/Array.hs

With these changes installation of SubHask succeeded.

(I am not very familiar with how to contribute to an open source project, that's why I explained it this way.) Hope this helps anybody.

haskie-lambda commented 6 years ago

Also the last line of the same installation script should be changed to use a generic username instead of "/home/travis/.cabal/..." :)

mikeizbicki commented 6 years ago

Thanks for reporting this. The install script was specifically for continuous integration with travis-ci, hence the hardcoded paths. Unfortunately, I'm not really maintaining this package right now, so I don't have time to try to fix these problems.