getting systemtap installed from development repository

William Cohen wcohen@redhat.com
Fri Aug 12 13:36:00 GMT 2005


Kevin Stafford wrote:
> William Cohen wrote:
> 
>> Some people have had problems installing the systemtap rpm in FC4 due 
>> to the new and improved elfutils really being in the development 
>> branch of the repository rather than the FC4 branch of the repository.
>>
>> Below is the magic yum command to point yum at the appropriate place:
>>
>> # yum --enablerepo=development install systemtap

> [krstaffo@dyn src]$ ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ANSI C... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking for function prototypes... yes
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for string.h... (cached) yes
> checking for ranlib... ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether make sets $(MAKE)... (cached) yes
> checking for dwfl_begin in -ldw... no
> configure: error: systemtap requires elfutils 0.111+
> [krstaffo@dyn src]$

This should be discussed on the systemtap mailing list rather than 
private email. Looking through the config.log you sent it appears that 
configure couldn't find the libdw.

First, check which version of elfutils is installed and verify that it 
is a new one:

rpm -q elfutils

Second, look to see whether the /usr/lib/libdw-* are there.

ls -l /usr/lib/libdw-*

It might be a shared libraries problem. You might want to see if libdw 
is found with:

/sbin/ldconfig -p|grep libdw

Those are my suggestions for the time being.

-Will



More information about the Systemtap mailing list