php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57568 Doesn't install
Submitted: 2007-03-09 14:50 UTC Modified: 2015-05-12 14:17 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: kevinwhite at bellsouth dot net Assigned: cmb (profile)
Status: Closed Package: fann (PECL)
PHP Version: 5.1.6 OS: XP Pro
Private report: No CVE-ID: None
 [2007-03-09 14:50 UTC] kevinwhite at bellsouth dot net
Description:
------------
Hello.

Noob to fann.  Just installed pear, and I find the "pear install fann" instruction results in:
No releases available for package "pear.php.net/fann" - package pecl/fann can be
installed with "pecl install fann"
Cannot initialize 'fann', invalid or missing package file
Package "fann" is not valid
install failed

So, I went to http://pecl.php.net/fann, as described, but I was unable to find whatever URI I am supposed to use.  I downloaded the file, but couldn't figure out how I am supposed to install it using pear, or figure out how to put a URI in the pear command such that it would work.

C:\PHP>pear install http://pecl.php.net/fann
downloading fann ...
Starting to download fann (Unknown size)
.....done: 7,959 bytes
XML error: EntityRef: expecting ';' at line 86
Download of "http://pecl.php.net/fann" succeeded, but it is not a valid package
archive
Invalid or missing remote package file
Package "http://pecl.php.net/fann" is not valid
install failed

I also tried:
C:\PHP>pear install http://pecl.php.net/get/fann
downloading fann-0.1.1.tgz ...
Starting to download fann-0.1.1.tgz (9,509 bytes)
.....done: 9,509 bytes
3 source files, building
ERROR: The DSP fann.dsp does not exist.

Also, there is a link:
If you cannot install FANN-PHP using PEAR, you can try following the (obsolete) instructions at http://www.cs.utexas.edu/users/UTCS/online-docs/php/pear/faq.install-pecl.html.

But alas, the link is broken.  If anyone has any useful information, or the obsolete instructions, it would be a great help.

Please let me know -- I am anxious to get started.

Thanks,

-Kevin



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-05-12 14:17 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2015-05-12 14:17 UTC] cmb@php.net
There are precompiled DLLs available now, which are supposed to be
the easiest way to add a PECL package on Windows.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Dec 05 03:01:23 2020 UTC