D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Configure problem

 

On Sun, 23 Nov 2008 15:24:02 +0000
Neil Winchurst <barnaby@xxxxxxxxxx> wrote:

> Usually, using Kubuntu, I don't go through the configure, make, make 
> install r1gmarole. However yesterday I did try to install a program
> in that way.

$ sudo apt-get install build-essential
?
 
> In configure I got an error message ...
> 
> <snip>
> 
> 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

Usually a mis-configuration in the package or a missing g++ (if the
package uses C++).

> See `config.log' for more details.

And? what does config.log say?

> I did look at the log, but could not fathom out the problem.

Paste it somewhere.

> And,
> yes, GCC is installed.

g++ might not be.

> I could not understand the reference to 'main'
> either.

Check the ./configure script - what is happening is that ./configure is
writing a test program that contains 'main' and it then tries to
compile it - when it fails.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpQublrZAp6v.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html