princeriley
09-10-2008, 06:49 AM
configure: error: C compiler cannot create executables
I am running the prior release of the KNOPPIX CD and did the recommended apt-get -f command to resolve a few package issues as receommended by the apt-get command... now I am getting the above message from every source pkg complie. using ./configure. Previous source tarballs (tgz and tar.gz) complied fine...
1) Have I done something I can't undo?
2) If no, how do I undo whatever apt-get did ?
I didnt see an answer to this question in the FAQ.
Thanks
===== Trail of the error =========
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.3.1) but it is not going to be installed
locales: Depends: glibc-2.7-1
ymessenger: Depends: libgdk-pixbuf2 (>= 0.13.0) but it is not going to be installed
Depends: libssl0.9.6 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 libgdk-pixbuf2
Suggested packages:
glibc-doc libc6-i686
The following packages will be REMOVED:
ymessenger
The following NEW packages will be installed:
libgdk-pixbuf2
The following packages will be upgraded:
libc6
1 upgraded, 1 newly installed, 1 to remove and 1063 not upgraded.
4 not fully installed or removed.
Need to get 0B/4606kB of archives.
After unpacking 938kB disk space will be freed.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 108834 files and directories currently installed.)
Removing ymessenger ...
(Reading database ... 108824 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-8 (using .../archives/libc6_2.7-13_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Matching libraries: /UNIONFS/lib/libc.so.6
Another copy of the C library was found via /etc/ld.so.conf.
It is not safe to upgrade the C library in this situation;
please remove the directory from /etc/ld.so.conf and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.7-13_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.3.1) but it is not going to be installed
locales: Depends: glibc-2.7-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# ./configure
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 mawk... mawk
checking whether make sets $(MAKE)... yes
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.
=========================ATTEMPTS TO REPAIR =============
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install --fix-broken
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
glibc-doc libc6-i686
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 1063 not upgraded.
3 not fully installed or removed.
Need to get 0B/4437kB of archives.
After unpacking 594kB disk space will be freed.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 108824 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-8 (using .../archives/libc6_2.7-13_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Matching libraries: /UNIONFS/lib/libc.so.6
Another copy of the C library was found via /etc/ld.so.conf.
It is not safe to upgrade the C library in this situation;
please remove the directory from /etc/ld.so.conf and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.7-13_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I am running the prior release of the KNOPPIX CD and did the recommended apt-get -f command to resolve a few package issues as receommended by the apt-get command... now I am getting the above message from every source pkg complie. using ./configure. Previous source tarballs (tgz and tar.gz) complied fine...
1) Have I done something I can't undo?
2) If no, how do I undo whatever apt-get did ?
I didnt see an answer to this question in the FAQ.
Thanks
===== Trail of the error =========
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.3.1) but it is not going to be installed
locales: Depends: glibc-2.7-1
ymessenger: Depends: libgdk-pixbuf2 (>= 0.13.0) but it is not going to be installed
Depends: libssl0.9.6 but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 libgdk-pixbuf2
Suggested packages:
glibc-doc libc6-i686
The following packages will be REMOVED:
ymessenger
The following NEW packages will be installed:
libgdk-pixbuf2
The following packages will be upgraded:
libc6
1 upgraded, 1 newly installed, 1 to remove and 1063 not upgraded.
4 not fully installed or removed.
Need to get 0B/4606kB of archives.
After unpacking 938kB disk space will be freed.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 108834 files and directories currently installed.)
Removing ymessenger ...
(Reading database ... 108824 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-8 (using .../archives/libc6_2.7-13_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Matching libraries: /UNIONFS/lib/libc.so.6
Another copy of the C library was found via /etc/ld.so.conf.
It is not safe to upgrade the C library in this situation;
please remove the directory from /etc/ld.so.conf and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.7-13_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.3.1) but it is not going to be installed
locales: Depends: glibc-2.7-1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# ./configure
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 mawk... mawk
checking whether make sets $(MAKE)... yes
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.
=========================ATTEMPTS TO REPAIR =============
root@Knoppix:/media/sdd1/tpop3d/tpop3d-1.5.5# apt-get install --fix-broken
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6
Suggested packages:
glibc-doc libc6-i686
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 1063 not upgraded.
3 not fully installed or removed.
Need to get 0B/4437kB of archives.
After unpacking 594kB disk space will be freed.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 108824 files and directories currently installed.)
Preparing to replace libc6 2.3.6.ds1-8 (using .../archives/libc6_2.7-13_i386.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Matching libraries: /UNIONFS/lib/libc.so.6
Another copy of the C library was found via /etc/ld.so.conf.
It is not safe to upgrade the C library in this situation;
please remove the directory from /etc/ld.so.conf and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.7-13_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.7-13_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)