From: Rubén Meré Date: August 24 2004 11:48am Subject: Re: the patch file problems List-Archive: http://lists.mysql.com/plusplus/3414 Message-Id: <000001c48a2e$14ab8410$0302a8c0@MERE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Warren Young wrote: >That's obsolete. Please download the latest release of MySQL++ from here: > > http://tangentsoft.net/mysql++/ > > It includes patches for GCC 3.x up through 3.3, and possibly now also > for 3.4 (as of 1.7.12). i have downloaded the files where you tell. i downloaded from http://tangentsoft.net/mysql++/ mysql++-1.7.13-1.rh9.i386.rpm and omnibus-gcc-3.3.patch.gz. i used the red hat 9, and i type: rpm -i mysql++-1.7.13-1.rh9.i386.rpm without errors. and i type zcat omnibus-gcc-3.3.patch.gz |patch -p0 the results: can't find file to patch at input line 11 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |? mysql++ |? omnibus-gcc-3.3.patch |Index: configure.in |=================================================================== |RCS file: /usr/local/cvs/mysql++/configure.in,v |retrieving revision 1.1.1.1 |retrieving revision 1.2 |diff -u -r1.1.1.1 -r1.2 |--- configure.in 7 Aug 2004 03:47:00 -0000 1.1.1.1 |+++ configure.in 7 Aug 2004 03:55:17 -0000 1.2 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 28 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: examples/Makefile.in |=================================================================== |RCS file: /usr/local/cvs/mysql++/examples/Makefile.in,v |retrieving revision 1.1.1.1 |retrieving revision 1.2 |diff -u -r1.1.1.1 -r1.2 |--- examples/Makefile.in 7 Aug 2004 03:47:00 -0000 1.1.1.1 |+++ examples/Makefile.in 7 Aug 2004 03:55:17 -0000 1.2 -------------------------- File to patch: Skip this patch? [y] Skipping patch. Chad Elliot wrote: > I think you need to do a couple of things here. > > First, the patch should be one directory BELOW your mysql++ directory > > Second, Do NOT rename your mysql++ directory after un-tarring the source > or the patch file will not find it. > > third, cd into the mysql++-1.7.9 directory and do exactly this: > > [root@surveys mysql++-1.7.9]# patch -p 1 < ../mysql++-gcc-3.0.patch but i can´t find where is my mysql++-1.7.9 directory. i launch the find command to search: > find / -name mysql++* /root/mysql++manual.tar.gz /root/manual/mysql++manual.tar.gz /root/manual/mysql++manual /usr/share/doc/mysql++-1.7.9 /usr/share/doc/mysql++-1.7.13 /usr/include/sqlplus/mysql++ /usr/include/mysql++ /usr/include/mysql++/mysql++.hh /usr/src/redhat/SOURCES/mysql++-gcc-3.0.patch.gz /usr/src/redhat/SOURCES/mysql++-1.7.9.tar.gz /usr/src/redhat/SOURCES/mysql++-gcc-3.2.2.patch.gz /usr/src/redhat/SOURCES/mysql++-gcc-3.2.patch.gz /usr/src/redhat/SOURCES/mysql++-prefix.patch.gz /usr/src/redhat/SOURCES/mysql++-versionfix.patch.gz /usr/src/redhat/SPECS/mysql++.spec /usr/src/mysql++ /usr/src/mysql++/mysql++-1.7.13-1.rh9.i386.rpm /prueba/mysql++ /afs/cern.ch/sw/lcg/external/mysql++ /afs/cern.ch/sw/lcg/external/mysql++/1.7.9_mysql.4.0.13/mysql++-gcc-3.0.patc h /afs/cern.ch/sw/lcg/external/mysql++/1.7.9_mysql.4.0.13/mysql++-gcc-3.2.patc h /afs/cern.ch/sw/lcg/external/mysql++/1.7.9_mysql.4.0.13/mysql++-gcc-3.2.2.pa tch the /usr/share/doc/mysql++-1.7.9 directory has too many information files. the /usr/share/doc/mysql++-1.7.13 directory has too many information files. the /usr/include/sqlplus/mysql++ directory has too many header files. the /usr/include/mysql++ directory has too many header files. the rest are files downloaded. i don´t know because i don´t find this directory. What´s your opinion?? thanks you for your help. ----- Original Message ----- From: "Warren Young" To: "MySQL++ Mailing List" Sent: Thursday, August 19, 2004 9:25 PM Subject: Re: the patch file problems > Rubén Meré wrote: > > > I have a problem, i have downloaded the patch files from the mysql.com web site. > > That's obsolete. Please download the latest release of MySQL++ from here: > > http://tangentsoft.net/mysql++/ > > It includes patches for GCC 3.x up through 3.3, and possibly now also > for 3.4 (as of 1.7.12). > > -- > MySQL++ Mailing List > For list archives: http://lists.mysql.com/plusplus > To unsubscribe: http://lists.mysql.com/plusplus?unsub=bonesmere@stripped > >