Results 1 to 2 of 2
I have been trying to get php-apd working, but it requires a c/c++ compiler. I had previously installed gcc, but when I run the installer, it get the following problem:
...
- 02-21-2006 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 1
build-essential broken
I have been trying to get php-apd working, but it requires a c/c++ compiler. I had previously installed gcc, but when I run the installer, it get the following problem:
After doing some research, I came to understand I should just install build-essentials, but when I run "apt-get install build-essential", I get this error: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
It looks like my libc may be outdated, but I can't seem to get it to upgrade (I have run apt-get update followed by apt-get upgrade and it says I'm up-to-date).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
Thanks for any help!
- 02-22-2006 #2Just Joined!
- Join Date
- Jan 2006
- Location
- Illinois
- Posts
- 48
Well you may have (and probably did already try this), but it's fixed *most* of my broken package problems...
# apt-get -f install
If that doesn't help....
# apt-get install g++-3.3
All things considered, I've come back from a far longer list of broken deps... for me it's just been installing the dependencies in the right order. If you've already done this, sorry, but I guess any suggestion is better than none
.


Reply With Quote
