problems using ./configure with PHP41
| From: | robertjm@hockeyhockeyhockey.com | Date: | Sun, 03 Dec 2000 23:35:10 +0000 |
| Subject: | problems using ./configure with PHP41 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1056@lists.php.net to get a copy of this message | ||
Hi all,
I'm new to the list, so I hope you'll go easy on me. :-)
Recently I bought PHP, fast and Easy Web Development, which
starts by installing MYSQL, then Apache, and then PHP.
MYSQL went fine.
Apache went fine
PHP didn't go fine. I went to configure PHP, I got an error, and it
suggested looking at the debug.log file to see what the error was.
I've included the contents of my command and the debug.log file
below. The first thing I noticed was that there are several passes
where there is a space in there:
(/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql)
and the actual error says "cannot find -lmysqlclient"
That space would throw off the location fo the mysql directory,
under lib, correct?
Anyways, any suggestions will be greatly appreciated.
Robert
-------
command:
./configure --with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/
--with-apxs=/usr/local/apache_1.3.12/bin/apxs
--------------------
debug.log (Sorry abou the wierd formatting. I was pasting it from
another program, where I'd typed it in manually, since I'm sending
this with my Windows machine):
CONFIGURE: command line repeated
CC: gcc
CFLAGS: -g -02
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache_1.3.12/include -
I$(top_builddir)/Zend -I$(top_srcdir) -I/usr/local/mysql-3.22.32-pc-
linux-gnu-i686//include
LDFLAGS: -WI,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-
i686//lib/mysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-
i686//lib/mysql
LIBS: -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/mysql-3.22.32-pc-linux-gnu-
i686//lib/mysql
uname -a; Linux localhost:localdomain 2.2.17-21mdk #1 Thu Oct 5
13:16:08 CEST 2000 i686 unknown
gcc -o conftest -g -02 -WI,-rpath,/usr/local/mysql-3.22.32-pc-linux-
gnu-i686//lib/mysql -L/usr/local/mysql-3.22.32-pc-linux-gnu-
i686//lib/mysql
conftest.c -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5
/usr/bin/ld: cannot fine -lmysqlclient
collect2: ld returned 1 exit status.
-------------------
Robert Marshall
robertjm@hockeyhockeyhockey.com
http://www.hockeyhockeyhockey.com
---
"Hockey, not just a way of life..
Well actually it is!!"