Hello,
I tried to send this using the 'scripts/mysqlbug' script but sendmail
barfed....
>Description: configure problem finding size of char type on Sparc 20
>How-To-Repeat: I was doing a fully-standard configure script run
>Fix: unsure at this stage
>Submitter-Id: Craig Dewick "[EMAIL PROTECTED]"
>Originator: Super-User
>Organization:
<organization of PR author (multiple lines)>
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis: configure process fails when trying to fine size of char type
>Severity: critical, since this prevents the config script from working
>Priority: high
>Category: mysql
>Class: <[ sw-bug | doc-bug | change-request | support ] (one line)>
>Release: mysql-3.23.32 (Source distribution)
>Environment:
<machine, os, target, libraries (multiple lines)>
System: SunOS jedi 5.8 Generic sun4m sparc SUNW,SPARCstation-20
Architecture: sun4
Some paths: /usr/bin/perl /usr/ccs/bin/make /usr/local/bin/gcc /usr/ucb/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
-rw-r--r-- 1 root bin 1731920 Jan 6 2000 /lib/libc.a
lrwxrwxrwx 1 root root 11 Oct 20 00:21 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 1113260 Jan 6 2000 /lib/libc.so.1
-rw-r--r-- 1 root bin 1731920 Jan 6 2000 /usr/lib/libc.a
lrwxrwxrwx 1 root root 11 Oct 20 00:21 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 1113260 Jan 6 2000 /usr/lib/libc.so.1
Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client
--without-berkeley-db
I've quoted below the section of config.log which records the actions at the
time the problem occured:
---- start ----
configure:6171: checking need of special linking flags
configure:6181: checking for working const
configure:6235: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:6256: checking for inline
configure:6270: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:6296: checking for off_t
configure:6329: checking for st_rdev in struct stat
configure:6342: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:6363: checking whether time.h and sys/time.h may both be included
configure:6377: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:6398: checking whether struct tm is in sys/time.h or time.h
configure:6411: gcc -c -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.32/include -DHAVE_RWLOCK_T conftest.c 1>&5
configure:6434: checking size of char
configure:6453: gcc -o conftest -O6 -DDBUG_OFF -DHAVE_CURSES_H
-I/var/azwan/mysql-3.23.32/include -DHAVE_RWLOCK_T conftest.c -ldl -lz
-lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5
configure: failed program was:
#line 6442 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
FILE *f=fopen("conftestval", "w");
if (!f) exit(1);
fprintf(f, "%d\n", sizeof(char));
exit(0);
}
---- stop ----
This problem has not occured when building any other software package so I
suspect something in the configure script is not quite right, but given that
SunOS 5.8 has a lot of changes from previous releases, the problem might be
partly due to that fact also.
Regards,
Craig.
---------------------------------------------------------------------
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