UbuntuIRC / 2008 /11 /14 /#ubuntu-java.txt
niansa
Initial commit
4aa5fce
[00:08] <mohbana> ok what's the root dir of the openjdk
[00:09] <mohbana> Set the environment variable ALT_BOOTDIR to the location of this JDK 6.
[00:11] <mohbana> persia: ?
[01:26] <persia> How did you generate that message?
[01:30] <mohbana> sorry?
[01:30] <mohbana> here is my log
[01:30] <mohbana> persia: http://pastebin.com/m1a956a23
[01:30] <mohbana> make fails
[01:30] <mohbana> i'm using the official repo
[01:31] <mohbana> seems to always fail on hotsport
[01:31] <mohbana> hotspot
[01:31] <mohbana> despite the sanity checks passing; http://pastebin.com/m789d2027
[01:32] <persia> Right. Don't use make. use `debuild -b`
[01:32] <mohbana> persia: why?
[01:32] <mohbana> if you don't mind me asking
[01:32] <mohbana> what's the diff
[01:33] <persia> Because that uses the instructions in debian/rules to build the package as described by the package maintainers.
[01:33] <mohbana> i'm not packing
[01:33] <mohbana> private use
[01:33] <persia> debian/rules includes all the stuff to make it work. Otherwise you're just hitting your head against the wall while repeating someone else's effort.
[01:33] <persia> Right. Still, use debuild -b. If you need to adjust something, do it in debian/rules.
[01:34] <persia> Otherwise, read through debian/rules, and do that stuff in that order, as otherwise it probably won't build properly.
[01:34] <mohbana> this is strange. now, i'm wondering why it's not even mentioned on the README
[01:35] <mohbana> 'Because that uses the instructions in debian/rules to build the package as described by the package maintainers.' -> you do understand i'm using the sun hg repo right?
[01:35] <mohbana> $ debuild -b
[01:35] <mohbana> debuild: fatal error at line 630:
[01:35] <mohbana> cannot find readable debian/changelog anywhere!
[01:35] <mohbana> Are you in the source code tree?
[01:36] <persia> Ah, if you're using the sun hg repo, then I'll recommend downloading the Ubuntu package, and reading debian/rules to see how it's built, and following that.
[01:45] <mohbana> here's the fix/guide; http://www.google.com/url?sa=t&source=web&ct=res&cd=11&url=http%3A%2F%2Fwww.jboss.org%2Fcommunity%2Fdocs%2FDOC-12912%3Bjsessionid%3DBB9036E8BDDA9D1CFF133CD12CB63888&ei=kdccSezaL4PUwwG41IWpBw&usg=AFQjCNEUK6JU54Shl3ysccbYepXTvIUaLw&sig2=2119blHMePHjR-HlI_QeBQ
[01:45] <mohbana> it's compiling now :)
[01:47] <mohbana> oh my god
[01:48] <mohbana> failed again
[01:49] <mohbana> <<<Finished Recursively making jvm all @ Fri Nov 14 01:47:42 GMT 2008.
[01:49] <mohbana> >>>Recursively making redist all @ Fri Nov 14 01:47:42 GMT 2008 ...
[01:49] <mohbana> make[4]: Entering directory `/home/mbana/openjdk/jdk7/jdk/make/java/redist'
[01:49] <mohbana> BinaryPlugs import started: Fri Nov 14 01:47:43 GMT 2008
[01:49] <mohbana> BINARY_PLUGS_PATH=/home/mbana/openjdk/jdk7/jdk-7-ea-plug-b39-linux-x64-06_nov_2008
[01:49] <mohbana> make[4]: *** No rule to make target `/home/mbana/openjdk/jdk7/jdk-7-ea-plug-b39-linux-x64-06_nov_2008/jre/lib/amd64/libjsoundhs.so', needed by `/home/mbana/openjdk/jdk7/build/linux-amd64/lib/amd64/libjsoundhs.so'. Stop.
[01:49] <mohbana> make[4]: Leaving directory `/home/mbana/openjdk/jdk7/jdk/make/java/redist'
[01:49] <mohbana> make[3]: *** [all] Error 1
[01:49] <mohbana> make[3]: Leaving directory `/home/mbana/openjdk/jdk7/jdk/make/java'
[01:49] <mohbana> make[2]: *** [all] Error 1
[01:49] <mohbana> make[2]: Leaving directory `/home/mbana/openjdk/jdk7/jdk/make'
[01:49] <mohbana> make[1]: *** [jdk-build] Error 2
[01:49] <mohbana> make[1]: Leaving directory `/home/mbana/openjdk/jdk7'
[01:49] <mohbana> make: *** [build_product_image] Error 2
[01:53] <persia> Did you follow the steps from the Ubuntu debian/rules?
[01:54] <mohbana> persia: no, i have no idea what that is. i just switched to uunbut from fedora
[01:55] <persia> mohbana, apt-get source openjdk will grab the Ubuntu source package.
[01:55] <persia> It will unpack it into a directory, and in that directory will be a debian/rules file.
[01:55] <persia> That file will describe the steps required to build openjdk on Ubuntu.
[01:56] <mohbana> if i must say, this so painfully long. on fedora it's so damn easy
[01:56] <persia> Sorry. apt-get source openjdk-6
[01:56] <mohbana> ok downloading
[01:56] <persia> apt-get build-dep openjdk-6 will install all the software you need to build it.
[02:13] <mohbana> persia: once again it fails
[02:14] <persia> mohbana, Following the instructions in debian/rules?
[02:14] <persia> Hrm. Something must have changed upstream. Why do you need trunk again?
[02:14] <mohbana> no i'm not following the rules
[02:14] <mohbana> why are they making things more complicated than they should be
[02:17] <mohbana> essentially same log as the above
[02:19] <persia> Well, I don't know what to tell you. debian/rules was constructed collaboratively to work around all the issues with the build. It contains complete instructions.
[02:20] <persia> You don't have to follow it, but it's the only source of instructions for building openjdk we have.
[02:22] <mohbana> persia: do i need the sun jdk
[02:24] <persia> I don't think so.
[02:24] <persia> I'd recommend just downloading and installing the prebuilt openjdk binaries. Much easier.
[02:25] <persia> `apt-get install openjdk-6-jdk` should get you most of what you need.
[06:46] <Peddy> does Java or OpenJDK support audio through Pulseaudio?
[06:49] <persia> Yes, but it requires pulseaudio 0.9.13, which is only in Jaunty, and Jaunty is very much unstable right now, and not recommended for use.
[06:51] <Peddy> Hi again, and thanks for the info, persia. Is 0.9.13 compilable on Intrepid? :)
[06:52] <persia> Haven't tried it myself. You could try a backport.
[06:52] <persia> !backports
[06:52] <ubottu> If new updated Ubuntu packages are built for an application, then they may go into Ubuntu Backports. See https://help.ubuntu.com/community/UbuntuBackports - See also !packaging
[06:53] <persia> That link provides lots of process docs and what not, but it ought also have a fairly simple procedure to generate a test package.
[06:53] <Peddy> Thanks, I'll do that.
[07:05] <Peddy> /me's dns died :/
[07:05] * Peddy hi
[07:05] <Peddy> oh k
[07:38] <Peddy> Hey everyone. How do I open a .jnlp file with the 'java' command from the commandline?
[07:41] <Peddy> oh wow, javaws.
[07:55] <Peddy> persia, when you said that the latest Pulse supports Java playback, did you mean out-of-box or do I need to install some packages? I found a backport that works OK.
=== doko_ is now known as doko
[17:04] <mohbana> has anyone managed to compile from the official repo?
[18:53] <Stef1> Hi, where can i find a java room?
[18:53] <Stef1> not a java packaging for ubuntu room
[18:55] <Stef1> I tried #java but it asks for a password. Where can i register?
=== ludovicc is now known as ludo
=== ludo is now known as ludovicc
[19:00] <Stef1> How can I join the #java channel plz?