-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 21 November 2002 13:49, Sönke Ruempler wrote:

> make[2]: Wechsel in das Verzeichnis
> Verzeichnis »/usr/src/mysql-3.23.53/libmysql«
> /bin/sh ../libtool --mode=compile
> ME="\"/usr\""                         -DDATADIR="\"/usr/var\""
>                         -DSHAREDIR="\"/usr/share/mysql\""
> -DUNDEF_THREADS_HA CK -DDONT_USE_RAID  -I./../include -I../incl
> ude             -I./.. -I.. -I..    -O3 -DDBUG_OFF   -c libmysql.c
> rm -f .libs/libmysql.lo
> gcc -DDEFAULT_CHARSET_HOME=\"/usr\" -DDATADIR=\"/usr/var\"
> -DSHAREDIR=\"/usr /share/mysql\" -DUNDEF_THREADS_HACK -DDONT_U
> SE_RAID -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -c
> libmysql.c  -fPIC -DPIC -o .libs/libmysql.lo
> libmysql.c: In function `mysql_real_connect':
> libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
> incompatible pointer type
> libmysql.c:1325: too few arguments to function `gethostbyname_r'
> libmysql.c:1325: warning: assignment makes pointer from integer without a
> cast
> make[2]: *** [libmysql.lo] Fehler 1
> make[2]: Verlassen des Verzeichnisses
> Verzeichnis »/usr/src/mysql-3.23.53/libmysql«
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/src/mysql-3.23.53«
> make: *** [all-recursive-am] Fehler 2
> [root@sky /usr/src/mysql-3.23.53]#
>
> what is that, ahh?

Make sure that the GNU C++ compiler "g++" is installed (Package "gpp" on SuSE 
Linux) or set the environment variable "CXX=gcc".

> btw: which configure parameter is for the datadir, where the mysql
> databases are?

The parameter "--localstatedir=<path>" is used for that.

Bye,
        LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Lenz Grimmer <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/   Hamburg, Germany
       <___/   www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE93OYmSVDhKrJykfIRArP9AJ4vxMs4FVpUz2Y69FkTFBD6lHw19wCfeEm7
FTjLozeyRIQTYWCzKTDZz9Y=
=aoil
-----END PGP SIGNATURE-----

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