Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 22:11:03 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        David Banning <david@skytracker.ca>
Cc:        questions@freebsd.org
Subject:   Re: C compiler can't creat executables
Message-ID:  <20030523031103.GB60226@dan.emsphone.com>
In-Reply-To: <20030522212437.A35902@skytrackercanada.com>
References:  <20030522212437.A35902@skytrackercanada.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 22), David Banning said:
> I recently deleted a number of packages in /var/db/pkg I -thought- I didn't
> need. On installing linux_base now I get the following error;
> checking for working makeinfo... found
> checking for gcc... cc
> checking whether the C compiler (cc -O -pipe  ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
> ===>  Script "configure" failed unexpectedly.
>       Please report the problem to nakai@FreeBSD.org [maintainer] and attach
>       the "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" including the
>       output of the failure of your make command. Also, it might be a good
>       idea to provide an overview of all packages installed on your system
>       (e.g. an `ls /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/archivers/rpm.
> *** Error code 1
> 
> Stop in /usr/ports/emulators/linux_base.
> 
> I tried to compile a simple program which worked fine. How would 
> I go about tracking this problem down?

Take a look at "/usr/ports/archivers/rpm/work/rpm-3.0.6/config.log" and
see why cc is failing.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030523031103.GB60226>