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

build issue #136

Open
jimht011 opened this issue Jun 22, 2016 · 10 comments
Open

build issue #136

jimht011 opened this issue Jun 22, 2016 · 10 comments

Comments

@jimht011
Copy link

Does anybody have build issue? We download the source code and one maven dependency is not available. imageio is not available and only imageio-core is available. When try to resolve dependency one by one, stuck at org.bytedeco.javacpp-presets - caffe . Not sure exactly version used in this project.

I think this is a very basic thing to let other users leverage this contribution.

@pcmoritz
Copy link
Collaborator

Have you tried using SBT? That is the way we are building the project. The maven file was contributed by @javadba and if it is currently broken, we should update or remove it.

@javadba
Copy link
Contributor

javadba commented Jun 29, 2016

Hi - the versions have changed in SparkNet and i will provide an update to the pom.xml by the coming weekend 7/4/16

@pcmoritz
Copy link
Collaborator

Great, thanks a lot!

@javadba
Copy link
Contributor

javadba commented Jun 29, 2016

Hi I am on Mac. I can not build due to the classifier for Mac are not built / stored on the amplab maven repo.

[ERROR] Failed to execute goal on project sparknet: Could not resolve dependencies for project org.amplab:sparknet:jar:1.0: The following artifacts could not be resolved: org.bytedeco.javacpp-presets:caffe:jar:macosx-x86_64:master-1.2-SPARKNET, org.bytedeco.javacpp-presets:opencv:jar:macosx-x86_64:3.1.0-1.2-SPARKNET, org.bytedeco.javacpp-presets:tensorflow:jar:macosx-x86_64:master-1.2-SPARKNET: Could not find artifact org.bytedeco.javacpp-presets:caffe:jar:macosx-x86_64:master-1.2-SPARKNET in javacpp (http://www.eecs.berkeley.edu/~rkn/snapshot-2016-03-05/) -> [Help 1]

@javadba
Copy link
Contributor

javadba commented Jun 29, 2016

So I have the updated pom.xml but can not test it.

@javadba
Copy link
Contributor

javadba commented Jun 29, 2016

OK it appears that the requirement were to build javacpp for mac locally: shown here;

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

I will get back after attempting to use the locally built presets.

@javadba
Copy link
Contributor

javadba commented Jun 30, 2016

Wow. Building javacpp-presets is a big complicated deal. Is there any documentation you guys have about how to do it wrt SparkNet?

@robertnishihara
Copy link
Member

There are some instructions here https://github.com/amplab/SparkNet/blob/master/doc/creating-jars.md

@javadba
Copy link
Contributor

javadba commented Jun 30, 2016

Those instructions do not work for mac/osx. I have been following the instructions for mac/osx from the javacpp-presets site.

After about an hour of compilations there is a failure on "tar: Unrecognized archive format". This is not a Sparknet project issue but a javacpp-presets project issue. Overall this is just a big job to get javacpp-presets up and running on os/x.

I am going to create a separate issue specifically for os/x: the issues here are not for my pom.xml or even spark 2.X .

@javadba
Copy link
Contributor

javadba commented Jun 30, 2016

This issue should be marked as depending on #139

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

4 participants