note 87946 rejected from http.requirements by danbrown
| From: | danbrown@php.net | Date: | Thu, 01 Jan 2009 16:48:20 +0000 |
| Subject: | note 87946 rejected from http.requirements by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148741@lists.php.net to get a copy of this message | ||
Note Submitter: arancaytar dot ilyaran at gmail dot com
----
Warning: The libmagic link above links to an abandoned SourceForge project where the most recent
version is from 2000. Needless to say, pecl_http will not actually work with this version. The
symptom of this is a compiler error saying MAGIC_MIME is undeclared.
The latest version of libmagic, according to Wikipedia, is contained in the "file"
utility, and can be acquired here: http://www.darwinsys.com/file/
After installing the above source (which incidentally assumes gcc 4+, and requires replacing
s/-Wext/-W/g in its configure file for older compilers), I was able to compile pecl_http.