Re: Bug in latest update of Mysql code in PHP
| From: | sinisa at mysql dot com | Date: | Wed, 23 Aug 2000 10:29:44 +0000 |
| Subject: | Re: Bug in latest update of Mysql code in PHP | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-962@lists.php.net to get a copy of this message | ||
Kirill Maximov writes:
>
> Hi,
>
> My test configuration is:
> - Solaris 7 x86, Oracle7.3.2, Mysql 3.22.32, sysV semaphores, GD
> 1.8.3/FreeType
>
> CVS line:
>
> ./configure \
> --with-jpeg-dir=/usr/local \
> --with-gd --with-oracle \
> --with-mysql \
> --with-config-file-path=/h/home/kir/SOFT/conf \
> --with-apxs=/h/home/kir/SOFT/bin/apxs \
> --disable-debug \
> --enable-magic-quotes=yes \
> --enable-memory-limit=yes \
> --enable-url-fopen-wrapper=no \
> --enable-sysvsem=yes \
> --enable-sysvshm=yes \
> --enable-track-vars=yes \
> --with-system-regex \
> --enable-safe-mode \
> --with-gdbm \
> --enable-ftp \
> --with-mod_charset \
> --with-java=/u/local/jdk1.1.5
>
>
> For the latest CVS I've got a trouble with
>
> Making all in libmysql
> make[3]: Entering directory `/h/home/kir/SRC/php4/ext/mysql/libmysql'
> make[4]: Entering directory `/h/home/kir/SRC/php4/ext/mysql/libmysql'
> /bin/sh /h/home/kir/SRC/php4/libtool --silent --mode=compile gcc -I. -I/h/home/
> kir/SRC/php4/ext/mysql/libmysql -I/h/home/kir/SRC/php4 -I/h/home/kir/SRC/php4/ma
> in -I/h/home/kir/SOFT/include -I/h/home/kir/SRC/php4/Zend -I/h/home/kir/SRC/php4
> -I/usr/local/include -I/usr/local/include/freetype -I/h/home/kir/SRC/php4/ext/m
> ysql/libmysql -I/u/oracle7/rdbms/public -I/u/oracle7/rdbms/demo -I/u/oracle7/net
> work/public -I/h/home/kir/SRC/php4/ext/xml/expat/xmltok -I/h/home/kir/SRC/php4/e
> xt/xml/expat/xmlparse -D_POSIX_PTHREAD_SEMANTICS -DXML_BYTE_ORDER=12 -g -O2 -c
> libmysql.c
> In file included from libmysql.c:23:
> global.h:57: warning: `_POSIX_PTHREAD_SEMANTICS' redefined
> *Initialization*:1: warning: this is the location of the previous definition
> In file included from libmysql.c:23:
> global.h:178: asm/atomic.h: No such file or directory
> make[4]: *** [libmysql.lo] Error 1
> make[4]: Leaving directory `/h/home/kir/SRC/php4/ext/mysql/libmysql'
>
> The changes, which lead to error, were done today, 22/08 by mysql CVS user.
>
> Best regards,
> KIR
>
> --
> ---- ----- ----- ----- ----- ----- ----- -----
> Kirill Maximov maxkir@email.com
> ICQ: 14796643
>
HI!
Two things. First try using our latest 3.23 code.
Second, you Linux include dirs are not well symlinked.
Regards,
Sinisa
+----------------------------------------------------------------------+
| ____ __ _____ _____ ___ == MySQL AB |
| /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic |
| /*/ /*/ /*/ \*\_ |*| |*||*| mailto:sinisa@mysql.com |
| /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaka, Cyprus |
| /*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____ |
| ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^ |
| /*/ \*\ Developers Team |
+----------------------------------------------------------------------+