This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Updated MySQL patch file to version 4.1.13a (was: Re: Trouble making .so (undefined symbols))


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]