Maximo,

have a look at config.log and the configure script after line 14585. That
will tell you what goes wrong.

Thomas Spahni
-- 
filter: sql, query

On Mon, 20 Jan 2003, Maximo Migliari wrote:

> Hello there,
>
> I'm trying to compile MySQL 4.0.9-gamma under FreeBSD 4.7-Stable with
> linuxthreads.
> I installed linuxthreads through the ports system by doing:
> cd /usr/local/ports/devel/linuxthreads
> make
> make install
>
> it installed just fine.
> I downloaded the source distribution of MySQL (not using the ports system,
> as I cannot find the gamma version of mysql4 through it, even after an
> update of my ports collection).
>
> This is the configure command I try to use:
> CFLAGS="-O3 -DHAVE_BROKEN_REALPATH -mcpu=pentiumpro -D__USE_UNIX98
> -D_REENTRANT -D_THREAD_SAFE \
> -I/usr/local/include/pthread/linuxthreads " \
> CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti
> -mcpu=pentiumpro" \
>   ./configure --prefix=/usr/local/mysql --enable-assembler \
> --with-mysqld-ldflags=-all-static \
> --with-client-ldflags=-all-static \
> --localstatedir=/usr/local/mysql/data \
> --enable-thread-safe-client \
> --enable-local-infile \
> --with-extra-charsets=complex \
> --disable-shared \
> --with-innodb \
> --with-mit-threads=no \
> --without-debug \
> --with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE \
> -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread -llgcc_r'
>
>
> this is the error I get:
> checking size of char... configure: error: cannot compute sizeof (char), 77
>
> which ends configure.  Does anyone know what could be causing this?


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