Peddy | persia, are you there? | 04:00 |
---|---|---|
persia | My apologies. I have poor diurnal habits. Had you also installed libpulse-dev ? | 04:03 |
Peddy | no problem :) | 04:03 |
Peddy | ok, I''ve install libpulse dev 0.9.13, thing is, I can't log in without failsafe GNOME (I get an error saying "couldn't exec /usr/bin/pulse-session; no such file or directory), but with failsafe gnome I can log in. My question is, can I debuild openjdk with the 0.9.13 dev libs installed, and then revert back to 0.9.10? | 04:05 |
Peddy | I've purged and reinstalled pulse etc. | 04:05 |
persia | You can, but openjdk will be linked against a different version of pulse than you have installed, which may cause runtime errors. | 04:06 |
persia | Depending on how the library packaging is set up, it may also cause issues with dependencies. | 04:07 |
Peddy | Hm. Do you know how I could fix the current PA install, then? | 04:07 |
persia | How do you mean "fix" and "current"? | 04:07 |
Peddy | Fix it so that I pulse works, and by current I mean the version I have installed, which is 0.9.13 from themuso | 04:08 |
Peddy | 's PPA. | 04:08 |
persia | OK. You'd have to track down why pulse is causing the GNOME session to crash, and fix that bug. | 04:09 |
Peddy | Well, I have an idea. | 04:09 |
persia | Then you're off to a good start :) | 04:10 |
Peddy | At the end of the first post (https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/294541) it says [pulse-access] is no longer needed, because pulseaudio is being started by a different mechanism. | 04:11 |
ubottu | Launchpad bug 294541 in pulseaudio "Can't start session after removing pulseaudio (/etc/X11/Xsession.d/70pulseaudio remains)" [Undecided,Fix released] | 04:11 |
Peddy | is 0.9.13 the version that's in Jaunty? | 04:11 |
persia | Try running `rmadison pulseaudio` | 04:11 |
Peddy | aha, Jaunty has 0.9.14. Are there significant changes in PA that would make it a bad idea to install the Jaunty version in Intrepid? | 04:14 |
persia | I think that the solution of that bug is related to also having a newer libcanberra. You can try ithe suggested solution, but I don't know how well it would work. | 04:14 |
persia | It's almost never a good idea to install a version compiled for one release on another release. The most common exceptional case is in the other direction (e.g. sometimes you can install things compiled for intrepid on jaunty). | 04:15 |
Peddy | Ok. | 04:16 |
persia | That said, you could try to see if the 0.9.14 version also compiles on intrepid (a backport), but I suspect it depends on the newer libcanberra, and you'd end up in fairly deep recursion. | 04:16 |
Peddy | well, openjdk is actually still debuilding (it's been going for a long time now), after it's done have a look at the backport. | 04:17 |
Peddy | if it doesn't work :/ | 04:17 |
persia | I'm tempted to think the answer to your original questions "Can Java use pulse for audio in intrepid" is "No", and that you'd be engaged in a long and arduous path to make it work if the current attempt fails. | 04:18 |
persia | You'd probably do better to either work on something else, or, if you can, consider testing jaunty: if it doesn't work there, you can file bugs, and your patches and solutions may be applied to be part of Ubuntu. | 04:19 |
Peddy | Well, themuso's 0.9.13 backport is supposed to work for Intrepid, and that's all the latest openjdk depends on, isn't it? | 04:19 |
Peddy | How stable are people saying the Jaunty alpha is? | 04:20 |
persia | Well, yes, but. | 04:20 |
persia | You could ask in #ubuntu+1, but generally speaking, every development release is fairly unstable: remember that things are changing all the time. | 04:21 |
* Peddy is still waiting for openjdk to debuild. | 04:24 | |
Peddy | persia, I assume you have Pulseaudio and Ubuntu, could I please have a look at your /usr/bin/pulse-session file? | 04:37 |
persia | http://pastebin.ubuntu.com/109657/ | 04:38 |
persia | I think there's a typo in it :) | 04:38 |
Peddy | hehe | 04:39 |
Peddy | We should file a bug. | 04:39 |
Peddy | bug report* | 04:39 |
Peddy | after it's done debuilding, what should I do? | 04:41 |
persia | You should end up with a .deb. You can install this, and see if it works. | 04:44 |
Peddy | I execute 'debuild' in the openjdk-6-6b12 directory, correct? It's been going for about 15 minutes now. | 04:46 |
persia | Right. | 04:48 |
persia | For more advanced usage, you'd execute `debuild -S` and then use something like pbuilder or sbuild to build it, but as long as you're only planning to use the result on your local system, just `debuild` is safe. | 04:49 |
Peddy | persia, is debuild meant to just build a deb, or run tests or something? because it started a process called 'java', and it's still running. | 05:08 |
persia | It does everything considered important to create a .deb. For things like the Java runtime environment, this involves running a number of tests to make sure it isn't broken beforehand (as otherwise it might be hard to get it built again) | 05:09 |
Peddy | aha, I thought so, because checkinstall makes a deb, and it only takes a few seconds :D | 05:14 |
persia | checkinstall doesn't make a very reliable deb. | 05:14 |
persia | But really, the normal process can also be fast, when it's not being so careful. | 05:18 |
persia | In this case, it's extra-careful, because a bug in Java is a bug in *lots* of packages. | 05:18 |
Peddy | when I download source code, can I use debuild instead of checkinstall (or make install, for that matter)? | 05:23 |
persia | Yes, but you'd have to prepare the debian/ directory. | 05:24 |
persia | !packaging | 05:24 |
ubottu | The packaging guide is at http://wiki.ubuntu.com/PackagingGuide - See https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages for information on getting a package integrated into Ubuntu - Other developer resources are at https://wiki.ubuntu.com/UbuntuDevelopment - See also !backports | 05:24 |
persia | The guide doesn't cover a lot of Java stuff, but it at least introduces many of the concepts. | 05:25 |
persia | If you do package something, and it's working, it's best to try to get it into the repositories, so nobody else has to package the same thing. | 05:25 |
persia | And, of course, if you get the source with apt-get source (for which you *don't* need sudo), it comes already packaged. | 05:26 |
Peddy | awesome, thanks. | 05:28 |
InHisName | Please install build and header for Kernel - 2.6.24-21-generic what apt-get do I do ? | 06:07 |
Peddy | InHisName, sudo apt-get install linux-headers-2.6.24-21-generic | 06:09 |
Peddy | persia, it's still running. Do these things usually take this long? | 06:10 |
persia | https://launchpad.net/ubuntu/+source/openjdk-6/6b12-0ubuntu6/+build/748817 should give a guideline for expectations. | 06:12 |
persia | I've had builds that finished in a few seconds, and ones that took 15 hours. | 06:12 |
Peddy | excellent, thanks. | 06:13 |
Peddy | persia, it just finished! :D | 08:22 |
Peddy | persia, it finished debuilding and installing, and I fixed the pulseaudio problem, but the java app playing through openjdk's javaws does not play sound through pulseaudio. Am I doing something wrong? | 08:37 |
Peddy | I'll be right back, rebooting for good measure. | 08:41 |
=== apc_ is now known as Peddyt | ||
Peddyt | persia, I'm now getting this from the Java programs: JavaSoundPlayer: mixer not found: Intel [plughw:0,0]. I'd really appreciate some help. | 09:22 |
persia | Peddyt, My apologies, but I'm not sure how to debug that. | 09:33 |
persia | That does look like an ALSA error though: are other applications working as expected with pulseaudio? | 09:56 |
tvgv_ | hello lucid | 12:52 |
=== LucidFox_ is now known as LucidFox | ||
FuriousGeorge | hey all | 17:54 |
FuriousGeorge | any way to get sun-java-1.6.10 on 8.0.4? | 17:54 |
c00ldIcE | Hello, I'm searching for a code example which parde checkip.dyndns.org or print my IP | 21:44 |
c00ldIcE | Can anyone help me? | 21:44 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!