Click to See Complete Forum and Search --> : error compiling software


Misel
10-03-2002, 04:11 PM
I'm trying to install a program and it doesn't work. It's camstream (http://www.smcc.demon.nl/camstream/index.html) but not only that. The same happens when I want to install .

when I run the configure script it tells me the following:

bash-2.05a# ./configure
loading cache ./config.cache
creating ./config.status
creating Makefile
configuring in lib/ccvt
running /bin/sh ./configure --cache-file=../.././config.cache --srcdir=.
loading cache ../.././config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
configure: error: ./configure failed for lib/ccvt

it's all clear what it means and I have also tried installing the gcc compiler from the CD:

bash-2.05a# install /mnt/cdrom/slackware/d/gcc-2.95.3-i386-2.tgz /usr/bin

but it still doesn't work.

any idea what I can do so that the configure script detects everything correctly?

thank you so much.
Misel

PS: yes, I'm a real newbie. So ANYTHING is possible. :S

PPS: umm yeah, I'm running Slackware 8.1

JP83
10-03-2002, 04:18 PM
I don't know but when i was trying that gcc 2.95.3 with my RH i get that same error but you can try this command maybe it helps.
CC=gcc ./configure

Misel
10-03-2002, 04:33 PM
whatever this command does .. it produces the same error:

checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

JP83
10-03-2002, 04:37 PM
I would say that you need to download new gcc packages 3.2 is fine (but that is large 20MB) that works and code is more optimized to newer processors.

Misel
10-03-2002, 04:47 PM
hmm, I think a K6-1 300MHz is a fairly old processor but I will see what I can do. The version on the Slackware CD is 2.95.3 BTW.

mdwatts
10-03-2002, 04:56 PM
I seem to remember others that have posted the same problem (C compiler cannot create executables) and the solution I believe was to install a required package.

A forum search should find those threads.