LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 02-21-2006, 08:05 AM   #1
Phyrtech
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
build-essential broken


I have spent the last several hours trying to install the apd extension for php on Unbuntu. I come here out of frustration, hoping that someone can help me figure this out. Since I am running php4, first I downloaded the latest release of apd for php4. I did this by running "pear download apd-0.9.1.tgz". Next I ran "pear install apd-0.9.1.tgz" and I get the following output:

Code:
18 source files, building
running: phpize
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010
building in /var/tmp/pear-build-root/apd-0.9.1
running: /tmp/tmpasGKuR/apd-0.9.1/configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
`/tmp/tmpasGKuR/apd-0.9.1/configure' failed
So, I did some research and found that I should run "apt-get install build-essential". When I do so, I get the following output:

Code:
Reading package lists...
Building dependency tree...
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
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
                   Depends: g++ (>= 3:3.3) but it is not going to be installed
What can I do to resolve this issue?

Thanks!
 
Old 02-21-2006, 10:47 AM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Can you post the file /etc/apt/sources.list? It sounds like you may have mixed repositories...
 
Old 02-21-2006, 01:56 PM   #3
Phyrtech
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Virtual Hug

Quote:
Originally Posted by pljvaldez
Can you post the file /etc/apt/sources.list? It sounds like you may have mixed repositories...
Wow... I have never in my life made such a stupid error. My sources file was set to the hoary repositories... not the breezy repositories... Thank you so much for suggesting that.
 
Old 02-21-2006, 03:07 PM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
And don't forget after you change to sudo apt-get update && sudo apt-get dist-upgrade to make sure everything on your system is breezy...
 
Old 02-21-2006, 06:02 PM   #5
Phyrtech
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I figured out what happened. I was using a tutorial on how to set up my server that was written for hoary. I copied over the sources.list file without even thinking about it. So, I in fact have breezy installed which means I get to re-install all the packages I installed since they weren't for breezy... that'll be fun. Thanks again for the help!
 
Old 02-21-2006, 10:42 PM   #6
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Ah. There is an updated guide for breezy. http://easylinux.info/wiki/Ubuntu
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
most essential apps bluefire Linux - Software 3 08-27-2004 09:54 PM
essential system commands? k4sh Slackware 9 11-24-2003 01:21 PM
Not essential, but...... jcksrobbins Linux - General 9 09-04-2003 08:20 AM
essential libraries I need Dr_Travis Linux - Software 2 08-11-2003 11:53 AM
Could someone recommend essential s/w? CyberDrake Linux - Software 1 01-02-2003 12:44 PM


All times are GMT -5. The time now is 03:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration