It is currently Fri Sep 10, 2010 12:28 pm

All times are UTC - 5 hours [ DST ]




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Help patching on windows.
PostPosted: Sat Sep 27, 2008 9:16 am 

Joined: Sat Sep 27, 2008 9:10 am
Posts: 1
Support,

Tried doing a compile on Windows, but am having a problem getting
the patches applied (never had to do that before). I found and
installed a Gnu patch utility - 2.5.9
http://gnuwin32.sourceforge.net/packages/patch.htm

But it failed with this:

Code:
C:\workdir>patch -V t -p0 -lNu < compat-5.0.1a
patching file include/config-win.h
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.


Any suggestions?


Offline
 Profile  
 
 Post subject: Re: Help patching on windows.
PostPosted: Mon Sep 29, 2008 11:28 am 

Joined: Tue Sep 16, 2008 12:06 pm
Posts: 3
BunBun wrote:
Support,

Tried doing a compile on Windows, but am having a problem getting
the patches applied (never had to do that before). I found and
installed a Gnu patch utility - 2.5.9
http://gnuwin32.sourceforge.net/packages/patch.htm


BunBun,

We've found the same to be true. What we recommend for Windows source installs is that you actually unzip the whole code structure on a UNIX-based machine, execute the patch and then move the code over to your Windows box to do the compilation.

We've also run into some compiler errors with the MySQL source code if you use the same source tree you used to compile MySQL originally. You should redownload the whole source tree (same version as before) from MySQL and patch that. It seems that Visual Studio/Visual C++ has trouble making some links if you use the same .sln file that you originally used to compile MySQL.

Matt L


Offline
 Profile  
 
 Post subject: Re: Help patching on windows.
PostPosted: Tue Oct 07, 2008 5:25 pm 

Joined: Tue Sep 16, 2008 12:06 pm
Posts: 3
Update

I was able to successfully patch 5.0.51a on Windows using cygwin. Make sure you have the most recent patch (v.2.5.8). Run cygwin's setup.exe to install patch if you don't already have it, then you can execute the patch commands just like our documentation says:

Code:
patch -V t -p0 -lNu <  compat-5.0.5a
patch -V t -p0 -lNu <  patch-5.0.3.0b


Just remember to replace the version numbers after compat- and patch- with the versions that came with your source distribution of ExtSQL.

Happy patching,
Matt


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
phpBB skin developed by: John Olson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group