PHP 4.0 Bug #6790: ./configure script error
| From: | lawrenceong at optushome dot com dot au | Date: | Sun, 17 Sep 2000 14:41:08 +0000 |
| Subject: | PHP 4.0 Bug #6790: ./configure script error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33442@lists.php.net to get a copy of this message | ||
From: lawrenceong@optushome.com.au
Operating system: Linux (Debian)
PHP version: 4.0.2
PHP Bug Type: *Install and Config
Bug description: ./configure script error
Hi,
When i do "./configure --with-mcrypt" this is what i get:
...
checking for mcrypt support... yes
checking for init_mcrypt in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... yes
...
and it all goes fine.
When i do
'./configure' '--with-regex=system'
'--with-config-file-path=/etc/php4/apache' '--enable-filepro'
'--enable-ftp' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-trans-sid' '--disable-debug'
'--disable-static' '--with-gd=shared' '--with-jpeg-dir=/usr'
'--with-mm' '--with-mhash=shared' '--with-mysql=shared,/usr'
'--with-pcre-regex=/usr' '--with-snmp=shared' '--with-ttf'
'--enable-freetype-4bit-antialias-hack'
'--with-t1lib''--with-xml=shared,/usr' '--with-xpm-dir=/usr/X11R6'
'--with-yp' '--with-zlib' '--with-mcrypt'
this is what i get:
...
checking for mcrypt support... yes
checking for init_mcrypt in -lmcrypt... no
checking for mcrypt_module_open in -lmcrypt... no
configure: error: Sorry
I think there's something wrong with the installation script somewhere. Can't be bothered
debugging it. In fact, i do have init_mcrypt as well in -lmcrypt. Tested it using a small C file.
Cheers,
Lawrence Ong