>Description:
The mysql_config script contains the following line:
if ! test $# -gt 0; then usage; fi
which according to my sh man page doesn't work because ! isn't valid and in
fact when I run it on Compaq Tru64 4.0F PK3 I receive this:
# ./mysql_config
./mysql_config: !: not found
Note that 3.23.38 still appears to contain this bug although I did not
actually build it.
>How-To-Repeat:
Just run mysql_config on a system where /bin/sh is the Bourne shell.
>Fix:
Change the problem line from:
if ! test $# -gt 0; then usage; fi
to:
if test $# -le 0; then usage; fi
>Submitter-Id:
>Originator: Jeff Long
>Organization:
The University of Kansas
>
>MySQL support: none
>Synopsis: mysql_config broken
>Severity: serious
>Priority: medium
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.32 (Source distribution)
>Environment:
Compaq Tru64 4.0F PK3
System: OSF1 robin.cc.ku.edu V4.0 1229 alpha
Machine: alpha
Some paths: /usr/bin/perl /usr/bin/make /homeb/long/bin/gmake /usr/local/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2/specs
gcc version 2.7.2
Compilation info: CC='cc -std1' CFLAGS='-O2 -ifo' CXX='cxx' CXXFLAGS='-ifo'
LDFLAGS=''
LIBC:
lrwxr-xr-x 1 root system 17 Jan 17 14:53 /lib/libc.a -> ../ccs/lib/libc.a
lrwxr-xr-x 1 root system 17 Jan 17 14:53 /usr/lib/libc.a ->
../ccs/lib/libc.a
Configure command: ./configure --prefix=/usr/local/mysql --with-thread-safe-client
---------------------------------------------------------------------
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