Jonathan Gill wrote:
>
> >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
>
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread932@stripped
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
I don't know if it will make a diffeence, but i would install egcs 1.1.2 instead of gcc
2.7.2, it is a pretty outdated compiler.
We have Mysql 3.22.15-gamma installed on a RaQ and we didn't have any probs at all.
--
Martin B. Jespersen
Technical Project Leader
Icon Medialab A/S (http://www.IconMedialab.dk)
E-Mail: Martin@stripped
Mail: Havnegade 39, DK-1058 Copenhagen K
Voice: (+45) 7023-1001
Fax: (+45) 33320209