>Description:
The following output occures when using ASH as /bin/sh.
Your script seems to rely on non-POSIX features from bash
and therefore should be called with #!/bin/bash. This works.
-=(~/debian/mysql/ODBC/myodbc2.50.37-2.50.37)$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... configure: error: ls -t appears
to fail. Make sure there is not a broken
alias in your environment
configure: error: newly created file is older than distributed files!
Check your system clock
>How-To-Repeat:
use the smaller (but fully POSIX compliant) /bin/ash as /bin/sh
>Fix:
start the configure script with #!/bin/bash
>Submitter-Id: <submitter ID>
>Originator: Christian Hammers
>Organization:
Debian GNU/Linux
>MySQL support: none
>Synopsis: configure relys on bash but uses /bin/sh
>Severity: non-critical
>Priority: low
>Category: myodbc
>Class: sw-bug
>Release: myodbc-2.50.37
>Server: /usr/bin/mysqladmin Ver 8.19 Distrib 3.23.37, for pc-linux-gnu on i586
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Server version 3.23.37-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/run/mysqld/mysqld.sock
Uptime: 5 min 51 sec
Threads: 1 Questions: 1 Slow queries: 0 Opens: 6 Flush tables: 1 Open tables: 0
Queries per second avg: 0.003
>Environment:
System: Linux lathspell 2.4.2 #4 Don Feb 22 18:51:59 CET 2001 i586 unknown
Architecture: i586
Some paths: /usr/bin/perl /usr/bin/make /usr/local/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010319 (Debian prerelease)
Compilation info: CC='gcc' CFLAGS='-O2 -fomit-frame-pointer -g' CXX='g++'
CXXFLAGS='-O2 -fomit-frame-pointer -g -felide-constructors -fno-exceptions -fno-rtti'
LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 14 17.04 20:05 /lib/libc.so.5 -> libc.so.5.4.46
-rw-r--r-- 1 root root 567684 13.04 21:14 /lib/libc.so.5.4.46
lrwxrwxrwx 1 root root 13 27.03 21:14 /lib/libc.so.6 -> libc-2.2.2.so
-rwxr-xr-x 1 root root 1108076 13.04 16:15 /lib/libc-2.2.2.so
-rw-r--r-- 1 root root 2526954 24.03 08:02 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 24.03 08:02 /usr/lib/libc.so
-rw-r--r-- 1 root root 665260 01.09.2000 /usr/lib/libc-client.so.4.7
Configure command: ./configure --prefix=/usr --exec-prefix=/usr
--libexecdir=/usr/sbin --datadir=/usr/share --sysconfdir=/etc/mysql
--localstatedir=/var/lib/mysql --includedir=/usr/include --infodir=/usr/share/info
--mandir=/usr/share/man --enable-shared --with-libwrap --enable-assembler
--with-berkeley-db --with-innodb --enable-static --enable-shared --with-raid
--without-readline --with-unix-socket-path=/var/run/mysqld/mysqld.sock
--with-mysqld-user=mysql --without-bench --with-extra-charsets=all
---------------------------------------------------------------------
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