Michael Orlitzky <mjo <at> gentoo.org> writes:

> Yes, and you can replace "spark-1.1.0" by ${P} in the path as well. The
> link that Bryan posted has a list of all of the variables that are
> available. You can go pretty crazy with some of them, but in this case
> the only other thing I would replace is "spark" by ${PN}.


OK, that behind me now......

So the build fails, so I figure I'll just build it manually, then
finish the ebuild. So I went to:


/var/tmp/portage/sys-cluster/spark-1.1.0/work/spark-1.1.0
and no configure scripts....

The README.md has this:

Spark is built on Scala 2.10. To build Spark and its example programs, run:

    ./sbt/sbt assembly

I did and it looks like the manual compile worked:

[info] Packaging
/var/tmp/portage/sys-cluster/spark-1.1.0/work/spark-1.1.0/
examples/target/scala-2.10/spark-examples-1.1.0-hadoop1.0.4.jar
...
[info] Done packaging.
[success] Total time: 786 s, completed Sep 20, 2014 3:04:22 PM

So I need to add commands to the ebuild to launch
" ./sbt/sbt assembly"

I've been all over the man 5 ebuild and the devmanual. So naturally
I've seen what to do, but missed it.

Suggested reading (which section) or syntax is most welcome.

James





Reply via email to