This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: getting systemtap installed from development repository
- From: Kevin Stafford <kevinrs at us dot ibm dot com>
- To: William Cohen <wcohen at redhat dot com>, systemtap at sources dot redhat dot com
- Date: Fri, 12 Aug 2005 16:17:19 -0700
- Subject: Re: getting systemtap installed from development repository
- References: <42FB7F51.3000306@redhat.com> <42FBFF6A.7080204@us.ibm.com> <42FCA5B2.6080601@redhat.com>
William Cohen wrote:
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.
[krstaffo@dyn etc]$ rpm -q elfutils
elfutils-0.112-1
[krstaffo@dyn etc]$ ls -l /usr/lib/libdw-*
-rwxr-xr-x 1 root root 111312 Aug 6 15:30 /usr/lib/libdw-0.112.so
[krstaffo@dyn etc]$ /sbin/ldconfig -p|grep libdw
libdw.so.1 (libc6) => /usr/lib/libdw.so.1
My system seems to have passed those tests. Yet I am still having
problems with the build.
--
Kevin Stafford
DES 2 | MS 2M3
Beaverton - OR
Linux Technology Center
IBM Systems & Technology
Phone: 1-503-578-3039
Email: kevinrs@us.ibm.com