Click to See Complete Forum and Search --> : trouble installing new C compiler


erica057
07-18-2001, 04:45 PM
Hi,

I was trying to install MySQL, and I was getting an error message which included:

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

So, I went to download egcs 1.1.2 from gcc.gnu.org. However, when I got to the part of the install where I had to type "make bootstrap", I got the following error:

../.././egcs-1.1.2/libio/indstream.cc:[number]: 'struct streampos' used where a 'int' was expected

...repeated a few times, with [number] each time a different number, and then finally

../.././egc-1.1.2/libio/indstream.cc: In method 'struct streampos indirectbuf::seekpos(struct streampos, int = 3)':

...and then it repeated the first error a few times, and then

../.././egc-1.1.2/libio/indstream.cc:106: conversion to 'int' to non-scalar type 'streampos' requested

Does anyone know what is going on? Why do installs in Linux never seem to work for me...

kestrel001
07-16-2002, 11:50 PM
erica057, I'm having the same problem installing egcs right now. Did you ever find a resolution to this?

Mike