X-Spam-Check-By: sourceware.org X-Authenticated: #5390967 Message-ID: <4404B22D.8020009@gmx.net> Date: Tue, 28 Feb 2006 21:27:25 +0100 From: Gunnar Thielebein Reply-To: gunnar_thielebein AT gmx DOT net User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: compiling mysql-4.1.18 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I tried to compile mysql within cygwin. Everything worked fine with default settings ./configure make all make install but starting mysqld is hell. I created user like in documentation mysql. database dir is default /usr/local/var -> symlink to an ntfs /cygdrive/u/mysql. Error message that is created after running mysql.server in hostname.err: 060228 17:51:56 mysqld started 060228 17:51:56 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/ is case insensitive 060228 17:51:56 [Warning] One can only use the --user switch if running as root InnoDB: The first specified data file ./ibdata1 did not exist: InnoDB: a new database to be created! 060228 17:51:59 InnoDB: Setting file ./ibdata1 size to 10 MB InnoDB: Database physically writes the file full: wait... 060228 17:51:59 InnoDB: Log file ./ib_logfile0 did not exist: new to be created InnoDB: Setting log file ./ib_logfile0 size to 5 MB InnoDB: Database physically writes the file full: wait... 060228 17:51:59 InnoDB: Log file ./ib_logfile1 did not exist: new to be created InnoDB: Setting log file ./ib_logfile1 size to 5 MB InnoDB: Database physically writes the file full: wait... InnoDB: Doublewrite buffer not found: creating new InnoDB: Doublewrite buffer created InnoDB: Creating foreign key constraint system tables InnoDB: Foreign key constraint system tables created 060228 17:51:59 InnoDB: Started; log sequence number 0 0 060228 17:51:59 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 060228 17:52:00 mysqld ended 060228 18:26:31 mysqld started 060228 18:26:31 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/var/ is case insensitive 060228 18:26:31 [Warning] One can only use the --user switch if running as root InnoDB: Error: tried to read 16384 bytes at offset 0 0. InnoDB: Was only able to read -1. InnoDB: Fatal error: cannot read from file. OS error number 17. 060228 18:26:34InnoDB: Assertion failure in thread 268501000 in file os0file.c line 2137 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html InnoDB: about forcing recovery. mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=0 read_buffer_size=258048 max_used_connections=0 max_connections=100 threads_connected=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 31599 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. 060228 18:26:34 mysqld ended 060228 20:57:27 mysqld started 060228 20:57:28 [Warning] Can't create test file /usr/local/var/titty1.lower-test 060228 20:57:28 [Warning] One can only use the --user switch if running as root InnoDB: Error: tried to read 16384 bytes at offset 0 0. InnoDB: Was only able to read -1. InnoDB: Fatal error: cannot read from file. OS error number 17. 060228 20:57:31InnoDB: Assertion failure in thread 268501000 in file os0file.c line 2137 InnoDB: We intentionally generate a memory trap. InnoDB: Submit a detailed bug report to http://bugs.mysql.com. InnoDB: If you get repeated assertion failures or crashes, even InnoDB: immediately after the mysqld startup, there may be InnoDB: corruption in the InnoDB tablespace. Please refer to InnoDB: http://dev.mysql.com/doc/mysql/en/Forcing_recovery.html InnoDB: about forcing recovery. mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=0 read_buffer_size=258048 max_used_connections=0 max_connections=100 threads_connected=0 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 31599 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. 060228 20:57:31 mysqld ended here is my makefile: srcdir = . top_srcdir = . pkgdatadir = $(datadir)/mysql pkglibdir = $(libdir)/mysql pkgincludedir = $(includedir)/mysql top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = /usr/bin/install -c install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = i686-pc-cygwin host_triplet = i686-pc-cygwin target_triplet = i686-pc-cygwin DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/bdb/Makefile.in $(top_srcdir)/configure COPYING \ ChangeLog config.guess config.sub depcomp install-sh ltconfig \ ltmain.sh missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = bdb/Makefile SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = ${SHELL} /usr/src/mysql-4.1.18/missing --run aclocal-1.8 ALLOCA = AMDEP_FALSE = # AMDEP_TRUE = AMTAR = ${SHELL} /usr/src/mysql-4.1.18/missing --run tar AR = ar AS = gcc -c ASSEMBLER_FALSE = ASSEMBLER_TRUE = # ASSEMBLER_sparc32_FALSE = ASSEMBLER_sparc32_TRUE = # ASSEMBLER_sparc64_FALSE = ASSEMBLER_sparc64_TRUE = # ASSEMBLER_x86_FALSE = ASSEMBLER_x86_TRUE = # AUTOCONF = ${SHELL} /usr/src/mysql-4.1.18/missing --run autoconf AUTOHEADER = ${SHELL} /usr/src/mysql-4.1.18/missing --run autoheader AUTOMAKE = ${SHELL} /usr/src/mysql-4.1.18/missing --run automake-1.8 AVAILABLE_LANGUAGES = czech danish dutch english estonian french german greek hungarian italian japanese japanese-sjis korean norwegian norwegian-ny polish portuguese romanian russian serbian slovak spanish swedish ukrainian AVAILABLE_LANGUAGES_ERRORS = czech/errmsg.sys danish/errmsg.sys dutch/errmsg.sys english/errmsg.sys estonian/errmsg.sys french/errmsg.sys german/errmsg.sys greek/errmsg.sys hungarian/errmsg.sys italian/errmsg.sys japanese/errmsg.sys japanese-sjis/errmsg.sys korean/errmsg.sys norwegian/errmsg.sys norwegian-ny/errmsg.sys polish/errmsg.sys portuguese/errmsg.sys romanian/errmsg.sys russian/errmsg.sys serbian/errmsg.sys slovak/errmsg.sys spanish/errmsg.sys swedish/errmsg.sys ukrainian/errmsg.sys AWK = gawk CC = gcc CCAS = gcc CCASFLAGS = CCDEPMODE = depmode=gcc3 CC_VERSION = gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) CFLAGS = -O3 -DDBUG_OFF CHECK_PID = /usr/bin/kill -0 $$PID > /dev/null 2> /dev/null CHMOD = /usr/bin/chmod CLIENT_EXTRA_LDFLAGS = CLIENT_LIBS = -lcrypt -lm -lz CMP = /usr/bin/cmp COMPILATION_COMMENT = Source distribution COMPILE_PSTACK_FALSE = COMPILE_PSTACK_TRUE = # CONF_COMMAND = ./configure CP = /usr/bin/cp CPP = gcc -E CPPFLAGS = CXX = g++ CXXCPP = g++ -E CXXDEPMODE = depmode=gcc3 CXXFLAGS = -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti CXXLDFLAGS = CXX_VERSION = g++ (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) CYGPATH_W = cygpath -w DARWIN_MWCC_FALSE = DARWIN_MWCC_TRUE = # DEFS = -DHAVE_CONFIG_H DEPDIR = .deps DOT_FRM_VERSION = 6 DOXYGEN = no DVIS = ECHO = echo ECHO_C = ECHO_N = -n ECHO_T = EGREP = grep -E EXEEXT = .exe F77 = FFLAGS = FIND_PROC = /usr/bin/ps -e | grep -v grep | grep mysqld | grep " $$PID " > /dev/null GETCONF = GXX = yes HAVE_NDBCLUSTER_DB_FALSE = HAVE_NDBCLUSTER_DB_TRUE = # HAVE_NETWARE_FALSE = HAVE_NETWARE_TRUE = # HOSTNAME = /usr/bin/hostname INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s KILL = /usr/bin/kill LD = /usr/i686-pc-cygwin/bin/ld.exe LDFLAGS = LD_VERSION_SCRIPT = -Wl,--version-script=$(top_builddir)/libmysql/libmysql.ver LIBDL = LIBEDIT_LOBJECTS = unvis.o vis.o fgetln.o LIBOBJS = LIBS = -lcrypt -lm LIBTOOL = $(SHELL) $(top_builddir)/libtool --preserve-dup-deps LIB_EXTRA_CCFLAGS = LM_CFLAGS = LN = /usr/bin/ln LN_CP_F = /usr/bin/ln -s LN_S = ln -s LOCAL_FALSE = LOCAL_TRUE = # LTLIBOBJS = MACHINE_TYPE = i686 MAKEINDEX = no MAKEINFO = ${SHELL} /usr/src/mysql-4.1.18/missing --run makeinfo MAKE_BINARY_DISTRIBUTION_OPTIONS = MAKE_SHELL = /bin/sh MT_INCLUDES = MT_LD_ADD = MV = /usr/bin/mv MYSQLD_DEFAULT_SWITCHES = MYSQLD_EXTRA_LDFLAGS = MYSQLD_USER = mysql MYSQL_BASE_VERSION = 4.1 MYSQL_NO_DASH_VERSION = 4.1.18 MYSQL_SERVER_SUFFIX = MYSQL_TCP_PORT = 3306 MYSQL_TCP_PORT_DEFAULT = 3306 MYSQL_UNIX_ADDR = /tmp/mysql.sock MYSQL_VERSION_ID = 40118 NDB_DEFS = NDB_SCI_INCLUDES = NDB_SCI_LIBS = NDB_VERSION_BUILD = 18 NDB_VERSION_MAJOR = 4 NDB_VERSION_MINOR = 1 NDB_VERSION_STATUS = NOINST_LDFLAGS = NON_THREADED_LIBS = -lcrypt -lm OBJEXT = o PACKAGE = mysql PACKAGE_BUGREPORT = PACKAGE_NAME = PACKAGE_STRING = PACKAGE_TARNAME = PACKAGE_VERSION = PATH_SEPARATOR = : PDFLATEX = no PDFMANUAL = PERL = /usr/bin/perl PERL5 = /usr/bin/perl PROTOCOL_VERSION = 10 PS = /usr/bin/ps RANLIB = ranlib RM = /usr/bin/rm SAVE_ASFLAGS = SAVE_CFLAGS = SAVE_CXXFLAGS = SAVE_CXXLDFLAGS = SAVE_LDFLAGS = SED = /usr/bin/sed SET_MAKE = SHARED_LIB_MAJOR_VERSION = 14 SHARED_LIB_VERSION = 14:0:0 SHELL = /bin/sh STATIC_NSS_FLAGS = STRIP = strip SYSTEM_TYPE = pc-cygwin TAR = tar TARGET_LINUX = false TERMCAP_LIB = -ltermcap THREAD_LOBJECTS = thr_alarm.o thr_lock.o thr_mutex.o thr_rwlock.o my_pthread.o my_thr_init.o THREAD_LPROGRAMS = test_thr_alarm$(EXEEXT) test_thr_lock$(EXEEXT) VERSION = 4.1.18 WRAPLIBS = YACC = bison -y ZLIB_DEPS = -lz ZLIB_INCLUDES = ZLIB_LIBS = -lz ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ ac_ct_F77 = ac_ct_GETCONF = ac_ct_RANLIB = ranlib ac_ct_STRIP = strip am__fastdepCC_FALSE = # am__fastdepCC_TRUE = am__fastdepCXX_FALSE = # am__fastdepCXX_TRUE = am__include = include am__leading_dot = . am__quote = bdb_includes = bdb_libs = bdb_libs_with_path = bench_dirs = sql-bench mysql-test bindir = ${exec_prefix}/bin build = i686-pc-cygwin build_alias = build_cpu = i686 build_os = cygwin build_vendor = pc datadir = ${prefix}/share docs_dirs = Docs exec_prefix = ${prefix} fs_dirs = host = i686-pc-cygwin host_alias = host_cpu = i686 host_os = cygwin host_vendor = pc includedir = ${prefix}/include infodir = ${prefix}/info innodb_includes = -I../innobase/include innodb_libs = $(top_builddir)/innobase/usr/libusr.a $(top_builddir)/innobase/srv/libsrv.a $(top_builddir)/innobase/dict/libdict.a $(top_builddir)/innobase/que/libque.a $(top_builddir)/innobase/srv/libsrv.a $(top_builddir)/innobase/ibuf/libibuf.a $(top_builddir)/innobase/row/librow.a $(top_builddir)/innobase/pars/libpars.a $(top_builddir)/innobase/btr/libbtr.a $(top_builddir)/innobase/trx/libtrx.a $(top_builddir)/innobase/read/libread.a $(top_builddir)/innobase/usr/libusr.a $(top_builddir)/innobase/buf/libbuf.a $(top_builddir)/innobase/ibuf/libibuf.a $(top_builddir)/innobase/eval/libeval.a $(top_builddir)/innobase/log/liblog.a $(top_builddir)/innobase/fsp/libfsp.a $(top_builddir)/innobase/fut/libfut.a $(top_builddir)/innobase/fil/libfil.a $(top_builddir)/innobase/lock/liblock.a $(top_builddir)/innobase/mtr/libmtr.a $(top_builddir)/innobase/page/libpage.a $(top_builddir)/innobase/rem/librem.a $(top_builddir)/innobase/thr/libthr.a $(top_builddir)/innobase/sync/libsync.a $(top_builddir)/innobase/data/libdata.a $(top_builddir)/innobase/mach/libmach.a $(top_builddir)/innobase/ha/libha.a $(top_builddir)/innobase/dyn/libdyn.a $(top_builddir)/innobase/mem/libmem.a $(top_builddir)/innobase/sync/libsync.a $(top_builddir)/innobase/ut/libut.a $(top_builddir)/innobase/os/libos.a $(top_builddir)/innobase/ut/libut.a innodb_system_libs = install_sh = /usr/src/mysql-4.1.18/install-sh isam_libs = libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec libmysqld_dirs = linked_client_targets = linked_libmysql_sources linked_libmysqld_targets = linked_netware_sources = localstatedir = ${prefix}/var man1_files = isamchk.1 isamlog.1 msql2mysql.1 myisamchk.1 myisamlog.1 myisampack.1 mysql.1 mysql.server.1 mysql_config.1 mysql_fix_privilege_tables.1 mysql_zap.1 mysqlaccess.1 mysqladmin.1 mysqlbinlog.1 mysqlcheck.1 mysqld.1 mysqld_multi.1 mysqld_safe.1 mysqldump.1 mysqlhotcopy.1 mysqlimport.1 mysqlman.1 mysqlshow.1 pack_isam.1 perror.1 replace.1 safe_mysqld.1 man_dirs = man mandir = ${prefix}/man mkdir_p = mkdir -p -- . ndb_bin_am_ldflags = ndb_cxxflags_fix = ndb_mgmclient_libs = ndb_opt_subdirs = ndb_port = ndb_port_base = ndb_transporter_opt_objs = ndbcluster_includes = ndbcluster_libs = ndbcluster_system_libs = netware_dir = oldincludedir = /usr/include openssl_includes = openssl_libs = orbit_idl = orbit_includes = orbit_libs = prefix = /usr/local program_transform_name = s,x,x, pstack_dirs = pstack_libs = readline_basedir = libedit readline_dir = cmd-line-utils/libedit readline_h_ln_cmd = $(LN) -s $(top_srcdir)/cmd-line-utils/libedit/readline readline readline_link = $(top_builddir)/cmd-line-utils/libedit/libedit.a readline_topdir = cmd-line-utils sbindir = ${exec_prefix}/sbin server_scripts = mysqld_safe mysql_install_db sharedstatedir = ${prefix}/com sql_client_dirs = libmysql strings regex client sql_server_dirs = strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql sql_union_dirs = strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql libmysql client subdirs = innobase sysconfdir = ${prefix}/etc target = i686-pc-cygwin target_alias = target_cpu = i686 target_os = cygwin target_vendor = pc thread_dirs = tools_dirs = uname_prog = /usr/bin/uname vio_dir = vio_libs = zlib_dir = AUTOMAKE_OPTIONS = foreign # These are built from source in the Docs directory EXTRA_DIST = INSTALL-SOURCE INSTALL-WIN-SOURCE \ README COPYING EXCEPTIONS-CLIENT SUBDIRS = . include Docs \ cmd-line-utils sql-common \ pstack \ strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql libmysql client scripts man tests \ netware \ sql-bench mysql-test support-files DIST_SUBDIRS = . include Docs zlib \ cmd-line-utils sql-common \ pstack \ strings dbug mysys extra regex isam merge innobase myisam myisammrg heap vio sql libmysql client scripts man tests SSL\ BUILD netware os2 \ sql-bench mysql-test support-files # Run these targets before any others, also make part of clean target, # to make sure we create new links after a clean. BUILT_SOURCES = linked_client_sources linked_server_sources \ linked_libmysql_sources \ \ linked_include_sources # The db.h file is a bit special, see note in "configure.in". # In the case we didn't compile with bdb, a dummy file is put # there, but will not be removed by the bdb make file becuase # it will never be called. CLEANFILES = $(BUILT_SOURCES) bdb/build_unix/db.h DISTCLEANFILES = ac_available_languages_fragment all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ cd $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 bdb/Makefile: $(top_builddir)/config.status $(top_srcdir)/bdb/Makefile.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $$MAKEFLAGS; amf=$$2; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if (etags --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ else \ include_option=--include; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/bdb $(distdir)/include $(distdir)/libmysql $(distdir)/ndb/include @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || mkdir "$(distdir)/$$subdir" \ || exit 1; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="../$(top_distdir)" \ distdir="../$(distdir)/$$subdir" \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ distclean-recursive distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am linked_include_sources: cd include; $(MAKE) link_sources echo timestamp > linked_include_sources linked_client_sources: linked_libmysql_sources cd client; $(MAKE) link_sources echo timestamp > linked_client_sources linked_libmysql_sources: cd libmysql; $(MAKE) link_sources echo timestamp > linked_libmysql_sources linked_libmysql_r_sources: linked_libmysql_sources cd libmysql_r; $(MAKE) link_sources echo timestamp > linked_libmysql_r_sources linked_libmysqld_sources: cd libmysqld; $(MAKE) link_sources echo timestamp > linked_libmysqld_sources linked_libmysqldex_sources: cd libmysqld/examples; $(MAKE) link_sources echo timestamp > linked_libmysqldex_sources linked_netware_sources: cd ; $(MAKE) link_sources echo timestamp > linked_netware_sources linked_server_sources: cd sql; $(MAKE) link_sources echo timestamp > linked_server_sources # Create permission databases init-db: all $(top_builddir)/scripts/mysql_install_db bin-dist: all $(top_builddir)/scripts/make_binary_distribution # Remove BK's "SCCS" subdirectories from source distribution dist-hook: rm -rf `find $(distdir) -type d -name SCCS -print` tags: support-files/build-tags .PHONY: init-db bin-dist # Target 'test' will run the regression test suite using the built server. # # If you are running in a shared environment, users can avoid clashing # port numbers by setting individual small numbers 1-100 to the # environment variable MTR_BUILD_THREAD. The script "mysql-test-run" # will then calculate the various port numbers it needs from this, # making sure each user use different ports. test: cd mysql-test ; \ ./mysql-test-run && \ ./mysql-test-run --ps-protocol test-force: cd mysql-test; \ ./mysql-test-run --force && \ ./mysql-test-run --ps-protocol --force # We are testing a new Perl version of the test script test-pl: cd mysql-test; \ ./mysql-test-run.pl && \ ./mysql-test-run.pl --ps-protocol test-force-pl: cd mysql-test; \ ./mysql-test-run.pl --force && \ ./mysql-test-run.pl --ps-protocol --force # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: -- 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/