LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-29-2007, 06:01 PM   #1
ELPDave
LQ Newbie
 
Registered: Feb 2007
Location: El Paso TX
Distribution: Linux FC 5
Posts: 22

Rep: Reputation: 15
GCC Compiler problem


Hello,
I’m trying to install Bind 9.4 on my Debian installation.

The Debian installation process installed gcc-4.1 and gcc-4.1 base
I found and installed other packages like binutils cpp-4.1 libssp0
Libgcc4.

But when I type ./configure I get the message

“configure error: C Compiler cannot create executables”

If anyone has some insight into this, I would appreciate it

Thanks

ELPDave
 
Old 05-29-2007, 11:06 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Normally that means binutils is not installed but since you say you have it get build-essential just to make sure nothing else was left out.
 
Old 05-31-2007, 07:16 PM   #3
ELPDave
LQ Newbie
 
Registered: Feb 2007
Location: El Paso TX
Distribution: Linux FC 5
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks - where would I find 'build-essential' ?

ELPDave
 
Old 05-31-2007, 07:28 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Code:
apt-get update && apt-get install build-essential
As root in a terminal. Or do a search in Synaptic.
 
Old 06-01-2007, 07:48 AM   #5
ELPDave
LQ Newbie
 
Registered: Feb 2007
Location: El Paso TX
Distribution: Linux FC 5
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks -- but wouldn't the command "apt-get update && apt-get install build-essential"
require that BIND be working ?

Since I'm currently not able to compile BIND, I'm thinking that wouldn't work.

Sorry, I'm new to Debian - what is Synaptic ?

Thanks

ELPDave
 
Old 06-01-2007, 08:15 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
BIND is for running your own DNS server.

To access the internet you simply need your PC to be able to do DNS queries.. usually this is accomplished by putting DNS entries from your ISP in /etc/resolv.conf (usually taken care of automatically if you have DHCP on your network.. )

Quote:
user@mail:~$ cat /etc/resolv.conf
search mydomain.com
nameserver 216.229.72.9
nameserver 216.229.73.9

Is there a specific reason you need BIND 9.4 rather than the version that is included with Debian ?

Code:
user@it-etch:~$ apt-cache policy bind9
bind9:
  Installed: (none)
  Candidate: 1:9.3.4-2
  Version table:
     1:9.3.4-2 0
        500 http://ftp.uwsg.indiana.edu etch/main Packages

Last edited by farslayer; 06-01-2007 at 08:18 AM.
 
Old 06-01-2007, 06:53 PM   #7
ELPDave
LQ Newbie
 
Registered: Feb 2007
Location: El Paso TX
Distribution: Linux FC 5
Posts: 22

Original Poster
Rep: Reputation: 15
I didn't like the BIND version that loaded with Debian.
I'm used to the BIND that loads with Red Hat and which correlated
with O'reilly's "DNS and BIND" and the Debian BIND didn't follow
the O-reilly book in some things.

I run a DNS server on FC3 and frankly, I'm used to things working without so
many complications. When I tried to use the BIND files I use with FC3
Debian BIND didn't like them. After I finally got BIND running, it didn't want to
resolv anything. Then, one of the members of this list suggested downloading
BIND9.4 and compiling and installing it. I thought this was a pretty good idea because
my FC3 uses BIND9.4 - but no, the gcc compiler says it can't create an executable so I've
been trying to find out why that's so.

To a certain extent, I don't mind experimenting and learning about a new flavor of Linux
But I have a practical reason for creating another server - I want a backup for the server
I use now. The FC3 server also has Sendmail on it. I just can't wait to see what I have to
go through to configure and install Sendmail as well as Berkeley DB.

Thanks

ELPDave
 
  


Reply



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
installing gcc 4.1 as secondary compiler problem TheBrick Linux - Software 2 08-15-2006 04:05 AM
gcc compiler problem greengrocer Linux - Newbie 5 07-06-2006 05:20 AM
How do I fix this assignment problem C++ compiler error in GCC? Erik_the_Red Programming 4 07-12-2005 09:36 AM
Gcc Compiler Problem mjkramer Linux - Software 6 10-24-2003 08:48 PM
gcc compiler install problem mla Linux - Software 4 10-11-2003 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:40 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
Open Source Consulting | Domain Registration