Re: egcs problem - see files



I have egcs-1.1 installed with defaults, which puts it in /usr/local. If I go look for Object.h I get:

 >find /usr/local -name Object.h
/usr/local/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.60/include/objc/Object.h
 
Looks like you do not have egcs completely installed.  The egcs install procedure builds a link in /usr/local/bin to 'gcc' so you should not need to put that link into /usr/bin. You should put /usr/local/bin in your path, not /usr/local (which is what you have).

It will do you no good to mess with ld.so.conf since that just affects the linker, not source files. 

On Sat, 13 Mar 1999 00:15:23 +0000, James Green <gnome@cyberstorm.demon.co.uk> wrote:
>
> In message <004801be6ce0$f70f4600$e43113d0@vodon.jetlink.net>, Spud
> <spud@has.a.godcomplex.com> writes
>>    I had a similar problem. Try linking your egcs compiler to gcc. Its in
>>/usr/bin, i believe.
>>ln -sf egcs<name> gcc
>
> What is <name>? I did ls eg* in /usr/bin and it gave me egcs.
>
> Anyhow, I did ln -sf egcs gcc in /usr/bin and then ran ldconfig -v and
> rm'ed config.cache from gnome-obj directory for good measure, re-ran and
> I still get the error!
> ...

> PATH=$PATH:$HOME/bin:/usr/local:/usr/local/bin:/etc/ppp/scripts
                       ^^^^^^^^^^^ /usr/local/bin
l/lib/glib/include -I/usr/local/include  conftest.c  1>&5
> configure:5154: checking if Objective C compiler (egcs) works
>  
---------------------
Juan Rivero		email juanr@averroes.ivic.ve     Tel +582-504-1772
Centro de Quimica       WWW    http://averroes.ivic.ve/  Fax +582-504-1350 
Instituto Venezolano de Investigaciones Cientificas      Cel +5814-933 93 88
IVIC, AP 21827, Caracas 1020A, Venezuela





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]