public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug releng/11917] New: "configure: error: missing elfutils development headers/libraries":  how to resolve?
@ 2010-08-17  1:05 htmldeveloper at gmail dot com
  2010-08-17  1:08 ` [Bug releng/11917] " fche at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: htmldeveloper at gmail dot com @ 2010-08-17  1:05 UTC (permalink / raw)
  To: systemtap

No matter how hard I tried:

./configure always gives:

checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking how to run the C++ preprocessor... g++ -E
checking for gtkmm... no
checking for libglade... no
checking boost/algorithm/string.hpp usability... yes
checking boost/algorithm/string.hpp presence... yes
checking for boost/algorithm/string.hpp... yes
checking boost/range.hpp usability... yes
checking boost/range.hpp presence... yes
checking for boost/range.hpp... yes
checking for rpmtsInitIterator in -lrpm... no
checking for dwfl_module_getsym in -ldw... no
configure: error: missing elfutils development headers/libraries (install 
elfutils-devel, libebl-dev, libdw-dev and/or libebl-devel)


I am the most updated version:

git describe
release-1.3-47-g8dc503b

And system is running Ubuntu 10.04 Lucid (64-bit AMD, 2.6.32-21-generic - 
default kernel), would appreciate very much if anyone can let me know the proper 
requirements for installation.

-- 
           Summary: "configure: error: missing elfutils development
                    headers/libraries":  how to resolve?
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P3
         Component: releng
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: htmldeveloper at gmail dot com
                CC: htmldeveloper at gmail dot com


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.

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

* [Bug releng/11917] "configure: error: missing elfutils development headers/libraries":  how to resolve?
  2010-08-17  1:05 [Bug releng/11917] New: "configure: error: missing elfutils development headers/libraries": how to resolve? htmldeveloper at gmail dot com
@ 2010-08-17  1:08 ` fche at redhat dot com
  2010-08-17  4:37 ` htmldeveloper at gmail dot com
  2010-08-17  4:40 ` htmldeveloper at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-08-17  1:08 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-08-17 01:08 -------
Have you tried ...

# apt-get build-dep systemtap

Or else use the "bundled elfutils" mode of installation from the README:
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 are the assignee for the bug, or are watching the assignee.

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

* [Bug releng/11917] "configure: error: missing elfutils development headers/libraries":  how to resolve?
  2010-08-17  1:05 [Bug releng/11917] New: "configure: error: missing elfutils development headers/libraries": how to resolve? htmldeveloper at gmail dot com
  2010-08-17  1:08 ` [Bug releng/11917] " fche at redhat dot com
@ 2010-08-17  4:37 ` htmldeveloper at gmail dot com
  2010-08-17  4:40 ` htmldeveloper at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: htmldeveloper at gmail dot com @ 2010-08-17  4:37 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2957 bytes --]


------- 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.

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

* [Bug releng/11917] "configure: error: missing elfutils development headers/libraries":  how to resolve?
  2010-08-17  1:05 [Bug releng/11917] New: "configure: error: missing elfutils development headers/libraries": how to resolve? htmldeveloper at gmail dot com
  2010-08-17  1:08 ` [Bug releng/11917] " fche at redhat dot com
  2010-08-17  4:37 ` htmldeveloper at gmail dot com
@ 2010-08-17  4:40 ` htmldeveloper at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: htmldeveloper at gmail dot com @ 2010-08-17  4:40 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From htmldeveloper at gmail dot com  2010-08-17 04:40 -------
This worked:

configure --with-elfutils=XXXXX

where XXXXX is the source directory of downloaded elfutil.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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.

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

end of thread, other threads:[~2010-08-17  4:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17  1:05 [Bug releng/11917] New: "configure: error: missing elfutils development headers/libraries": how to resolve? htmldeveloper at gmail dot com
2010-08-17  1:08 ` [Bug releng/11917] " fche at redhat dot com
2010-08-17  4:37 ` htmldeveloper at gmail dot com
2010-08-17  4:40 ` htmldeveloper at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).