>Description:
mysql-test-run script uses the test [ -e "$BASEDIR/client/.libs/mysqltest" ]
(line 276 )
since the script uses /bin/sh, and this test [ -e ] is not implemented
in /bin/sh on solaris, the mysql-test-run script fails & exits
>How-To-Repeat:
run mysql-test-run on solaris
>Fix:
change [ -e ] to [ -r "$BASEDIR/client/.libs/mysqltest" ] , which
checks that the file exists (and is readable) in /bin/sh and /bin/bash
alternatively, use [ -x ] (check exists and executable)
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
Peter Lees, Sun Microsystems Inc
>
>MySQL support: none
>Synopsis: mysql-test-run script not compatible with solaris
>Severity:
>Priority:
>Category: mysql
>Class:
>Release: mysql-3.23.43 (Source distribution)
>Environment:
System: SunOS ghod 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-1
Architecture: sun4
Some paths: /usr/perl5/bin/perl /usr/ccs/bin/make /opt/sfw/bin/gmake /opt/sfw/bin/gcc
GCC: Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
LIBC:
-rw-r--r-- 1 root bin 1761940 Jan 25 2001 /lib/libc.a
lrwxrwxrwx 1 root root 11 Sep 26 19:28 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 1136608 Jan 25 2001 /lib/libc.so.1
-rw-r--r-- 1 root bin 1761940 Jan 25 2001 /usr/lib/libc.a
lrwxrwxrwx 1 root root 11 Sep 26 19:28 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 1136608 Jan 25 2001 /usr/lib/libc.so.1
Configure command: ./configure --prefix=/opt/mysql --sysconfdir=/etc/opt/mysql
--sharedstatedir=/var/opt/mysql --without-debug --with-innodb
--with-unix-socket-path=/var/run/mysql.sock --with-raid --enable-assembler
Perl: This is perl, version 5.005_03 built for sun4-solaris
---------------------------------------------------------------------
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