List:MySQL++« Previous MessageNext Message »
From:celliott Date:August 19 2004 5:02pm
Subject:Re: the patch file problems
View as plain text  
Hello Ruben!!!

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

Hope this helps.

Chad Elliott
celliott@stripped


> Hello!!!
>
> I have a problem, i have downloaded the patch files from the mysql.com web
> site. When i want patch the file i used (under red hat 9.0):
>
>> patch p1 < mysql__-gcc-3.0.patch
>
> mysql__-gcc-3.2.2.patch     mysql__-gcc-3.2.patch
> mysql__-gcc-3.2.2.patch.gz  mysql__-gcc-3.2.patch.gz
> [root@localhost mysql++]# patch -p1 < mysql__-gcc-3.2.2.patch
> can't find file to patch at input line 4
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -ur mysql++-1.7.9/sqlplusint/connection.cc
> mysql++-1.7.9.patched/sqlplusin
> t/connection.cc
> |--- mysql++-1.7.9/sqlplusint/connection.cc     2003-04-16
> 12:22:56.000000000 -0
> 400
> |+++ mysql++-1.7.9.patched/sqlplusint/connection.cc     2003-04-16
> 12:22:27.0000
> 00000 -0400
> --------------------------
> File to patch:
>
> but this patch ask me for a file to patch, what is this file???
>
> I also installed the rpm for red hat 9, and i try to compile the a simple
> example from the web page, but not compile. the errors are too much to
> write here.
>
> i compile with: gcc -I/usr/include/sqlplus/ prueba.cpp
>
> can anybody help me?
>
> thanks a lot.
>
>

Thread
the patch file problemsRubén Meré19 Aug
  • Re: the patch file problemscelliott19 Aug
  • Re: the patch file problemsWarren Young19 Aug
  • Re: the patch file problemsRubén Meré25 Aug
    • Re: the patch file problemsWarren Young25 Aug
  • Re: the patch file problemsRubén Meré30 Aug
    • Re: the patch file problemsWarren Young31 Aug
RE: the patch file problemsYigong Liu30 Aug
  • Re: the patch file problemsWarren Young31 Aug
RE: the patch file problemsRubén Meré1 Sep
  • Re: the patch file problemsWarren Young2 Sep
Re: the patch file problemsRubén Meré3 Sep
  • Re: the patch file problemsWarren Young7 Sep
Re: the patch file problemsWarren Young7 Sep
  • Re: the patch file problemsEarl Miles7 Sep
    • Re: the patch file problemsWarren Young7 Sep
      • Re: the patch file problemsEarl Miles8 Sep