#30205 [Opn->Csd]: Missing <unistd.h> in some configure test
| From: | sniper@php.net | Date: | Tue, 28 Sep 2004 20:43:12 +0000 |
| Subject: | #30205 [Opn->Csd]: Missing <unistd.h> in some configure test | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66818@lists.php.net to get a copy of this message | ||
ID: 30205
Updated by: sniper@php.net
Reported By: on at cs dot ait dot ac dot th
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: FreeBSD 5.3-BETA2
PHP Version: 4CVS, 5CVS (20040928)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-09-23 04:37:07] on at cs dot ait dot ac dot th
Description:
------------
In the configure script, regarding the part that test the crytography
(DES, MD5, Blowfish...) the generated test C code is missing #include
<unistd.h> so the test will core dump.
After adding unistd.h, the cryptography is properly detected.
The compile has no problem, only configure has.
From crypt(3) man page:
CRYPT(3) FreeBSD Library Functions Manual
NAME
crypt -- Trapdoor encryption
LIBRARY
Crypt Library (libcrypt, -lcrypt)
SYNOPSIS
>>> #include <unistd.h>
char *
crypt(const char *key, const char *salt);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30205&edit=1