delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/06/05:06:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42F47D8D.7030202@familiehaase.de>
Date: Sat, 06 Aug 2005 11:06:21 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
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 <cygwin AT cygwin DOT com>
Subject: Updated MySQL patch file to version 4.1.13a (was: Re: Trouble making .so (undefined symbols))
References: <42F02793 DOT 8080109 AT etr-usa DOT com> <42F07A02 DOT 4040308 AT familiehaase DOT de> <42F20ACF DOT 8050309 AT etr-usa DOT com> <42F2134E DOT 59A5E50F AT dessent DOT net> <42F23B1F DOT 7000303 AT etr-usa DOT com>
In-Reply-To: <42F23B1F.7000303@etr-usa.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019