Bug #11648 Updated: Configure fails to detect crypt()
| From: | sniper@php.net | Date: | Mon, 25 Jun 2001 14:11:29 +0000 |
| Subject: | Bug #11648 Updated: Configure fails to detect crypt() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57969@lists.php.net to get a copy of this message | ||
ID: 11648
Updated by: sniper
Reported By: thomasdeniau@mac.com
Old-Status: Open
Status: Feedback
Old-Bug Type: *Configuration Issues
Bug Type: *Encryption and hash functions
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
It also checks for unistd.h. But it doesn't affect whether
or not crypt() is found. The check for crypt() is later
in the configure and it shouldn't matter if crypt.h is found
or not.
Please send me your config.log file so I can see what might
be the cause. I wonder if there is libcrypt in your system?
Or is crypt() provided by some other library?
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-06-25 03:30:08] thomasdeniau@mac.com
When I run configure, it says :
checking for crypt.h... no
And so disables crypt() function.
My system doesn't have crypt.h ; crypt() function is in unistd.h.
I've managed to compile a small C program which includes unistd.h, and then uses crypt(), and
everything works properly.
Can configure check for crypt() in unistd.h ?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11648&edit=2