RE: [PECL-DEV] Fileinfo install...
| From: | Shawn Rizzoli | Date: | Thu, 17 Feb 2005 20:59:21 +0000 |
| Subject: | RE: [PECL-DEV] Fileinfo install... | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2026@lists.php.net to get a copy of this message | ||
That's what I figured but I really don't know where to get the right
files... I can't seem to find a way to install it.
Shawn
-----Original Message-----
From: sumoraigabe-pecl@yahoo.com [mailto:sumoraigabe-pecl@yahoo.com]
Sent: Thursday, February 17, 2005 3:25 PM
To: Shawn Rizzoli; pecl-dev@lists.php.net
Subject: Re: [PECL-DEV] Fileinfo install...
My guess is that, since this is a redhat-based linux system, you need to
make sure you have the -dev rpms installed for the "magic" package. You
probably are missing the libs / includes.
--- Shawn Rizzoli <shawnr@kaycan.com> wrote:
>
> Trying to install fileinfo for the past couple of hours... Going I
> little nuts trying to solve a problem, hopefully you guys can give me
> some help.
> Here's what's going on;
>
> Centos 3.4 (RHEL repack)
> PHP Version 4.3.2
> Apache 2.0.46-44
>
> **ERROR MSG:**
>
> checking for magic files in default path... not found
> configure: error: Please reinstall the libmagic distribution
>
> I can't figure out how to get the magic library working, I've read the
> same problem happening on FreeBSD 5.3 but the fix doesn't work for me.
>
> # pear install Fileinfo-beta
>
> downloading Fileinfo-0.2.tgz ...
> Starting to download Fileinfo-0.2.tgz (5,491 bytes)
> .....done: 5,491 bytes
> 3 source files, building
> running: phpize
> Configuring for:
> PHP Api Version: 20020918
> Zend Module Api No: 20020429
> Zend Extension Api No: 20021010
> building in /var/tmp/pear-build-root/Fileinfo-0.2
> running: /tmp/tmpMkxiMw/Fileinfo-0.2/configure
> checking for gcc... gcc
> checking for C compiler default output file name...
> a.out
> checking whether the C compiler works... yes checking whether we are
> cross compiling... no checking for suffix of executables...
> checking for suffix of object files... o checking whether we are using
> the GNU C compiler...
> yes
> checking whether gcc accepts -g... yes checking for gcc option to
> accept ANSI C... none needed checking whether gcc and cc understand -c
> and -o together... yes checking if compiler supports -R... no checking
> if compiler supports -Wl,-rpath,... yes checking for PHP prefix...
> /usr checking for PHP includes... -I/usr/include/php
> -I/usr/include/php/main -I/usr/include/php/Zend
> -I/usr/include/php/TSRM checking for PHP extension directory...
> /usr/lib/php4
> checking how to run the C preprocessor... gcc -E checking for egrep...
> grep -E checking for gawk... gawk checking for fileinfo support...
> yes, shared checking for magic files in default path... not found
> configure: error: Please reinstall the libmagic distribution
> `/tmp/tmpMkxiMw/Fileinfo-0.2/configure' failed
>
> --
> PECL development discussion Mailing List
> (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
=====
--
PECL development discussion Mailing List (http://pecl.php.net/) To
unsubscribe, visit: http://www.php.net/unsub.php