>Description:
        I am evaluating mysql for use with our website and internal
workings and cannot get MYSQL configure on our Sun/Sparc Ultra 450.  If
we use the mysql application we will buy support but until I can get it
to install I am unable to do any tests against our current website
configuration for speed and reliability.

Output from "./configure"
        checking whether time.h and sys/time.h may both be included...
yes
        checking whether struct tm is in sys/time.h or time.h... time.h
        checking size of char... 0
        configure: error: No size for char type.
        A likely cause for this could be that there isn't any
        static libraries installed. You can verify this by checking if
you have libm.a
        in /lib, /usr/lib or some other standard place.  If this is the
problem,
        install the static libraries and try again.  If this isn't the
problem,
        examine config.log for possible errors.  If you want to report
this, use
        'scripts/mysqlbug' and include at least the last 20 rows from
config.log!
Location of libm.a
        /usr/lib/libp/libm.a
        /usr/lib/libm.a
        /usr/local/lib/libmmalloc.a
configure.log
        configure:6276: checking need of special linking flags
        configure:6286: checking for working const
        configure:6340: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/export/home/internet/mysql/mysql-3.23.41/include -DHAVE_RWLOCK_T  
        conftest.c 1>&5
        configure:6361: checking for inline
        configure:6375: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/export/home/internet/mysql/mysql-3.23.41/include -DHAVE_RWLOCK_T  
        conftest.c 1>&5
        configure:6401: checking for off_t
        configure:6434: checking for st_rdev in struct stat
        configure:6447: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/export/home/internet/mysql/mysql-3.23.41/include -DHAVE_RWLOCK_T  
        conftest.c 1>&5
        configure:6468: checking whether time.h and sys/time.h may both
be included
        configure:6482: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/export/home/internet/mysql/mysql-3.23.41/include -DHAVE_RWLOCK_T  
        conftest.c 1>&5
        configure:6503: checking whether struct tm is in sys/time.h or
time.h
        configure:6516: gcc -c -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/export/home/internet/mysql/mysql-3.23.41/include -DHAVE_RWLOCK_T  
        conftest.c 1>&5
        configure:6539: checking size of char
        configure:6558: gcc -o conftest -O3 -DDBUG_OFF   -DHAVE_CURSES_H
-I/export/home/internet/mysql/mysql-3.23.41/include -DHAVE_R
        WLOCK_T   conftest.c -lpthread -lthread -lz -lcrypt -lgen
-lsocket -lnsl -lm  -lpthread -lthread 1>&5
        configure: failed program was:
        #line 6547 "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);
        }        
>How-To-Repeat:
        run "./configure" from the install directory         
>Fix:

>Submitter-Id:  [EMAIL PROTECTED]
>Originator:    Super-User
>Organization:
        Cambridge Scientific Abstracts
>MySQL support: none 
>Synopsis:      Can't install MYSQL
>Severity:    serious
>Priority:     high
>Category:  mysql
>Class:       support
>Release:       mysql-3.23.41 (Source distribution)

>Environment:
        <machine, os, target, libraries (multiple lines)>
System: SunOS venus 5.7 Generic_106541-10 sun4u sparc SUNW,Ultra-4
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.7/2.95/specs
gcc version 2.95 19990728 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''
LDFLAGS=''
LIBC:
-rw-r--r--   1 bin      bin      1696732 May 22  2000 /lib/libc.a
lrwxrwxrwx   1 root     root          11 Jan 19  2000 /lib/libc.so ->
./libc.so.1


Cliff Kilpatrick, Software Engineer

Cambridge Scientific Abstracts
7200 Wisconsin Ave, Suite 600
Bethesda, MD, 20814

ph: 301.961.6787
em: [EMAIL PROTECTED]



---------------------------------------------------------------------
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

Reply via email to