public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: Kevin Jia <jiaminghao@gmail.com>
Cc: systemtap@sourceware.org
Subject: Re: error: config systemtap-060401 under fedora5 !
Date: Sun, 02 Apr 2006 16:00:00 -0000	[thread overview]
Message-ID: <442FF518.9060503@redhat.com> (raw)
In-Reply-To: <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

      parent reply	other threads:[~2006-04-02 16:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-02 14:31 Kevin Jia
2006-04-02 14:50 ` Eugene Teo
2006-04-02 16:00 ` William Cohen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=442FF518.9060503@redhat.com \
    --to=wcohen@redhat.com \
    --cc=jiaminghao@gmail.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).