PDA

View Full Version : [ubuntu] ./configure error



shadebe
January 21st, 2013, 09:55 AM
Hi,

I am trying to install the radius server on the virtual machine. It gives me the below error:
root@edutest:~/radsecproxy-1.6.2# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/radsecproxy-1.6.2':
configure: error: C compiler cannot create executables
See `config.log' for more details

Can someone pls help

sanderj
January 21st, 2013, 12:07 PM
First things first: why don't you install from the Ubuntu packages repository? So:


sudo apt-get install radsecproxy



See http://packages.ubuntu.com/search?searchon=names&keywords=radsecproxy to search packages.

HTH

oldos2er
January 21st, 2013, 06:34 PM
configure: error: C compiler cannot create executables

You need build-essential
sudo apt-get update && sudo apt-get build-essential but the easiest way is to do what sanderj said.