Aegir-up(VagrantベースのAegir仮想マシン)を使用して、適切なDrupal開発環境を確立しようとしています。次の「クイックスタート」手順に従って失敗する方法を説明します。
drush-vagrantやdrush-hostsなどの依存関係をインストールします。
C:\Users\Domas>drush dl drush-vagrant drush-hosts
Install location C:\Users\Domas/.drush/drush-vagrant already exists. Do you want to overwr
ite it? (y/n): y
Project drush-vagrant (7.x-2.0-beta6) downloaded to [success]
C:\Users\Domas/.drush/drush-vagrant.
Project drush-vagrant contains 0 modules: .
Install location C:\Users\Domas/.drush/drush-hosts already exists. Do you want to overwrit
e it? (y/n): y
Project drush-hosts (7.x-1.1) downloaded to C:\Users\Domas/.drush/drush-hosts. [success]
Project drush-hosts contains 0 modules: .
「0モジュールを含む」が重要かどうかはわかりません。aegir-upをインストールしようとしています:
C:\Users\Domas>drush dl aegir-up
Install location C:\Users\Domas/.drush/aegir-up already exists. Do you want to overwrite i
t? (y/n): y
Project aegir-up (7.x-2.0-alpha1) downloaded to C:\Users\Domas/.drush/aegir-up. [success]
Project aegir-up contains 0 modules: .
最後に、vagrant-buildを実行してvagrantプロジェクトを実行します(私は推測します)、これは失敗する場所です:
C:\Users\Domas>drush vagrant-build --blueprint=aegir
The name of your project may be used in URLs, and so should only contain lower-case letter
s and numbers.
It may also contain hyphens (-) and dots (.), so long as they do not come at the beginning
or end of the name.
What would you like to call your project?: test
Would you like to generate entries in /etc/hosts for the VMs in your project? (y/n): y
You are about to:
* Create a new project called "test" at "C:\Users\Domas/vagrant/projects/test".
* Add entries for the FQDNs of the VMs to /etc/hosts. (You will be prompted for your sud
o password.)
* Generate Drush aliases for the project and VMs.
* Launch the project VMs immediately.
* Build the project using the "aegir" blueprint from the "aegirup" extension.
Do you want to proceed with initializing the project? (y/n): y
Copied the "aegir" blueprint directory to C:\Users\Domas/vagrant/projects/test. [ok]
'egrep' is not recognized as an internal or external command,
operable program or batch file.
symlink(): Cannot create symlink, error code(1314) vagrant.blueprints.inc:90 [warning]
Errors occurred when running "symlink()" in [error]
"vagrant_default_build_project_setup".
Drush command terminated abnormally due to an unrecoverable error. [error]
最初は、Egrepが欠落しているだけだと思い、UnxUtilsをダウンロードして、PATHに追加し、コマンドプロンプトからEgrepが実行されることを確認しました。ただし、aegir-upのセットアップ手順をやり直した後も、同じエラーが発生しました。
私はこれらのツールのどれにも特に精通していません。VirtualBox、Vagrant、DrushおよびNFSサーバー、Ruby、gemがインストールされています。Win8で実行しています。私は一日中答えを探していました。誰かがこれに光を当ててくれませんか?