[PHP-DEV] PHP 4.0 Bug #6790: ./configure script error From: lawrenceong <email protected>
Date: 09/17/00

From: lawrenceong <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>