>Description:
I'm testing various pieces of freeware to make sure they work well
under Solaris; mysql_config didn't work on my system, due to (I believe)
a shell programming problem:
if ! test $# -gt 0; then usage; fi
For whatever reason, standard solaris Bourne shell doesn't like this line,
and outputs
!: not found
Substituting bash for /bin/sh, however, works ok. I suggest correcting
the line to
if test $# -eq 0; then usage; fi
Which seems to work.
>How-To-Repeat:
invoke mysql_config on Solaris
>Fix:
See above
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
Daniel Price - Solaris I/O - [EMAIL PROTECTED]
>
>MySQL support: none
>Synopsis: mysql_config doesn't work on Solaris with 3.23.33
>Severity: serious
>Priority: medium
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.33 (Source distribution)
>Environment:
System: SunOS cagey 5.8 Generic i86pc i386 i86pc
Architecture: i86pc
Some paths: /usr/bin/perl /usr/ccs/bin/make /home/kg/bin/gmake /home/kg/bin/gcc
/opt/teamware/bin/cc
GCC: Reading specs from
/home/kg/i386/egcs-1.1b/lib/gcc-lib/i386-pc-solaris2.7/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
Compilation info: CC='gcc' CFLAGS='-O3' CXX='g++' CXXFLAGS=''
LDFLAGS='-L/home/kg/lib -R/home/kg/lib'
LIBC:
-rw-r--r-- 1 root bin 1555316 Jan 5 2000 /lib/libc.a
lrwxrwxrwx 1 root root 11 Apr 15 2000 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 918640 Jan 5 2000 /lib/libc.so.1
-rw-r--r-- 1 root bin 1555316 Jan 5 2000 /usr/lib/libc.a
lrwxrwxrwx 1 root root 11 Apr 15 2000 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 918640 Jan 5 2000 /usr/lib/libc.so.1
Configure command: ./configure --prefix=/home/kg/share/mysql-3.23.33
--exec-prefix=/home/kg/i386/mysql-3.23.33 --without-bench --without-berkeley-db
Perl: This is perl, version 5.005_03 built for i86pc-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