Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <42F47D8D.7030202@familiehaase.de> Date: Sat, 06 Aug 2005 11:06:21 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728 MIME-Version: 1.0 To: cygwin Subject: Updated MySQL patch file to version 4.1.13a (was: Re: Trouble making .so (undefined symbols)) References: <42F02793.8080109@etr-usa.com> <42F07A02.4040308@familiehaase.de> <42F20ACF.8050309@etr-usa.com> <42F2134E.59A5E50F@dessent.net> <42F23B1F.7000303@etr-usa.com> In-Reply-To: <42F23B1F.7000303@etr-usa.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Repost because the mail was too large with the attached patch, will send on request, please send reply to this mail to my private address if you want the patch file. The patch is against MySQL 4.1.13a. If there are some hunks failing for some Makefile.in or configure, just ignore it and run `autoreconf -f -v -i` after applying it ( ---> only if applying this patch to later releases). I'm using a script to build the server, usage: put the script, the extracted patch file and the source tarball together in one directory, run the script with option 'all' or run the several steps manually: ./mysql-4.1.13a-1.sh prep ./mysql-4.1.13a-1.sh lnconf ./mysql-4.1.13a-1.sh conf ./mysql-4.1.13a-1.sh build ./mysql-4.1.13a-1.sh install ./mysql-4.1.13a-1.sh strip ./mysql-4.1.13a-1.sh pkg ./mysql-4.1.13a-1.sh spkg ./mysql-4.1.13a-1.sh finish This results in three tarballs, one including patch, script and source tarball, one including the runtime and one including import libraries and headers. Docs are included in the runtime package. One addition because I cannot run make test with this script: $ diff -u mysql-4.1.13a/mysql-test/mysql-test-run.pl~ mysql-4.1.13a/mysql-test/mysql-test-run.pl --- mysql-4.1.13a/mysql-test/mysql-test-run.pl~ 2005-08-06 10:59:43.193960000 +0200 +++ mysql-4.1.13a/mysql-test/mysql-test-run.pl 2005-08-06 10:58:44.199129600 +0200 @@ -393,7 +393,7 @@ $glob_scriptname= basename($0); $glob_win32_perl= ($^O eq "MSWin32"); - $glob_cygwin_perl= ($^O eq "cygwin"); + $glob_cygwin_perl= 0; $glob_win32= ($glob_win32_perl or $glob_cygwin_perl); # We require that we are in the "mysql-test" directory @@ -418,6 +418,7 @@ if ( $glob_cygwin_perl ) { # Windows programs like 'mysqld' needs Windows paths + # Bullshit! Cygwin is not Windows and doesn't need Windows paths! Regards, Gerrit P. $glob_mysql_test_dir= `cygpath -m $glob_mysql_test_dir`; my $shell= $ENV{'SHELL'} || "/bin/bash"; $glob_cygwin_shell= `cygpath -w $shell`; # The Windows path c:\... Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/