skidley wrote: > > On Mon, 31 Dec 2001, eric wrote: > > > Dear skidley: > > > > I actually have both somesource.patch.bz2 and somesouce.patch.bz2.orig > > I tried your suggestion > > > > [root@localhost SOURCES]# bzcat gcc-i386-address-cost.patch.bz2.orig > > gcc-i386-address-cost.patch.bz2 | patch -p0 > > can't find file to patch at input line 7 > > Perhaps you used the wrong -p or --strip option? > > The text leading up to this was: > > -------------------------- > > |2000-09-06 Graham Stott <[EMAIL PROTECTED]> > > | > > | * config/i386/i386.h (ADDRESS_COST): Fix typo. > > | > > |--- gcc/config/i386/i386.h.jj Mon Oct 23 22:51:33 2000 > > |+++ gcc/config/i386/i386.h Fri Oct 27 17:57:35 2000 > > -------------------------- > > File to patch: > > > > /*******************/ > > then what should I do, I tried many ways on that input demand, but keep > > not successful. > > Please help again. > > > > amother problem, > > I download a glibc-devel-2.2.4-18mdk and replace my original 2.2.2 , but > > may be not compatible with others, it ccause my g++ or gcc on c++ > > program can not compile well > > so I try to erace it by rpm -e glibc-devel-2.2.4-18mdk > > > > it already runing 30 minutes, not yet down. How should make it erace > > then reinstall 2.2.2 from my cd? > > > > sincere eric lin, [EMAIL PROTECTED] > > > The problem seems to be whatever you are trying to patch has a different > directory name than the patch is looking for. Also why 2 patches? Maybe patch > them separately. I would just rename the dir the patch is looking for to > the name it wants.
Dear skidley or any linux programmers: both gcc-i386-address-cost.patch.bz2 gcc-i386-address-cost.patch.bz2.orig are in my /usr/src/RPM/SOURCES directory please using command to explain how to get souce code out in addition to English. Or you could manually type in each file to patch as > it asks for them. Renaming the dir is much easier. There maybe another > way to do this using the patch command w/o renaming the dir although I am not > sure. As for the glibc-devel you can try rpm -Uvh --oldpackage to revert > back to older version. Also you will want the same version of glibc. I tried [root@localhost cdrom]# rpm -Uvh --oldpackage Mandrake/RPMS/glibc-devel-2.2.2-* 2.2.2 is my old package on cdrom, but this command still runing not down so same problem 2.2.4 not be erased or not be replaced. by the above command. do anyone have suggestion to solve them? Highly appreciate your tech help sincere eric, [EMAIL PROTECTED], http://www.ezinfocenter.com/4436786 > > -- > . --- .----. > |o_o | /_ 0 | > |:_/ | Give Micro$oft the Bird!!!! \_ | > // \ \ Use Linux!!!! / \ > (| | ) | ) | | | > /'\_ _/`\ | ) | | | > \___)=(___/ |_) (_) | > Chad Young \______/ > Registered Linux User #195191 (_______| > @ http://counter.li.org > ----------------------------------------------------------------------- > Linux localhost 2.5.2-pre5 #1 Mon Dec 31 01:36:55 AST 2001 i686 unknown > 4:55pm up 2:18, 4 users, load average: 0.10, 0.10, 0.09
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
