* [lttng-dev] Unable to configure babeltrace, lttv
@ 2013-11-06 18:09 Paul Thomas
2013-11-06 18:36 ` Yannick Brosseau
2013-11-06 19:00 ` [lttng-dev] Building Babeltrace Paul Thomas
0 siblings, 2 replies; 6+ messages in thread
From: Paul Thomas @ 2013-11-06 18:09 UTC (permalink / raw)
Running ./bootstrap for babeltrace or lttv produces
a fatal message, namely,
configure.ac:48: warning: macro `AM_PATH_GTK_2_0' not found in library
I am running Debian:
Linux debian-rt 2.6.31.51 #1 SMP PREEMPT i686 GNU/Linux
Can you advise me about this problem, or what steps I should
take to find an answer to this problem?
Thanks,
Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* [lttng-dev] Unable to configure babeltrace, lttv
2013-11-06 18:09 [lttng-dev] Unable to configure babeltrace, lttv Paul Thomas
@ 2013-11-06 18:36 ` Yannick Brosseau
2013-11-06 19:00 ` [lttng-dev] Building Babeltrace Paul Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Yannick Brosseau @ 2013-11-06 18:36 UTC (permalink / raw)
Hi,
You need to have the libgtk2.0-dev package installed.
Yannick
On 11/06/13 13:09, Paul Thomas wrote:
> Running ./bootstrap for babeltrace or lttv produces
> a fatal message, namely,
>
> configure.ac:48: warning: macro `AM_PATH_GTK_2_0' not found in library
>
> I am running Debian:
> Linux debian-rt 2.6.31.51 #1 SMP PREEMPT i686 GNU/Linux
>
> Can you advise me about this problem, or what steps I should
> take to find an answer to this problem?
>
> Thanks,
>
> Paul
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* [lttng-dev] Building Babeltrace
2013-11-06 18:09 [lttng-dev] Unable to configure babeltrace, lttv Paul Thomas
2013-11-06 18:36 ` Yannick Brosseau
@ 2013-11-06 19:00 ` Paul Thomas
2013-11-06 19:57 ` Jérémie Galarneau
1 sibling, 1 reply; 6+ messages in thread
From: Paul Thomas @ 2013-11-06 19:00 UTC (permalink / raw)
Hello:
I get the following when building babeltrace from git:
make[4]: Entering directory `/rt_linux/babeltrace/formats/ctf/writer'
CC writer.lo
writer.c: In function 'bt_ctf_writer_create':
writer.c:118: error: 'O_DIRECTORY' undeclared (first use in this function)
writer.c:118: error: (Each undeclared identifier is reported only once
writer.c:118: error: for each function it appears in.)
writer.c: In function 'validate_identifier':
writer.c:564: warning: implicit declaration of function 'g_hash_table_contains'
writer.c: In function 'writer_init':
writer.c:741: warning: implicit declaration of function 'g_hash_table_add'
make[4]: *** [writer.lo] Error 1
make[4]: Leaving directory `/rt_linux/babeltrace/formats/ctf/writer'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/rt_linux/babeltrace/formats/ctf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/rt_linux/babeltrace/formats'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rt_linux/babeltrace'
make: *** [all] Error 2
I am running Debian: gcc/g++ 4.4.5-8
Linux debian-rt 2.6.31.51 #1 SMP PREEMPT i686 GNU/Linux
Should I be compiling from a tarball instead?
Thanks,
Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* [lttng-dev] Building Babeltrace
2013-11-06 19:00 ` [lttng-dev] Building Babeltrace Paul Thomas
@ 2013-11-06 19:57 ` Jérémie Galarneau
2013-11-06 20:17 ` Jérémie Galarneau
2013-11-06 20:22 ` Paul Thomas
0 siblings, 2 replies; 6+ messages in thread
From: Jérémie Galarneau @ 2013-11-06 19:57 UTC (permalink / raw)
On Wed, Nov 6, 2013 at 2:00 PM, Paul Thomas <paul.thomas at ise.bc.ca> wrote:
>
> Hello:
>
> I get the following when building babeltrace from git:
>
> make[4]: Entering directory `/rt_linux/babeltrace/formats/ctf/writer'
> CC writer.lo
> writer.c: In function 'bt_ctf_writer_create':
> writer.c:118: error: 'O_DIRECTORY' undeclared (first use in this function)
> writer.c:118: error: (Each undeclared identifier is reported only once
> writer.c:118: error: for each function it appears in.)
> writer.c: In function 'validate_identifier':
> writer.c:564: warning: implicit declaration of function 'g_hash_table_contains'
> writer.c: In function 'writer_init':
> writer.c:741: warning: implicit declaration of function 'g_hash_table_add'
> make[4]: *** [writer.lo] Error 1
> make[4]: Leaving directory `/rt_linux/babeltrace/formats/ctf/writer'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/rt_linux/babeltrace/formats/ctf'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/rt_linux/babeltrace/formats'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/rt_linux/babeltrace'
> make: *** [all] Error 2
>
> I am running Debian: gcc/g++ 4.4.5-8
> Linux debian-rt 2.6.31.51 #1 SMP PREEMPT i686 GNU/Linux
>
> Should I be compiling from a tarball instead?
>
Thanks for reporting. This commit should fix the error.
commit 1b8180b91647e07b243c472e1f0c6ae198f82585
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date: Wed Nov 6 14:52:59 2013 -0500
ctf writer BSD compatibily: remove O_DIRECTORY
Not strictly needed, especially since we are creating the directory
ourself.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Let me know if you still can't build babeltrace with the latest master.
J?r?mie
>
> Thanks,
>
> Paul
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 6+ messages in thread* [lttng-dev] Building Babeltrace
2013-11-06 19:57 ` Jérémie Galarneau
@ 2013-11-06 20:17 ` Jérémie Galarneau
2013-11-06 20:22 ` Paul Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Jérémie Galarneau @ 2013-11-06 20:17 UTC (permalink / raw)
Just as a heads-up, you may want to use the latest tarball release
since it appears that I have used glib functions that were not
available in glib 2.22. I'm currently working on a patch to address
this problem.
Cheers,
J?r?mie
On Wed, Nov 6, 2013 at 2:57 PM, J?r?mie Galarneau
<jeremie.galarneau at efficios.com> wrote:
> On Wed, Nov 6, 2013 at 2:00 PM, Paul Thomas <paul.thomas at ise.bc.ca> wrote:
>>
>> Hello:
>>
>> I get the following when building babeltrace from git:
>>
>> make[4]: Entering directory `/rt_linux/babeltrace/formats/ctf/writer'
>> CC writer.lo
>> writer.c: In function 'bt_ctf_writer_create':
>> writer.c:118: error: 'O_DIRECTORY' undeclared (first use in this function)
>> writer.c:118: error: (Each undeclared identifier is reported only once
>> writer.c:118: error: for each function it appears in.)
>> writer.c: In function 'validate_identifier':
>> writer.c:564: warning: implicit declaration of function 'g_hash_table_contains'
>> writer.c: In function 'writer_init':
>> writer.c:741: warning: implicit declaration of function 'g_hash_table_add'
>> make[4]: *** [writer.lo] Error 1
>> make[4]: Leaving directory `/rt_linux/babeltrace/formats/ctf/writer'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/rt_linux/babeltrace/formats/ctf'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/rt_linux/babeltrace/formats'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/rt_linux/babeltrace'
>> make: *** [all] Error 2
>>
>> I am running Debian: gcc/g++ 4.4.5-8
>> Linux debian-rt 2.6.31.51 #1 SMP PREEMPT i686 GNU/Linux
>>
>> Should I be compiling from a tarball instead?
>>
>
> Thanks for reporting. This commit should fix the error.
>
> commit 1b8180b91647e07b243c472e1f0c6ae198f82585
> Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> Date: Wed Nov 6 14:52:59 2013 -0500
>
> ctf writer BSD compatibily: remove O_DIRECTORY
>
> Not strictly needed, especially since we are creating the directory
> ourself.
>
> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
>
>
> Let me know if you still can't build babeltrace with the latest master.
>
> J?r?mie
>
>>
>> Thanks,
>>
>> Paul
>>
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
>
>
> --
> J?r?mie Galarneau
> EfficiOS Inc.
> http://www.efficios.com
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [lttng-dev] Building Babeltrace
2013-11-06 19:57 ` Jérémie Galarneau
2013-11-06 20:17 ` Jérémie Galarneau
@ 2013-11-06 20:22 ` Paul Thomas
1 sibling, 0 replies; 6+ messages in thread
From: Paul Thomas @ 2013-11-06 20:22 UTC (permalink / raw)
> -----Original Message-----
> From: jeremie.galarneau@gmail.com
> [mailto:jeremie.galarneau at gmail.com] On Behalf Of J?r?mie Galarneau
> Sent: Wednesday, November 06, 2013 11:58 AM
> To: Paul Thomas
> Cc: lttng-dev at lists.lttng.org
> Subject: Re: [lttng-dev] Building Babeltrace
>
~~snip~~
>
> Let me know if you still can't build babeltrace with the
> latest master.
>
> J?r?mie
>
> >
> > Thanks,
> >
> > Paul
> >
> >
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
>
>
> --
> J?r?mie Galarneau
> EfficiOS Inc.
> http://www.efficios.com
>
Hi,
Encountered this link error:
Making all in converter
make[2]: Entering directory `/rt_linux/babeltrace/converter'
CC babeltrace.o
CCLD babeltrace
../formats/ctf/.libs/libbabeltrace-ctf.so: undefined reference to `g_hash_table_add'
../formats/ctf/.libs/libbabeltrace-ctf.so: undefined reference to `g_ptr_array_new_full'
../formats/ctf/.libs/libbabeltrace-ctf.so: undefined reference to `g_hash_table_contains'
collect2: ld returned 1 exit status
make[2]: *** [babeltrace] Error 1
make[2]: Leaving directory `/rt_linux/babeltrace/converter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rt_linux/babeltrace'
make: *** [all] Error 2
Good advice, then I will switch to compiling from tarball,
maybe try rebuilding from git master sometime later.
Thanks,
Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-06 20:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-06 18:09 [lttng-dev] Unable to configure babeltrace, lttv Paul Thomas
2013-11-06 18:36 ` Yannick Brosseau
2013-11-06 19:00 ` [lttng-dev] Building Babeltrace Paul Thomas
2013-11-06 19:57 ` Jérémie Galarneau
2013-11-06 20:17 ` Jérémie Galarneau
2013-11-06 20:22 ` Paul Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox