Skip to content

Error during first use #29

@mcandre

Description

@mcandre

PEAR 1 was giving me trouble, so I tried using PEAR 2.

Trace:

$ curl http://pear2.php.net/pyrus.phar
$ php pyrus.phar install phpmd
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Pyrus: No user configuration file detected
It appears you have not used Pyrus before, welcome!  Initialize install?
Please choose:
  yes
  no
[yes] : 
Great.  We will store your configuration in:
  /Users/andrew/.pear/pearconfig.xml
Where would you like to install packages by default?
[/Users/andrew] : 
You have chosen:
/Users/andrew
Pyrus\Config\Exception: Unable to parse invalid PEAR configuration at "/Users/andrew"
 Pyrus\Config\Exception: Document is empty
  Pyrus\Config\Exception: Start tag expected, '<' not found

System:

$ specs php os
Specs:

specs 0.7
https://github.com/mcandre/specs#readme

pear version
PEAR Version: 1.9.4
PHP Version: 5.4.17
Zend Engine Version: 2.4.0
Running on: Darwin mockingjay.westell.com 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

php --version
PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

system_profiler SPSoftwareDataType | grep 'System Version'
      System Version: OS X 10.9 (13A603)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions