This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: error: config systemtap-060401 under fedora5 !
- From: William Cohen <wcohen at redhat dot com>
- To: Kevin Jia <jiaminghao at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Sun, 02 Apr 2006 12:00:24 -0400
- Subject: Re: error: config systemtap-060401 under fedora5 !
- References: <30c154100604020731xbcfc1edgd09337a4b30f368d@mail.gmail.com>
Kevin Jia wrote:
# ./configure --with-elfutils=/usr/local/bin
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... configure: error:
C compiler cannot create executables
why?
This sound suspiciously like a problem that I ran across with a NCSU
student when trying to setup systemtap on his machine last week. The
executables in /usr/local/bin (ld etc.) do not work with the default gcc
compiler. I would suggest removing those newly installed elfutils in
/usr/local/bin. And using the configure method that Eugene Teo mentioned:
Actually, all you have to do is to download the latest elfutils
snapshot, patch it with elfutils-portability patch, and then point
--with-elfutils to the elfutils-NNNN directory.
-Will