problem installing pecl packages
| From: | Kendyl Peebles | Date: | Tue, 22 Feb 2005 17:16:16 +0000 |
| Subject: | problem installing pecl packages | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17622@lists.php.net to get a copy of this message | ||
Greetings,
I seem to be having an issue installing PECL packages with pear and even
manually. I'm beginning to think I have something missing that is required, if
anyone has any ideas please please help.
here is what happens...
==========================
# 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
building in /var/tmp/pear-build-root/Fileinfo-0.2
running: /tmp/tmpNs8ewv/Fileinfo-0.2/configure
configure: error: cannot find sources (Makefile.in) in
/tmp/tmpNs8ewv/Fileinfo-0.2 or ..
`/tmp/tmpNs8ewv/Fileinfo-0.2/configure' failed
==========================
if I try it manually by downloading Fileinfo-0.2.tar.tgz, unpacking it and go
into the Fileinfo-0.2 directory, the following files are there...
==========================
-rw-r--r-- 1 1000 102 1474 Feb 12 2004 config.m4
-rw-r--r-- 1 1000 102 26 Feb 12 2004 CREDITS
-rw-r--r-- 1 1000 102 0 Feb 12 2004 EXPERIMENTAL
-rw-r--r-- 1 1000 102 11899 May 8 2004 fileinfo.c
-rw-r--r-- 1 1000 102 865 Feb 12 2004 fileinfo.php
-rw-r--r-- 1 1000 102 1965 May 8 2004 php_fileinfo.h
==========================
so from there I run phpize and I now have the following files and directories..
==========================
./config.m4
./fileinfo.c
./php_fileinfo.h
./CREDITS
./EXPERIMENTAL
./fileinfo.php
./build
./build/dynlib.mk
./build/fastgen.sh
./build/library.mk
./build/ltlib.mk
./build/mkdep.awk
./build/program.mk
./build/rules.mk
./build/rules_common.mk
./build/shtool
./acinclude.m4
./dynlib.m4
./configure.in
./install-sh
./mkinstalldirs
./missing
./aclocal.m4
./autom4te.cache
./autom4te.cache/requests
./autom4te.cache/output.0
./autom4te.cache/traces.0
./configure
./config.h.in
./config.guess
./config.sub
./ltmain.sh
==========================
if I then run ./configure I get the following
==========================
# ./configure
configure: error: cannot find sources (Makefile.in) in . or ..
==========================
this happens for any pecl package I've tried to install.. Pear seems to work
fine with any other pear packages or tasks.
pear -V returns the following
==========================
# pear -V
PEAR Version: 1.3.5
PHP Version: 4.2.2
Zend Engine Version: 1.2.0
Running on: Linux sylvester.devel.redhat.com 2.4.20-2.41smp #1 SMP Sun Feb 9
09:29:47 EST 2003 i686 athlon i386 GNU/Linux
==========================
php is installed on rh9 through rpm
php4.2.2-17
php-devel4.2.2-17
php-imap4.2.2-17
php-ldap4.2.2-17
php-mysql4.2.2-17
php-odbc4.2.2-17
==========================
pear config-show gives
==========================
# pear config-show
Configuration:
==============
PEAR executables directory bin_dir /usr/bin
PEAR documentation directory doc_dir /usr/share/pear/docs
PHP extension directory ext_dir /usr/lib/php4
PEAR directory php_dir /usr/share/pear
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/share/pear/data
PHP CLI/CGI binary php_bin /usr/bin/php
PEAR test directory test_dir /usr/share/pear/tests
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy <not set>
PEAR server master_server pear.php.net
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
==========================================
a final note... configure for any other src works fine and great no issues but
i think these configures are looking for something else...
thanks in advance
Kendyl Peebles
IT/IS Director & Dept Manager
Clancy & Theys Construction Company
Raleigh, NC
______________________________________________________________________
Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information or otherwise protected by law.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
______________________________________________________________________
CTMail powered by qmail and imp