List:General Discussion« Previous MessageNext Message »
From:Jonathan Gill Date:March 25 1999 8:43am
Subject:Cobalt RaQ and MySQL Configuration problems
View as plain text  
>Description:
When trying to run the ./configure script on the Cobalt Raq it give the
following error:
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!
>How-To-Repeat:
Get a Cobalt Raq and try an install.  It fails each and evey time.

>Submitter-Id:  <submitter ID>
>Originator:    Jonathan Gill
>Organization:  SparkMedia Pte Ltd
>MySQL support: [none | licence | email support | extended email support ]
>Synopsis:      Cobalt raqs can't use MySQL
>Severity:      critical
>Priority:      high
>Category:      mysql
>Class:         sw-bug ???
>Release:       mysql-3.22.20a (Source distribution)

>Environment:
        Cobalt RaQ, Linux, Linux,
System: Linux singtel.sparkmedia.com.sg 2.0.34 #1 Fri Aug 28 19:39:04 PDT
1998 $
Architecture: mips

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/mipsel-linux/2.7.2/specs
gcc version 2.7.2
Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
Configure command:
./configure  --with-unix-socket-path=/var/tmp/mysql.sock --w$
Perl: This is perl, version 5.004_04 built for mips-linux

Heres the end of the config.log file

configure:4011: checking for Sun style big file support
configure:4029: checking need of special linking flags
configure:4039: checking for working const
configure:4093: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
configure:4114: checking for inline
configure:4128: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
configure:4154: checking for off_t
configure:4187: checking for size_t
configure:4220: checking for st_rdev in struct stat
configure:4233: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
configure:4254: checking whether time.h and sys/time.h may both be
included
configure:4268: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
configure:4289: checking whether struct tm is in sys/time.h or time.h
configure:4302: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
configure:4325: checking size of char
configure:4344: gcc -o conftest -O6   -DDBUG_OFF   -rdynamic conftest.c
-ldl -ln
sl -lm   -lcrypt  -lpthread 1>&5
In file included from configure:4334:
/usr/include/stdio.h:4: stdio/stdio.h: No such file or directory
configure: failed program was:
#line 4333 "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);
}


--
Jonathan Gill
SparkMedia Pte Ltd
www.sparkmedia.com.sg - 83 Kampong Bahru Road, Singapore, 169379
Telephone - (65) 323 - 7377, Fax - (65) 323 7366

Thread
Cobalt RaQ and MySQL Configuration problemsJonathan Gill25 Mar
  • Re: Cobalt RaQ and MySQL Configuration problemsMartin B. Jespersen25 Mar