J
James E Keenan
I'm experiencing a problem installing Perl 5.8.7 on Debian Stable that
is similar to a previously reported -- but never fully solved --
problem.
In November 2003, reader King reported the following problem when he
tried to install Perl 5.8.2 on Debian:
[greatly snipped]
This error continued even after he followed suggestions by other reader
and made sure that gcc was installed. Nothing seemed to work until
finally some magic was tried:
# apt-get install kernel-package libc6-dev tk8.3 libncurses5-dev
fakeroot bin86
But it was not clear why this worked.
Tonight, I tried to install Perl 5.8.7 on Debian stable. (Tried to do
so because it only came with Perl 5.8.4 -- and a very skeletal version
at that.) I got similar errors.
### START Configure error message ###
[snip]
Checking how to test for symbolic links...
Your builtin 'test -h' may be broken.
Trying external '/usr/bin/test -h'.
You can test for symbolic links with '/usr/bin/test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS
vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
### END Configure error message ###
But I had installed 'gcc' just minutes before trying to run Configure:
apt-get install gcc
reported no problems. 'man gcc' DWIMs.
So: (1) Why am I being told I have no working C compiler?
(2) Can anyone suggest a workaround? (I'm reluctant to try King's magic
unless/until I know why it did the trick.)
Thank you very much.
jimk
is similar to a previously reported -- but never fully solved --
problem.
In November 2003, reader King reported the following problem when he
tried to install Perl 5.8.2 on Debian:
[greatly snipped]
# sh Configure -de
.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
#
This error continued even after he followed suggestions by other reader
and made sure that gcc was installed. Nothing seemed to work until
finally some magic was tried:
# apt-get install kernel-package libc6-dev tk8.3 libncurses5-dev
fakeroot bin86
But it was not clear why this worked.
Tonight, I tried to install Perl 5.8.7 on Debian stable. (Tried to do
so because it only came with Perl 5.8.4 -- and a very skeletal version
at that.) I got similar errors.
### START Configure error message ###
[snip]
Checking how to test for symbolic links...
Your builtin 'test -h' may be broken.
Trying external '/usr/bin/test -h'.
You can test for symbolic links with '/usr/bin/test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS
vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
### END Configure error message ###
But I had installed 'gcc' just minutes before trying to run Configure:
apt-get install gcc
reported no problems. 'man gcc' DWIMs.
So: (1) Why am I being told I have no working C compiler?
(2) Can anyone suggest a workaround? (I'm reluctant to try King's magic
unless/until I know why it did the trick.)
Thank you very much.
jimk