お疲れ様です。
今日は仕事が休みなのでぼちぼちとブログ記事を書いて検証を進めています。
外部依存に修正が入ったとのことでリポジトリの取得からやりなおしてみていますが
apc.enable_cli =1
の状態だとcomposerのinstall時に
---ここから
$ curl -s
http://getcomposer.org/installer | php
#!/usr/bin/env php
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:
The apc.enable_cli setting is incorrect.
Add the following to the end of your `php.ini`:
apc.enable_cli = Off
Downloading...
Composer successfully installed to: /home/shige/BEAR/BEAR.Sunday/composer.phar
Use it: php composer.phar
---ここまで
と怒られてしまい
installを進めても
---ここから
$ ./composer.phar install
PHP Fatal error: include(): Cannot redeclare class
jsonschema\constraints\type in
phar:///home/shige/BEAR/BEAR.Sunday/composer.phar/vendor/composer/ClassLoader.php
on line 150
Fatal error: include(): Cannot redeclare class
jsonschema\constraints\type in
phar:///home/shige/BEAR/BEAR.Sunday/composer.phar/vendor/composer/ClassLoader.php
on line 150
---ここまで
とFatal errorが発生してしまいます。
またapc.enable_cli = Offとして進めた場合Composerのインストールは警告なく進みますが
---ここから
$ php -r 'phpinfo();' | grep -e 'apc.enable_cli'
apc.enable_cli => Off => Off
$ ./composer.phar install
Installing dependencies
- Installing aura/autoload (dev-master)
Cloning 5c5690e1f66bab1c2b73c228ec3332381f3ece38
- Installing aura/router (dev-master)
Cloning 5f918fd4e2f6e946fe56c7f37e57d38ae8a993f2
- Installing aura/web (dev-master)
Cloning 505989595878c94cd3b569c393d73cf6d7d112d9
- Installing monolog/monolog (1.1.0)
Downloading: 100%
- Installing symfony/event-dispatcher (v2.0.15)
Downloading: 100%
- Installing guzzle/guzzle (v2.7.2)
Downloading: 100%
- Installing facebook/xhprof (0.9.2)
Downloading: 100%
- Installing doctrine/common (dev-master)
Cloning d2f8a36b8696b446bf25cfe2b0b3aaf03e0835e6
- Installing ray/aop (dev-master)
Cloning e7e5125f829130c716bd797b389cf4c5e3f8c2fd
- Installing aura/di (dev-master)
Cloning a8b57c0e5d47aa1b43697a6ace1521c0d9a49bb3
- Installing ray/di (dev-master)
Cloning 56e0e3cbd32813de30984b3249751b6515598b1b
- Installing aura/signal (dev-master)
Cloning a1644d4f3d8a44bbe0af1a5d7b0259cf65d0a66c
- Installing bear/resource (dev-master)
Cloning ae5acc46be3aa39241067e613f6e1b7edbf27a8b
- Installing doctrine/dbal (dev-master)
Cloning 1a61068c41b54ed5ee588631402510a71b35db2a
- Installing pagerfanta/pagerfanta (dev-master)
Cloning c490684def33e992241e7fad33bcbd03d9d18643
- Installing vdump/vdump (0.1.0)
Downloading: 100%
- Installing smarty/smarty (v3.1.11)
Checking out /tags/v3.1.11/@4636
[RuntimeException]
Package could not be downloaded, sh: 1: svn: not found
install [--prefer-source] [--dry-run] [--dev] [--no-scripts]
---ここまで
と例外が発生してしまっております。
普段はjavaな人間でphpチャレンジ中で知識が足りず躓いております。
composerがsvnを必要としているんでしょうか?
以上宜しくお願い致します。
2012年7月5日 0:55 koriym <
akihito....@gmail.com>:
> いのうえさん
> ブログ書いてる途中でも質問あったら遠慮なくなげてください。メールでもかまいません。
> よろしくお願いします。
>
> --
> このメールは Google グループのグループ「The BEAR Project for PHP」の登録者に送られています。
> このディスカッションをウェブ上で閲覧するには、
https://groups.google.com/d/msg/bear-project/-/C6bdNcLQ3hYJ