Hi...
On 07-Jun-99 Jean-Marc Lasgouttes wrote:
>>>>>> "Thomas" == Thomas Pfuhl <[EMAIL PROTECTED]>
>>>>>> writes:
>
> Thomas> Hello I tried to install lyx and klyx on my redhat-6.0 system.
> Thomas> ./configure complains about the missing or failing C++
> Thomas> compiler. The redhat-6.0 distribution comes with /usr/bin/gcc
> Thomas> which accepts C and C++ input files. But this is not accepted
> Thomas> by ./configure As a workaround, I created the symbolic link
> Thomas> g++ to /usr/bin/gcc, but ./configure says that "g++ -c" does
> Thomas> not accept input files. Can you help me ? thanks in advance
> Thomas> Thomas
>
> Hello, are you sure that you actually installed the C++ backend for
> egcs? Under Redhat, it is usually separate from the C compiler
> (although the same command line invokes the two compilers).
Thomas, you may also have to install a bunch of libraries -- packages
that end in "-devel" -- in order to compile anything. I found, for my Redhat
5.1 system, they included just enough of a compiler to build a new kernel, but
none of the stdio.h, iostream.h, or other stuff. If you have RPMfind
installed, it can probably locate a C++ compiler; look for "egcs-c++". (It
works great for compiling the programs in my "Intro to C++ Programming" class,
but your results may vary. :) Egcs will install an actual g++ program (I tried
the symbolic link trick too, and it didn't work) which should get you going.
Libraries you will probably need could include (notice I am being vague
here... that's intentional, as I am not at all certain) libstdc++-devel (this
one is almost certainly required!), libg++-devel (I think... maybe used only if
you want to compile g++ itself), glibc-devel (?). It's still rather hard for
me to translate compiler errors into appropriate library packages. :(
I have not looked at the source RPM (haven't upgraded from 1.0.1 yet :)
but it would be nice if the builders of that put in dependency checks for the
necessary libraries... do they?
I hope I've helped... if not, there is more wisdom to be found here!
---
// Carl Hudkins ]=[ ICQ: 5723399 ]=[ PGP: 0x50238d9e
//
// "It is imperative to get rid of merit as the overriding
// principle in the employment of public servants." --ANC
// "?!?" --me
PGP signature