Re: [gentoo-user] Re: openjdk-6-jdk

2014-08-26 Thread Jc García
2014-08-25 19:56 GMT-06:00 James wirel...@tampabay.rr.com:
 Jc García jyo.garcia at gmail.com writes:



 
 Just dropping and idea for your ebuild, you might have this planned
 but anyway, I would put something like 'virtual/jdk:1.6' in RDEPEND,
 so if things work as they should(but that's not realistic), any of the
 java implementations in the tree would provide jdk6 for your ebuild.

 I installed icedtea-bin for now.

 From the ebuild (which is a hack) I have :

 DEPEND=net-misc/curl
 dev-libs/cyrus-sasl
 python? ( dev-lang/python dev-python/boto )
 java? ( virtual/jdk )


I have seen many ebuilds, with RDEPEND=cat/pkg and
DEPEND=${RDEPEND}, I would use that. because jdk is both a runtime,
and a build time dependency  in this case.

 It seems would not compile until I installed the maven-bin
 package..Which is not a requisite in the ebuild
 but I saw that maben was a required code for building mesos on another
 distro

Put maven-bin in DEPEND then, with any other build time dependency,
also there's a java-mvn-src eclass in the tree, and two other maven
related eclasses in the java overlay. check those out if you haven't
already . I have never used maven, only ant and I'm still learning
about ebuilds, so I can't say anything else.

 Like I said, it's a hack, but I'll get it cleaned up; because nobody
 else seemed motivated to get mesos running on gentoo.

 Now it off to get spark[1] and the hadoop[2] happy on gentoo...

 happy, happy happy


 James

 [1] https://spark.apache.org/

 [2] http://hadoop.apache.org/








[gentoo-user] Re: openjdk-6-jdk

2014-08-25 Thread James
James wireless at tampabay.rr.com writes:


 For openjdk-6-jdk [1] I'm not sure what my options are as it (or a newer
 version?) is required by mesos-0.19-1. I did see these in portage:

 Some discussion and guidance would be keenly appreciated, as I'm not at all
 up on the current gentoo java issues.


Ok, so I found the gentoo java wiki [1].

So if I'm comprehending this correctly, icedtea is openjdk it just
uses 100% open source tools to build the jdk as opposed to the fact
that openjdk uses proprietary tools to build?

I'm still a bit confused on the options for jdk, (openjdk) any 
limitations, gotchas, thnings_to_avoid; so some recommendations
would be beneficial.

James


[1] http://wiki.gentoo.org/wiki/Java#Installing_a_JRE.2FJDKs






Re: [gentoo-user] Re: openjdk-6-jdk

2014-08-25 Thread Jc García
2014-08-25 12:44 GMT-06:00 James wirel...@tampabay.rr.com:
 James wireless at tampabay.rr.com writes:


 For openjdk-6-jdk [1] I'm not sure what my options are as it (or a newer
 version?) is required by mesos-0.19-1. I did see these in portage:

 Some discussion and guidance would be keenly appreciated, as I'm not at all
 up on the current gentoo java issues.


 Ok, so I found the gentoo java wiki [1].

 So if I'm comprehending this correctly, icedtea is openjdk it just
 uses 100% open source tools to build the jdk as opposed to the fact
 that openjdk uses proprietary tools to build?

 I'm still a bit confused on the options for jdk, (openjdk) any
 limitations, gotchas, thnings_to_avoid; so some recommendations
 would be beneficial.

 James


 [1] http://wiki.gentoo.org/wiki/Java#Installing_a_JRE.2FJDKs




Just dropping and idea for your ebuild, you might have this planned
but anyway, I would put something like 'virtual/jdk:1.6' in RDEPEND,
so if things work as they should(but that's not realistic), any of the
java implementations in the tree would provide jdk6 for your ebuild.



[gentoo-user] Re: openjdk-6-jdk

2014-08-25 Thread James
Jc García jyo.garcia at gmail.com writes:



 
 Just dropping and idea for your ebuild, you might have this planned
 but anyway, I would put something like 'virtual/jdk:1.6' in RDEPEND,
 so if things work as they should(but that's not realistic), any of the
 java implementations in the tree would provide jdk6 for your ebuild.

I installed icedtea-bin for now.

From the ebuild (which is a hack) I have :

DEPEND=net-misc/curl
dev-libs/cyrus-sasl
python? ( dev-lang/python dev-python/boto )
java? ( virtual/jdk )


It seems would not compile until I installed the maven-bin
package..Which is not a requisite in the ebuild
but I saw that maben was a required code for building mesos on another
distro

Like I said, it's a hack, but I'll get it cleaned up; because nobody
else seemed motivated to get mesos running on gentoo.

Now it off to get spark[1] and the hadoop[2] happy on gentoo...

happy, happy happy


James

[1] https://spark.apache.org/

[2] http://hadoop.apache.org/