>Description: mysql-test is set up with data in share, but mysqld expects data in --datadir. So, mysql configured with --datadir=/usr/local/mysql/data causes 'make test' to fail with
$make test cd mysql-test ; ./mysql-test-run Installing Test Databases Removing Stale Files Installing Master Databases ../sql/mysqld: Fatal error: Can't find messagefile '/scr/src/mysql-3.23.43/mysql-test/data/mysql/english/errmsg.sys' Error: Could not install master test DBs make: *** [test] Error 1 >How-To-Repeat: configure using --datadir=something_other_than_PREFIX/share make make test >Fix: Workaround is to make data (that is, the value of --datadir relative to --prefix) as a symlink to share in the mysql-test directory. Fix would be something in configure/make that set things up so 'make test' would respect --datadir. >Submitter-Id: <submitter ID> >Originator: Michael Stassen >Organization: Indiana University >MySQL support: none >Synopsis: 3.23.43: using --datadir in configure breaks 'make test' >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.43 (Source distribution) >Environment: System: HP-UX dr B.10.20 A 9000/782 2015374635 two-user license Some paths: /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc /usr/ccs/bin/cc GCC: Reading specs from /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.3/specs gcc version 2.95.3 20010315 (release) Compilation info: CC='gcc' CFLAGS='-DHPUX -I/opt/dce/include -I/usr/local/include -O2' CXX='gcc' CXXFLAGS='-DHPUX -I/opt/dce/include -I/usr/local/include -O2' LDFLAGS='-L/usr/local/lib' LIBC: -r-xr-xr-x 1 bin bin 1867776 May 2 16:51 /lib/libc.1 -r--r--r-- 1 bin bin 2456780 May 2 16:51 /lib/libc.a lrwx------ 1 root sys 15 Oct 17 12:29 /lib/libc.sl -> /usr/lib/libc.1 -r-xr-xr-x 1 bin bin 1867776 May 2 16:51 /usr/lib/libc.1 -r--r--r-- 1 bin bin 2456780 May 2 16:51 /usr/lib/libc.a lrwx------ 1 root sys 15 Oct 17 12:29 /usr/lib/libc.sl -> /usr/lib/libc.1 Configure command: ./configure --disable-largefile --with-pthread --with-named-thread-libs=-ldce --disable-shared --prefix=/usr/local/mysql --with-mysqld-user=mysql --libexecdir=/usr/local/mysql/sbin --datadir=/usr/local/mysql/data --with-libwrap --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php