Click to See Complete Forum and Search --> : Mandrake C Compiler


Optik0d
06-02-2000, 12:48 PM
I just Installed Mandrake 7 a few weeks ago as the sole operating system on a
333 Pentium using the recommended install and whenever i try to load any package.tar.gz after using tar xzvf to expand it I cd'd into it, did ./configure and got these messages:

{
checking for a BSD compatible... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${make}... no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
}

I reinstalled all the Gcc`s from the Cd again using 'RPM -Uvh --nodeps gcc*.rpm'
and I did a 'locate gcc' afterwards and got:

/usr/bin/gcc

#gcc --version
2.95.2
#gcc --help
(I got the whole listing of help)


What is wrong? What am I missing?

--==Optik0d==--
anti_lamer@deathsdoor.com

furrycat
06-03-2000, 09:39 AM
Check the output of config.log, which is created on every run of configure. You should see the problem in there. It sounds like you've forgotten to install the right development packages: shared libraries and include files etc. The C compiler on its own isn't enough. Just install any -devel rpms and you should be OK.