php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38939 configure fail with mysql4.1.21-max-icc
Submitted: 2006-09-24 11:11 UTC Modified: 2006-09-24 11:19 UTC
From: linuzboy at 163 dot com Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.1.6 OS: Debian etch
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: linuzboy at 163 dot com
New email:
PHP Version: OS:

 

 [2006-09-24 11:11 UTC] linuzboy at 163 dot com
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-24 11:19 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC