List:MySQL++« Previous MessageNext Message »
From:Kevin Jaques Date:August 13 2004 1:53pm
Subject:Re: Help a Novice With Installation
View as plain text  
On Aug 12, 2004, at 2:28 PM, Warren Young wrote:

> Kevin Jaques wrote:
>>     $ patch -p0 /wherever/it/is/patch_gcc_3.3
>
> Sorry, that should be
>
> $ patch -p0 < /wherever/it/is/patch_gcc_3.3
>
> The patch program was sitting there waiting for input.  The < 
> redirects the patch file into the patch program's input stream.

Ah, that makes sense. If it had just asked... Actually, I still 
couldn't have helped it. I don't know what we are trying to patch.

And that led to my new problem. I tried the API directory, and even the 
sub-directory with all the headers and such (sqlplusint), but it still 
didn't know what file it needed and I didn't either. It occurred to me 
to use the mySQL directory, but I didn't want to mess with that. Still, 
it was exciting to get a response. Here is the transcript.

And thanks again for the prompt help.

> [iMac-dv:mySQL-APIs-C++/Official/mysql++-1.7.9] kj% patch -p0 < 
> /Applications/\!ToBeFiled/mysql\ patch\ GCC\ 3.3/patch_gcc_3.3
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- mysql++-1.7.9/examples/cgi_image.cc        2001-05-19 
> 11:44:48.000000000 -0500
> |+++ mysql++-1.7.9_bwh/examples/cgi_image.cc    2002-11-07 
> 11:20:22.000000000 -0600
> --------------------------
> File to patch: ^C
> [iMac-dv:mySQL-APIs-C++/Official/mysql++-1.7.9] kj% ls
> Configure               config.sub*             makefile.win
> LGPL                    configure.1*            makeinclude.win
> Makefile.am             configure.in            missing*
> Makefile.in             devel/                  mkinstalldirs*
> README                  doc/                    sqlplusint/
> aclocal.m4              examples/               stamp-h
> build.sh*               install-sh*             stamp-h.in
> config.guess*           libtool*                stamp-h1
> config.h                ltconfig*               stamp-h1.in
> config.h.in             ltmain.sh
> config.status*          macintosh
> [iMac-dv:mySQL-APIs-C++/Official/mysql++-1.7.9] kj% cd sqlplusint/
> [iMac-dv:Official/mysql++-1.7.9/sqlplusint] kj% patch -p0 < 
> /Applications/\!ToBeFiled/mysql\ patch\ GCC\ 3.3/patch_gcc_3.3
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |--- mysql++-1.7.9/examples/cgi_image.cc        2001-05-19 
> 11:44:48.000000000 -0500
> |+++ mysql++-1.7.9_bwh/examples/cgi_image.cc    2002-11-07 
> 11:20:22.000000000 -0600
> --------------------------
> File to patch: ^C
> [iMac-dv:Official/mysql++-1.7.9/sqlplusint] kj%

--
Sincerely, Kevin Jaques (at home)

Use jaques@stripped for work related messages

"Send lawyers, guns and money! Dad get me out of this!" - Warren Zevon


Thread
Help a Novice With InstallationKevin Jaques10 Aug
  • Re: Help a Novice With InstallationWarren Young11 Aug
    • Re: Help a Novice With InstallationKevin Jaques11 Aug
      • Re: Help a Novice With InstallationWarren Young12 Aug
Re: Help a Novice With InstallationKevin Jaques13 Aug
  • Re: Help a Novice With InstallationWarren Young15 Aug