![]() |
Login | Packages | Support | Bugs |
| Documentation: Downloads: |
[2005-01-19 00:03 UTC] mike at lismal dot ch
[2005-01-20 09:30 UTC] mike at lismal dot ch
im using os x 10.3.7 [2005-01-28 09:09 UTC] maxsec
Surprisingly this doesn't work on FreeBSD 5.3 either. I say surprisingly as MacOS 10.5 and FBSD 5.3 share alot of the same code base. If you need any help with this please let me know. [2005-01-28 10:37 UTC] maxsec
In FreeBSD 5.3 (and most like Mac OS 10.3) the magic file is not in /etc/, but /usr/share/misc. The config file needs altering to reflect this change. (I just sym linked the two to get it to compile) [2005-04-05 15:12 UTC] ilia at prohost dot org
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pecl.php.net. In case this was a pecl.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PECL better. [2005-04-06 07:55 UTC] mike at lismal dot ch
to get fileinfo to compile on os x you must install the
fink
packages:
file-shlibs and file-dev
otherwise libmagic won't be found
also when loading the extension in a script:
don't use
dl('fileinfo.' . PHP_SHLIB_SUFFIX);
but:
dl('fileinfo.so');
[2005-10-19 19:13 UTC] chartjes at gmail dot com
I tried building fileinfo on my iBook using 'pecl install fileinfo' and still get the same 'please reinstall libmagic distribution' message. I installed imagemagick via fink, along with file-shlibs and files-dev like previous messages indicated. Don't know how to get the fileinfo configure script to look at /sw/ (where fink installed stuff) to look for the magic files. [2007-11-30 17:42 UTC] taylorbarstow at gmail dot com
This is still a problem for Mac OS X users (Fileinfo 1.0.4, OS X 10.4.11). The fix (below) is to alter the configure script, but there should be away to do this from the command line. The quick workaround is to edit the configure script; on line 3218, where it reads: SEARCH_PATH="/usr/local /usr /usr/share/file" change it to read: SEARCH_PATH="/usr/local /usr /usr/share/file /sw" It would be a lot better if the package maintainer could change the configure script to accept a --with-libmagic directive, so OS X users could do: # ./configure --with-libmagic=/sw Thanks [2008-09-02 02:50 UTC] abajay at netzero dot com
Install Fink sudo apt-get install file-shlibs sudo apt-get install file-dev sudo pecl install fileinfo #this will fail with an error go to the pear/temp/download/fileinfo directory edit the configure file add /sw to SEARCH_PATH save ./configure make sudo make install restart apache |
||||||||||||||||||||||
|
PRIVACY POLICY | CREDITS |
|
|
Copyright © 2001-2008 The PHP Group All rights reserved. |
Last updated: Fri Aug 07 10:22:05 2009 UTC Bandwidth and hardware provided by: pair Networks |