From: on at cs dot ait dot ac dot th
Operating system: FreeBSD 5.3-BETA2
PHP version: 4.3.8
PHP Bug Type: *Compile Issues
Bug description: Missing <unistd.h> in some configure test
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 bug report at http://bugs.php.net/?id=30205&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30205&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30205&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30205&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30205&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30205&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30205&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30205&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30205&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30205&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30205&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30205&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30205&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30205&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30205&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30205&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30205&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30205&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30205&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30205&r=mysqlcfg