This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug releng/11917] "configure: error: missing elfutils development headers/libraries": how to resolve?


------- Additional Comments From htmldeveloper at gmail dot com  2010-08-17 04:24 -------
Subject: Re:  "configure: error: missing elfutils
 development headers/libraries": how to resolve?

On Tue, Aug 17, 2010 at 9:08 AM, fche at redhat dot com
<sourceware-bugzilla@sourceware.org> wrote:
>
> ------- Additional Comments From fche at redhat dot com ?2010-08-17 01:08 -------
> Have you tried ...
>
> # apt-get build-dep systemtap

Thanks, but may not always worked with the latest development kernel.
 At least that was my experience last time :-).

>
> Or else use the "bundled elfutils" mode of installation from the README:

Ok thanks for this tip.   I started this option, and it worked.   I
did something extra:   configure and make install the downloaded
elfutils, and it created the "ld" and "ar" files into /usr/local/bin,
which results in errors during compilation of systemtap.   Now I have
deleted ld and other files, and did a "make distclean" inside elfutils
and compilation in systemtap went through successfullly.

Thank you Frank!!

> download elfutils sources, untar into some directory, then configure
> systemtap with --with-elfutils=THE_ELFUTILS_SOURCE_DIRECTORY/.
>
>
> --
> ? ? ? ? ? What ? ?|Removed ? ? ? ? ? ? ? ? ? ? |Added
> ----------------------------------------------------------------------------
> ? ? ? ? ? ? Status|NEW ? ? ? ? ? ? ? ? ? ? ? ? |WAITING
>
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=11917
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
> You are on the CC list for the bug, or are watching someone who is.
>




------- Additional Comments From htmldeveloper at gmail dot com  2010-08-17 04:24 -------
Created an attachment (id=4936)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4936&action=view)

------- Additional Comments From htmldeveloper at gmail dot com  2010-08-17 04:36 -------
(From update of attachment 4936)
As extracted from the config.log:

gcc: '-V' option must have argument
configure:2877: $? = 1
configure:2866: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:2877: $? = 1
configure:2897: checking whether the C compiler works
configure:2919: gcc    conftest.c  >&5
/usr/local/bin/ld: unknown option `-z relro'
/usr/local/bin/ld: cannot load ld backend library 'libld_elf_x86_64.so':
libld_elf_x86_64.so: cannot open shared object file: No such file or directory


The error was because I had "make install" the downloaded elfutils, which
subsequently installed "ld" and "ar" into /usr/local/bin, and these latter
binaries are not working properly.   But as systemtap just need the source of
elfutils, it is not need to "make install" for the elfutils.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11917

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]