> hi,
> I am trying to compile mysql 3.23.45 on solaris 2.6 I run the configure
> option
> ./configure --enable-thread-safe-client --with-mysql-user=mysqldba
> the configure complains
> 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! #
> LD_LIBRARY_PATH is set to /usr/lib
> libm.a is in /usr/lib
> I cannot get past this,
> any suggestions.
> Matt
mysql-3.23.49 on Solaris9 (Ultra10 / Ultrasparc IIi). It works
beautifully. However, you may need/want to add your two options
and slim it down some, but this binary is optimized for my platform.
CFLAGS="O3 -Ultrasparc -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc \
CXXFLAGS="-O3 -Ultrasparc -mcpu=v8 -Wa,-xarch=v8plusa \
felide-constructors -fno-exceptions -fno-rtti" ./configure \
prefix=/usr/local/mysql --enable-assembler \
with-mysqld-ldflags=-all-static --enable-shared \
with-extra-charset=complex
-Have fun!
--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: PGP Key Block: https://www.dndlabs.net/pgpkey/pgpkey.john-dndlabs.txt
iEYEABECAAYFAjyqg30ACgkQSVfTxvps866E6wCgh0JCMRtMlWPqbC1AM32da45x
bR4AnRE7Zc/9mIrqvWBxX3oBkr0KFYcp
=HYAg
-----END PGP SIGNATURE-----