From:             linuzboy at 163 dot com
Operating system: Debian etch
PHP version:      5.1.6
PHP Bug Type:     MySQL related
Bug description:  configure fail with mysql4.1.21-max-icc

Description:
------------
I have errors while compiling php 5.1.6 with mysql 4.1.21 
(mysql-max-4.1.21-pc-linux-gnu-i686-icc-glibc23)

./configure  --enable-magic-quotes --with-curl --enable-zend-multibyte \
  --enable-fastcgi --enable-mbstring   --enable-mbregex
--with-config-file-path=/etc \
  --with-gd --with-zlib --with-jpeg --with-png --with-xpm  \
  --enable-gd-native-ttf --with-ttf   --with-mysql=/usr/local/mysql \
  --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-sockets \
  --without-sqlite --with-iconv   -with-pear -disable-debug \
  --with-freetype-dir --with-gettext --enable-memory-limit
 
But I always get the error 
...
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more
information.
...

And:
configure:58533: checking for mysql_close in -lmysqlclient
configure:58552: gcc -o conftest -I/usr/include -g -O2 
-Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -L/usr/lib 
conftest.c -lmysqlclient  -lfreetype -lpng -lz -lcurl -lz -lresolv -lm
-ldl -lnsl  -lxml2 -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support
-lcom_err -lresolv -lidn -lssl -lcrypto -ldl -lssl -lcrypto -lz -lxml2
1>&5
/usr/local/mysql/lib/libmysqlclient.a(client.o): In function
`mysql_real_connect':
client.c:(.text+0x1482): undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(client.o): In function
`cli_read_rows':
client.c:(.text+0x1f93): undefined reference to `_intel_fast_memcpy'
/usr/local/mysql/lib/libmysqlclient.a(net.o): In function `my_net_write':

Seeing the '_intel_fast_memcpy', I knew that it is because of the icc
compiled mysql. 
Can you help me how to solve this problem? I do not want to download a new
gcc compiled mysql. 
Maybe I just need  libmysqlclient 4.1.21 (non-rpm), and where to download
it? 
I am using gcc 4.1.2.


-- 
Edit bug report at http://bugs.php.net/?id=38939&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38939&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38939&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38939&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38939&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38939&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38939&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38939&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38939&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38939&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38939&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38939&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38939&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38939&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38939&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38939&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38939&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38939&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38939&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38939&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38939&r=mysqlcfg

Reply via email to