Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] Packages in the Ubuntu LTTng PPA
@ 2010-09-07 21:09 Alexandre Montplaisir
  2010-09-08  4:15 ` Alexandre Montplaisir
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Montplaisir @ 2010-09-07 21:09 UTC (permalink / raw)


  (posted with the wrong account, ignore the duplicate message)

Hi everyone,

I'm happy to announce the release of Ubuntu packages for the different 
LTTng projects, available in the team's PPA at:

https://launchpad.net/~lttng/+archive/ppa

Included are packages for lttv, ust (called ust-bin), ltt-control 
(called ltt-bin) and liburcu, for both Lucid and Maverick. Now that 
everything is set up, it should be fairly simple to track the future 
releases and make them available in the PPA. Big thanks to Jon Bernard 
for some of the original Debian packages, which were quite simple to update.


Known caveats:
- No man page yet for LTTV
- No kernel package yet. However, the recent (re)modularization of LTTng 
should make it quite simpler to build the Ubuntu kernel with the LTTng 
patches. A package for a patched Maverick kernel (2.6.35) is next on the 
list, as time allows.


A note for TMF users:
Those who wish to install the TMF Eclipse framework can now simply add 
the PPA and install the "liblttvtraceread" package. Since the libraries 
will be installed in /usr/lib, the LD_LIBRARY_PATH tango isn't needed 
anymore.


Testing and feedback is very welcome!

Alexandre




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ltt-dev] Packages in the Ubuntu LTTng PPA
  2010-09-07 21:09 [ltt-dev] Packages in the Ubuntu LTTng PPA Alexandre Montplaisir
@ 2010-09-08  4:15 ` Alexandre Montplaisir
  2010-09-10 19:40   ` Matthew Khouzam
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Montplaisir @ 2010-09-08  4:15 UTC (permalink / raw)



>
> A note for TMF users:
> Those who wish to install the TMF Eclipse framework can now simply add 
> the PPA and install the "liblttvtraceread" package. Since the 
> libraries will be installed in /usr/lib, the LD_LIBRARY_PATH tango 
> isn't needed anymore.
>
>
Yikes, I lied about that. TMF also requires the liblttvtraceread_loader 
to provide the JNI interface, which requires building against 
sun-java6-jdk. Afaik, it's impossible to link against Sun's Java in 
Launchpad, only OpenJDK (or GCJ).

I'm afraid we can't provide the JNI loader in the PPA then, unless we 
want to port/support the loader with OpenJDK.

Alexandre




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ltt-dev] Packages in the Ubuntu LTTng PPA
  2010-09-08  4:15 ` Alexandre Montplaisir
@ 2010-09-10 19:40   ` Matthew Khouzam
  2010-09-10 20:09     ` Alexandre Montplaisir
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Khouzam @ 2010-09-10 19:40 UTC (permalink / raw)


I have never used sun's java on TMF, I understand it is what we support 
officially, but since OpenJDK and sun are 95% similar (same code) I 
doubt this is an issue. I would personnaly worry about it if you 
encounter a bug.

PS. Having ltt in a PPA is awesome.

On 10-09-08 12:15 AM, Alexandre Montplaisir wrote:
> Yikes, I lied about that. TMF also requires the liblttvtraceread_loader
> to provide the JNI interface, which requires building against
> sun-java6-jdk. Afaik, it's impossible to link against Sun's Java in
> Launchpad, only OpenJDK (or GCJ).
>
> I'm afraid we can't provide the JNI loader in the PPA then, unless we
> want to port/support the loader with OpenJDK.
>
>    



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ltt-dev] Packages in the Ubuntu LTTng PPA
  2010-09-10 19:40   ` Matthew Khouzam
@ 2010-09-10 20:09     ` Alexandre Montplaisir
  2010-09-10 23:31       ` Alexandre Montplaisir
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Montplaisir @ 2010-09-10 20:09 UTC (permalink / raw)


  I personally had problems with Eclipse running on OpenJDK, but as far 
as jni.h goes, it seems to build just fine with it, or even with gcj-jdk.

More than that, while doing tests earlier this week I noticed 
compilation warnings along the lines of "JDK rejected by preprocessor 
but accepted by compiler, going with compiler's decision.", which I 
don't remember having seen before. Not very reassuring.
However, those happened when linking against BOTH sun-java6 or openjdk-6 
but NOT with gcj-jdk. So my guess is that I have been building the JNI 
interface with gcj-jdk all along.

So the liblttvtraceread-jni package in the PPA right now builds with 
gcj-jdk, and I haven't noticed any problems so far. Yes, 
liblttvtraceread-jni, it's there, although I don't recommend using it 
right now, it still has the marker_field bug in it. Wait for version 
~lttng6 or for a new upstream version.

Cheers,
Alexandre


On 10-09-10 03:40 PM, Matthew Khouzam wrote:
> I have never used sun's java on TMF, I understand it is what we 
> support officially, but since OpenJDK and sun are 95% similar (same 
> code) I doubt this is an issue. I would personnaly worry about it if 
> you encounter a bug.
>
> PS. Having ltt in a PPA is awesome.
>
> On 10-09-08 12:15 AM, Alexandre Montplaisir wrote:
>> Yikes, I lied about that. TMF also requires the liblttvtraceread_loader
>> to provide the JNI interface, which requires building against
>> sun-java6-jdk. Afaik, it's impossible to link against Sun's Java in
>> Launchpad, only OpenJDK (or GCJ).
>>
>> I'm afraid we can't provide the JNI loader in the PPA then, unless we
>> want to port/support the loader with OpenJDK.
>>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ltt-dev] Packages in the Ubuntu LTTng PPA
  2010-09-10 20:09     ` Alexandre Montplaisir
@ 2010-09-10 23:31       ` Alexandre Montplaisir
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Montplaisir @ 2010-09-10 23:31 UTC (permalink / raw)



> So the liblttvtraceread-jni package in the PPA right now builds with 
> gcj-jdk, and I haven't noticed any problems so far. Yes, 
> liblttvtraceread-jni, it's there, although I don't recommend using it 
> right now, it still has the marker_field bug in it. Wait for version 
> ~lttng6...
>
...which is being published right now.

(let's try this again)

TMF users can now install "liblttvtraceread-jni" from the PPA. Adding 
stuff to LD_LIBRARY_PATH (either in launch scripts or in Eclipse's debug 
configurations) isn't required with this method.

Enjoy!

Alexandre




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-10 23:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 21:09 [ltt-dev] Packages in the Ubuntu LTTng PPA Alexandre Montplaisir
2010-09-08  4:15 ` Alexandre Montplaisir
2010-09-10 19:40   ` Matthew Khouzam
2010-09-10 20:09     ` Alexandre Montplaisir
2010-09-10 23:31       ` Alexandre Montplaisir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox