LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2013, 03:42 AM   #1
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Rep: Reputation: Disabled
./configure is not working for Radsecproxy in the Ubuntu VM


Hi,

I am trying to install the Radius server on the UBuntu VM and its giving me this 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 you pls help
 
Old 01-21-2013, 04:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Welcome to LQ.

Quote:
configure: error: C compiler cannot create executables
sudo apt-get install g++ build-essential
 
1 members found this post helpful.
Old 01-21-2013, 05:07 AM   #3
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi Knudfl

When i execute that command it shows:
root@edutest:~/radsecproxy-1.6.2# apt-get install g++ build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
g++ : Depends: g++-4.7 (>= 4.7.2-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


I ran "apt-get update" first and still displays the above error
 
Old 01-21-2013, 11:45 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 3

sudo apt-get install -f
... to fix "broken".

Which Ubuntu version are you using ? ?
( Looks like you have a corrupt /etc/apt/sources.list ).

-
 
Old 01-22-2013, 01:42 AM   #5
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
./configure

Hi,

This is what I get when I execute:

root@edutest:/etc/default# sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@edutest:/etc/default# cat /proc/version
Linux version 2.6.32-5-686 (Debian 2.6.32-46) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 23 09:49:36 UTC 2012

Hope this will help.

Sakhi
 
Old 01-22-2013, 02:09 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
Linux version 2.6.32-5-686 : Looks like Ubuntu 10.04 Lucid.


Deciding "Ubuntu version" :
Please show the output from the command : cat /etc/issue


-
 
Old 01-22-2013, 02:16 AM   #7
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
./configure

Below is the output:

root@edutest:~# cat /etc/issue
Debian GNU/Linux 7.0 \n \l
 
Old 01-22-2013, 03:02 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 7

So which OS did you actually install ?
1) Post #1 says Ubuntu, your logo is Ubuntu.
2) "Debian GNU/Linux 7.0 \n \l" is Debian Wheezy ?
3) "2.6.32-5-686" : Debian 6.0 Squeeze ?

Please show your /etc/apt/sources.list
.. in code tags, please.

-
 
Old 01-22-2013, 03:19 AM   #9
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
I am a newbie and definitely not sure: what's happening:

It was Debian 6 Squeeze. Dont know whether it has upgraded to Wheezy due to the changes made on the /etc/apt/sources.list file, because i have been playing with this file trying to sort this problem out.

root@edutest:~# cat /etc/apt/sources.list
##########Debian Main Repos
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ wheezy-proposed-updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy-proposed-updates main contrib non-free

Sorry for not helping you to help me.
 
Old 01-23-2013, 03:44 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 9

Not easy to know how you updated from Squeeze to Wheezy.

But when you cannot install 'libc6-dev' ( Ref. post #3 ),
then something is really really wrong.

May be an OS reinstall will be necessary to solve the issues ?

-
 
Old 01-23-2013, 08:39 AM   #11
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
./configure

is there a way of degrading it to squeeze, other than doing fresh installtion again?
 
Old 01-23-2013, 08:49 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 11

Don't know. I never do "upgrades". Always a new OS install.

Suggest : Start a new thread with your question.
 
Old 01-23-2013, 09:05 AM   #13
shadebe
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Original Poster
Rep: Reputation: Disabled
./configure

Ok. I will do so.

Thanks for your willingly assistance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Configure Ubuntu To Update Through Proxy - Ubuntu 12.04/11.10 LXer Syndicated Linux News 0 06-11-2012 09:20 AM
./configure not working dscheide Linux - Software 10 07-12-2005 03:51 PM
./configure not working linux_n00by Linux - Newbie 7 08-03-2004 10:57 PM
./configure not working StarmanDeluxe Linux - Newbie 5 01-20-2003 04:15 AM


All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration