Re: lttng-tools-2.14.0-rc1: Not possible to disable babeltrace2 dependency
Kienan Stewart via lttng-dev <[email protected]> Tue, 17 Jun 2025 14:28:45 -0400
| Newsgroups | org.lttng.lists.lttng-dev |
|---|---|
| Message-ID | <[email protected]> |
Hi Norbert, thanks for the reporting this issue! I've proposed a patch[1] to handle the case you've described. thanks, kienan [1]: https://review.lttng.org/c/lttng-tools/+/14829 On 6/17/25 10:18 AM, Norbert Lange wrote: > Am Di., 17. Juni 2025 um 16:13 Uhr schrieb Kienan Stewart via > lttng-dev <[email protected]>: >> >> Hi Norbert, >> >> could you describe more about the context of the system you were >> building on, and which version of babeltrace you had installed? >> >> thanks, >> kienan >> >> On 6/17/25 6:54 AM, Norbert Lange via lttng-dev wrote: >>> Hello, >>> >>> I had to add babeltrace2_CFLAGS="-DA" babeltrace2_LIBS="-lm" to the >>> configure line >>> to be able to build. >>> >>> There should be a --without-babeltrace2 switch and possible automatic detection. >>> >>> Regards, Norbert > > Its a crosstool-ng toolchain based on gcc 10.5. > There is NO babeltrace2 available, and that is what is not handled, I > have to define babeltrace2_CFLAGS and babeltrace2_LIBS to make it > through the checks. > > Regards, Norbert