Hi Paul,

Paul Kersting wrote:
> 
> Thanks for pointing me in the right direction.  I'm very much a newbie at this and I 
>appreciate the help.
> 
> I looked at the egcs 1.0.3a version, and after reading through the documentation, I 
>concluded that I need to upgrade my binuutils from 2.8.1.0.1-1 (came with RH50) to a 
>version 2.8.1.0.15 or later.  Is this correct?

i use the 1.0.2 version of egcs, with this version you need the last
binutils only for exception handling (i.e. to catch up division by zero,
overflow, underflow, etc...), so i don't need it: it's much better
to write code that will not ever think to do such things, but i understand
that is worthy sometime to have such a "debugging" utility.

> 
> I tried to upgrade to binutils-2.9.1-1 using the binutils-2.9.1-1.i386.rpm and
> 
> rpm -Uvh binutils-2.9.1-1.i386.rpm
> 
> and it failed with the following message:
> 
> failed dependencies:
>         libbfd.so.2.8.1.0.1 is needed by procps-1.2.4-1
> 
> but I find libbfd.so.2.8.1.0.1 in my /usr/lib directory.

it's correct: it's the procps-1.2.4-1 pkg that need 
libbfd.so.2.8.1.0.1, so rpm will not let you remove this.

i think you can solve this problem by upgrading also
procps and procps-x11 to the last updates and to find
a binutil pkg that will satisfy both procps and egcs.

> 
> I'm sorry if it appears that I need some hand holding here.  I'm very new at this 
>and I don't want to mess up my system if I can help it.  Do I really need to upgrade 
>binutils to load egcs, adn if so, what am I doing wrong?
> 

With the 1.0.2 version the answer is No: you can stay with your std binutils,
lacking the feature of exception handling, also when you d/l the egcs tarball
(.tar.gz) you don't load it: you have the complete source code tree
to compile all the egcs utilities. For the 1.0.3a i've not a direct experience,
in the docs it says that you will not be able to build egcs without
upgrading binutils? If so you've to upgrade.

Also, the query mode of rpm let you see what pkg you will break dependencies
if you upgrade binutils: e.g. on my system:

$ rpm -q --provides binutils
libopcodes.so.2.8.1.0.1
libbfd.so.2.8.1.0.1

then you will look for pkg that requires libopcodes.so.2.8.1.0.1
and/or libbfd.so.2.8.1.0.1 .

[fstrati@localhost fstrati]$ rpm -q --whatrequires libopcodes.so.2.8.1.0.1
binutils-2.8.1.0.1-1
[fstrati@localhost fstrati]$ rpm -q --whatrequires libbfd.so.2.8.1.0.1    
binutils-2.8.1.0.1-1
procps-1.2.7-1

so only procps need libbfd.so.2.8.1.0.1 on my system.
Then found a procps pkg that will agree on the version of binutils
you want to use.

Hope this helps

ciao fede


> TIA,
> Paul
> 
> Federico Strati wrote:
> 
> Hi Paul,
> 
> > Paul Kersting wrote:
> > >
> > > I am trying to install the egcs-1.0.2-8.i386.rpm on my RH5.0 system and get the 
>following error messages:
> > >
> > > >rpm -ivh /home/pjk/tmp/egcs/egcs-1.0.2-8.i386.rpm
> > > /lib/cpp conflicts with file from gcc-2.7.2.3-8
> > > /usr/bin/protoize conflicts with file from gcc-2.7.2.3-8
> > > /usr/bin/unprotoize conflicts with file from gcc-2.7.2.3-8
> > > /usr/info/cpp.info.gz conflicts with file from gcc-2.7.2.3-8
> > > /usr/man/man1/cccp.1 conflicts with file from gcc-2.7.2.3-8
> > > error: /home/pjk/tmp/egcs/egcs-1.0.2-8.i386.rpm cannot be installed
> > >
> > > I am relatively new at linux, and up till now have been working with the system 
>as set up with the initial RH installation.  I need egcs primarily for g77.  Any help 
>would be greatly appreciated.  I've searched the list archives on egcs, and haven't 
>seen an answer to this problem, but that could be ignorance on my part.
> >
> > the problem is that you have to substitute the standard
> > rh5.0 gcc with egcs, if you want to install egcs from the rpms.
> > (deinstall gcc, install egcs) BUT! take a moment, this has
> > some implications on your environment:
> > first there're a number of problems with c++ progs compiled
> > with gcc to work with egcs (libs compatibilities),
> > second - but i've not tested it myself - perhaps there'll be
> > problems in compiling the kernel sources.
> >
> > The egcs installation on rh 5.0 was discussed in this list
> > and i'll attach some messages explaining how to go with
> > differents alternatives (the choice is of course up to you)
> > but you need to be aware that rh 5.1 ship with egcs now,
> > if you want to use egcs for all the tasks: but if your concern
> > is only on g77, i think you'll be happy with one of the alternatives
> > below (as i am :-).
> >
> > HTH
> >
> > ciao fede
> >
> > attaching some previous postings:
> 
> < snip >
> 
> < snip >
> 
> -
> Paul J. Kersting
> KW Consulting, Inc. - Fuel Rod Expertise for the Nuclear Power Industry
> E-mail: [EMAIL PROTECTED]    WWW: www.kwconsulting.com
> (412) 635-7333 (voice)  (412) 367-2195 (fax)
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail [EMAIL PROTECTED] with
>                        "unsubscribe" as the Subject.

-- 

[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to