amplab / SparkNet

Distributed Neural Networks for Spark
MIT License
604 stars 172 forks source link

Unable to install on macosx #139

Open javadba opened 8 years ago

javadba commented 8 years ago

The javacpp-presets is not installing cleanly on os/x. This is a prerequisite for using SparkNet on mac.

The page https://github.com/amplab/SparkNet/blob/master/doc/creating-jars.md is for ubuntu and centos only.

The following page is apparently the one to follow:

https://github.com/bytedeco/javacpp-presets/wiki/Build-Environments

However the command

bash cppbuild.sh install

ended up with a tar corruption error after an hour of compilation.

So if anyone successfully builds on os/x it would be appreciated to update the above documentation.

javadba commented 8 years ago

fyi I have narrowed down the javacpp-presets build issue to a corrupted version of libpng-1.6.17.tar.gz.

I downloaded the file manually from http://pkgs.fedoraproject.org/repo/pkgs/libpng/libpng-1.6.17.tar.gz and am now re-running

bash cppbuild.sh install

Let us see whether this allows further progress.

javadba commented 8 years ago

The installation is challenging. I need to troubleshoot missing files . e.g.

p>The requested URL /project/boost/boost/1.57.0/boost_1_57_0.tar.gz was not found on this server.

So then the solution is to find the file manually.

pcmoritz commented 8 years ago

Did it end up working for you? There is now a new release of JavaCPP, if we switch to that it should also fix your problem!

javadba commented 8 years ago

The earlier javacpp version used by SparkNet no longer can be built. So if SparkNet has migrated/upgraded that would be good news. I will pull latest from trunk and see what happens.