「Engineering」カテゴリーアーカイブ

Infrastructure as Code

本書はChefでもAnsibleでもVagrantに関する書籍では無く「Infrastructure as Code」とのことで、ツールの使い方ではなく考え方、ポリシーが余すところなく記載されている。Amazonの説明も以下。目次はこちら

Infrastructure as Codeは自動化、バージョン管理、テスト、継続的インテグレーションといった、ソフトウェア開発のプラクティスをシステム管理に応用するための方法論です。
本書は、はじめにInfrastructure as Codeの原則と考え方を説明し、次にダイナミックインフラストラクチャプラットフォーム、インフラストラクチャ定義ツール、サーバ構成ツール、インフラストラクチャサービスの4つにカテゴライズして解説します。
その上で、プロビジョニングやサーバーテンプレート管理のパターンから、テスト、変更管理パイプライン、組織やワークフローのプラクティスまでを詳述しており、Infrastructure as Codeを網羅的に理解することができます。
各ツールの使い方よりも、背景にあるコンセプトや考え方の説明に重点を置くことで、特定のツールに縛られることなく、Infrastructure as Codeを適切に実現することを目指す本書は、エンジニアおよびマネージャ必読の一冊です。

Infrastructure as Codeを考えていくと、当然ぶつかるカリカリにチューニングされたインフラ〜本書では「構成ドリフト」として紹介されている〜の問題や、構成管理のプロセスの問題など、多数の問題が取り上げられているが、全般に共通するのはサブタイトルにある「クラウドにおけるサーバ管理の原則とプラクティス」〜「クラウドにおける」という枕詞は無くても良いと思う〜、もといその概念。これからサーバが多数増えていく中で、管理者は何をすべきか、何を考えるべきか、という点がもれなく書かれている。

サーバ管理担当は必読であるし、仮にも標準化なんてキーワードを振りかざす立場の人は読んで欲しい。名著。

諦めてEl capitanにGraphite

諦めて、おうちのEl capitanでせめてもの画面だけは見ようとしてみる。いきなりつまずく。

$vagrant plugin install vagrant-vbguest
Installing the 'vagrant-vbguest' plugin. This can take a few minutes...
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

An error occurred while installing ffi (1.9.14), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.14'` succeeds before bundling.

gemインストールもNG。

$gem install ffi -v '1.9.14'
Fetching: ffi-1.9.14.gem (100%)
Building native extensions.  This could take a while...
ERROR:  Error installing ffi:
	ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h


Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.14 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.14/ext/ffi_c/gem_make.out

Xcodeのコマンドラインツールを入れてみる。前もやった気がするが。

$ xcode-select --install
$ sudo xcodebuild -license
$ gem install ffi -v '1.9.14'
Building native extensions.  This could take a while...
Successfully installed ffi-1.9.14
Parsing documentation for ffi-1.9.14
Installing ri documentation for ffi-1.9.14
1 gem installed

vagrant upしたら怒られた

$vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'mayflower/trusty64-puppet3' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'mayflower/trusty64-puppet3'
    default: URL: https://atlas.hashicorp.com/mayflower/trusty64-puppet3
==> default: Adding box 'mayflower/trusty64-puppet3' (v0.7.2) for provider: virtualbox
    default: Downloading: https://atlas.hashicorp.com/mayflower/boxes/trusty64-puppet3/versions/0.7.2/providers/virtualbox.box
==> default: Box download is resuming from prior download progress
==> default: Successfully added box 'mayflower/trusty64-puppet3' (v0.7.2) for 'virtualbox'!
==> default: Importing base box 'mayflower/trusty64-puppet3'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'mayflower/trusty64-puppet3' is up to date...
==> default: Setting the name of the VM: synthesize-master_default_1484155138036_88827
Vagrant cannot forward the specified ports on this VM, since they
would collide with some other application that is already listening
on these ports. The forwarded port to 8443 is already in use
on the host machine.

To fix this, modify your current project's Vagrantfile to use another
port. Example, where '1234' would be replaced by a unique host port:

  config.vm.network :forwarded_port, guest: 443, host: 1234

Sometimes, Vagrant will attempt to auto-correct this for you. In this
case, Vagrant was unable to. This is usually because the guest machine
is in a state which doesn't allow modifying port forwarding. You could
try 'vagrant reload' (equivalent of running a halt followed by an up)
so vagrant can attempt to auto-correct this upon booting. Be warned
that any unsaved work might be lost.

Vagrantfileを修正。ひとまず8445に。

config.vm.network :forwarded_port, guest: 443, host: 8445

起動できた!

 

grafanaインストール他

新規にEC2イメージを作ったところかたスタート。まずはVirtualBoxをインストール。色々と大ハマリ。結局、Oracleページよりrpmをダウンロードしてインストール

# yum install VirtualBox-5.1-5.1.12_112440_el7-1.x86_64.rpm  --skip-broken
(中略)
飛ばしました (依存性の問題):
  VirtualBox-5.1.x86_64 0:5.1.12_112440_el7-1                                   
  libXcursor.x86_64 0:1.1.14-2.1.9.amzn1                                        
  libXinerama.x86_64 0:1.1.2-2.7.amzn1                                          
  libXmu.x86_64 0:1.1.1-2.8.amzn1                                               
  libXt.x86_64 0:1.1.4-6.1.9.amzn1                                              
  libvpx.x86_64 0:1.2.0-1.0.amzn1  

【参考】skip-brokenとは

続いて、Vagrantインストール。こちらも、本家よりrpmを入手してインストール。続いてGraphite。

$ wget https://github.com/obfuscurity/synthesize/archive/master.zip
$ unzip master.zip
$ cd synthesize-master/
$ vagrant plugin install vagrant-vbguest
$ vagrant up
No usable default provider could be found for your system.

Vagrant relies on interactions with 3rd party systems, known as
"providers", to provide Vagrant with resources to run development
environments. Examples are VirtualBox, VMware, Hyper-V.

The easiest solution to this message is to install VirtualBox, which
is available for free on all major platforms.

If you believe you already have a provider available, make sure it
is properly installed and configured. You can see more details about
why a particular provider isn't working by forcing usage with
`vagrant up --provider=PROVIDER`, which should give you a more specific
error message for that particular provider.

どうもVirtualBoxがVagrantから見えない・・・。色々はまったが、Amazon LinuxはXenで稼働しており、VirtualBoxはインストールできないとか。(仮想化上ではそもそもVirtualBoxが動かないとか)。Graphiteはソースを入手。

$git clone https://github.com/graphite-project/graphite-web.git
$git clone https://github.com/graphite-project/carbon.git
$git clone https://github.com/graphite-project/whisper.git
$git clone https://github.com/graphite-project/ceres.git

各フォルダでビルド。

python setup.py install

オフィシャルに従いもろもろ追加。

yum install python-devel cairo-devel libffi-devel

djangoをインストール

pip install Django==1.10.5

次は怒られた。

$ pip install cairocffi
You are using pip version 6.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting cairocffi
  Downloading cairocffi-0.7.2.tar.gz (75kB)
    100% |████████████████████████████████| 77kB 2.9MB/s 
    Complete output from command python setup.py egg_info:
    unable to execute 'gcc': No such file or directory
    unable to execute 'gcc': No such file or directory

まずはpipをアップグレードして、gccもインストール。他もろもろ。

$pip install --upgrade pip
$yum install gcc
$/usr/local/bin/pip install cairocffi
$/usr/local/bin/pip install django-tagging
$/usr/local/bin/pip install pytz
$/usr/local/bin/pip install pyparsing
$

いよいよDBセットアップがエラー

PYTHONPATH=/opt/graphite/webapp/ django-admin.py migrate --settings=graphite.settings --run-syncdb
/opt/graphite/webapp/graphite/settings.py:249: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security
  warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security')
Traceback (most recent call last):
  File "/usr/local/bin/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/usr/local/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/usr/local/lib/python2.7/site-packages/django/apps/config.py", line 199, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/opt/graphite/webapp/graphite/account/models.py", line 16, in <module>
    from django.contrib.auth import models as auth_models
  File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 52, in <module>
    class AbstractBaseUser(models.Model):
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 119, in __new__
    new_class.add_to_class('_meta', Options(meta, app_label))
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 316, in add_to_class
    value.contribute_to_class(cls, name)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/options.py", line 214, in contribute_to_class
    self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
  File "/usr/local/lib/python2.7/site-packages/django/db/__init__.py", line 33, in __getattr__
    return getattr(connections[DEFAULT_DB_ALIAS], item)
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 211, in __getitem__
    backend = load_backend(db['ENGINE'])
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 115, in load_backend
    return import_module('%s.base' % backend_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 28, in <module>
    raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

MySQLが無いらしいのでインストール。python-mysqlを入れようとすると、

$pip install mysql-python
Collecting mysql-python
  Using cached MySQL-python-1.2.5.zip
Installing collected packages: mysql-python
  Running setup.py install for mysql-python ... error
    Complete output from command /usr/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9lfWr3/mysql-python/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-bKFVV6-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
    creating build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/constants
    running build_ext
    building '_mysql' extension
    creating build/temp.linux-x86_64-2.7
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql55 -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -fPIC -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
mysql.c:44:23: fatal error: my_config.h: そのようなファイルやディレクトリはありません

大胆に以下をやったら、通った♡

$yum install mysql-*
pip install mysql-python
Collecting mysql-python
  Using cached MySQL-python-1.2.5.zip
Installing collected packages: mysql-python
  Running setup.py install for mysql-python ... done
Successfully installed mysql-python-1.2.5

次はスキーマ構築

PYTHONPATH=/opt/graphite/webapp/ django-admin.py migrate --settings=graphite.settings --run-syncdb

さあ起動と思ったらApacheが無かった。

$yum install httpd24 httpd24-tools
$yum install mod24_wsgi-py27
$pip install twisted

その後も公式を見ながら悪戦苦闘も断念。。。

Linuxでのタイムゾーン変更

現在の設定を確認、UTCになっている。

[root@www]# strings /etc/localtime
TZif2
TZif2
UTC0
[root@www]#

コピーを残してタイムゾーンを変更。変わった。

[root@www]# ln -sf  /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
[root@www]# strings /etc/localtime
TZif2
	JCST
TZif2
JCST
JST-9
[root@www]#

 

MacでCPUのスペックを確認する方法

家で使っているMBA(Mid 2013)ですが、買い替えをしたくてスペック調査。

bash-3.2# sysctl machdep.cpu.brand_string

machdep.cpu.brand_string: Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz

bash-3.2#

GeekBenchで見るとこんな感じ。MacBookPro 13inchが3500(シングルコア)なのでもう1世代我慢かなぁ。ちなみにMac Mini Mid 2011はシングルコアで2,824、マルチコアで8,067。

Amazon fire tv stickにkodiをインストールしてDVD ISOを見れるようにした件

ずーっと欲しかったソリューション。

これまではUniversalMediaServerを使ってたけれども、Amazon fire tv stickにkodiをインストール。ただ、Macのファイル共有との相性が悪くてNFSを利用。

http://kodi.wiki/view/NFS に記載の「-N flag is set, but shares still won’t work」でハマりました。SIPが効いていたのでファイル更新ができず・・・。

SIPロック解除して、更新。完了。

Mac OS X 10.11 changed the way the user is allowed to interact with certain system files, including anything in /System/Library/LaunchDaemons/ This is due to SIP (System Integrity Protection). Follow these steps to disable SIP, set the -N option in com.apple.nfsd.plist, and re-enable SIP

regzaでUSBハードディスクを使うときにハマった件

うちのRegza(DBR-Z160)で4TBのUSB HDD(BUFFALO HD-LC4.0U3/N ))を使うときにハマった件をまとめときます。結論は無事に使えました(汗

もともとはRegza用に買ったんですが、Regzaで利用する前に家の中のデータ移行を行うために、FAT32でフォーマットをかけたのが宜しく無かった模様。

1.FAT32でフォーマットしたディスクをRegzaに接続。

(俺)どうせ、フォーマットされるんだろうからディスクが認識されれば良いや。

(結果)ディスクの認識はOK。だけど初期化を始めると0%から進まず数秒後に「このディスクは初期化できません」エラー。

2.WindowsPCでNTFSにフォーマットしてリトライ→NGで状況変わらず。

3.Macでフォーマットしてリトライ→NGで状況変わらず。

4.Regzaのソフトウェア・アップデートをするも状況変わらず、

5.WindowsでBuffaloのDisk Formatter2でテレビ設定にしたところ、初期化成功。Buffaloのマニュアルには

テレビで初期化できるように、フォーマットしていない状態 に戻します。この設定にした場合は、テレビで初期化してくだ さい。WindowsやMacでは認識できません。

とあるが、、、Regzaはマニュアルには何も記載がないし、所詮Linuxなので、いくらでも強制的にフォーマットしれくれる気がするが謎のまま。。。

ひとまず一万強のお金をドブに捨てずに住んでよかった(汗

マイクロサービスアーキテクチャ

本のサイズはやや小さめ。目次はオライリーのページに明るいが、ひとつのサービスの変遷を15年近く見てきて試行錯誤をしてきた自分としては、考えたことあるテーマが多い。一方で、普通こういう作りに何故するというストレスとの付き合いも多かったので、考えたことが無いメンバーも多いのかもしれない。

そういった中で本書が良いのは、果たして長期間運用してきた中で、感じたストレス、テーマが一冊にまとめられていること。ひとつひとつは、見れば当たり前だよね、というテーマもなかなかつなげてまとめて、指摘できない。

本のテーマで言えば、この難解な名著を分かりやすく書いた形か。

読むべきは、システム全体を考えて設計を始めることができる5〜6年目の若手か。ただ、難しいといって引いてしまいそうなメンバーが多いのが残念だ。

Redmineインストールしてみた

[root@www sysconfig]# yum -y groupinstall "Develppment Tools"

読み込んだプラグイン:priorities, update-motd, upgrade-helper

There is no installed groups file.

Maybe run: yum groups mark convert (see man yum)

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

Warning: group Develppment Tools does not exist.

Maybe run: yum groups mark install (see man yum)

エラー: インストールまたは更新に利用できるいくつかの要求されたグループにパッケージがありません
[root@www sysconfig]# yum -y install openssl-devel readline-devel zlib-devel curl-devel libyaml-devel libffi-devel

読み込んだプラグイン:priorities, update-motd, upgrade-helper

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ libcurl-devel.x86_64 0:7.40.0-8.54.amzn1 を インストール

amzn-updates/latest/filelists_db                         | 2.6 MB     00:00     

--> 依存性の処理をしています: libcurl(x86-64) = 7.40.0-8.54.amzn1 のパッケージ: libcurl-devel-7.40.0-8.54.amzn1.x86_64

--> 依存性の処理をしています: /usr/share/aclocal のパッケージ: libcurl-devel-7.40.0-8.54.amzn1.x86_64

---> パッケージ libffi-devel.x86_64 0:3.0.13-11.4.amzn1 を インストール

---> パッケージ libyaml-devel.x86_64 0:0.1.6-6.7.amzn1 を インストール

---> パッケージ openssl-devel.x86_64 1:1.0.1k-13.88.amzn1 を インストール

--> 依存性の処理をしています: krb5-devel(x86-64) のパッケージ: 1:openssl-devel-1.0.1k-13.88.amzn1.x86_64

---> パッケージ readline-devel.x86_64 0:6.2-9.14.amzn1 を インストール

--> 依存性の処理をしています: ncurses-devel のパッケージ: readline-devel-6.2-9.14.amzn1.x86_64

---> パッケージ zlib-devel.x86_64 0:1.2.8-7.18.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ automake16.noarch 0:1.6.3-18.6.amzn1 を インストール

---> パッケージ krb5-devel.x86_64 0:1.13.2-10.39.amzn1 を インストール

--> 依存性の処理をしています: libverto-devel のパッケージ: krb5-devel-1.13.2-10.39.amzn1.x86_64

--> 依存性の処理をしています: libcom_err-devel のパッケージ: krb5-devel-1.13.2-10.39.amzn1.x86_64

--> 依存性の処理をしています: keyutils-libs-devel のパッケージ: krb5-devel-1.13.2-10.39.amzn1.x86_64

--> 依存性の処理をしています: libselinux-devel のパッケージ: krb5-devel-1.13.2-10.39.amzn1.x86_64

---> パッケージ libcurl.x86_64 0:7.40.0-3.52.amzn1 を 更新

--> 依存性の処理をしています: libcurl(x86-64) = 7.40.0-3.52.amzn1 のパッケージ: curl-7.40.0-3.52.amzn1.x86_64

---> パッケージ libcurl.x86_64 0:7.40.0-8.54.amzn1 を アップデート

---> パッケージ ncurses-devel.x86_64 0:5.7-3.20090208.13.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ curl.x86_64 0:7.40.0-3.52.amzn1 を 更新

---> パッケージ curl.x86_64 0:7.40.0-8.54.amzn1 を アップデート

---> パッケージ keyutils-libs-devel.x86_64 0:1.5.8-3.12.amzn1 を インストール

---> パッケージ libcom_err-devel.x86_64 0:1.42.12-4.40.amzn1 を インストール

---> パッケージ libselinux-devel.x86_64 0:2.1.10-3.22.amzn1 を インストール

--> 依存性の処理をしています: libsepol-devel >= 2.1.5-1 のパッケージ: libselinux-devel-2.1.10-3.22.amzn1.x86_64

--> 依存性の処理をしています: pkgconfig(libsepol) のパッケージ: libselinux-devel-2.1.10-3.22.amzn1.x86_64

---> パッケージ libverto-devel.x86_64 0:0.2.5-4.9.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ libsepol-devel.x86_64 0:2.1.7-3.12.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package               アーキテクチャー

                                バージョン                 リポジトリー    容量

================================================================================

インストール中:

libcurl-devel         x86_64   7.40.0-8.54.amzn1          amzn-updates   580 k

libffi-devel          x86_64   3.0.13-11.4.amzn1          amzn-main       23 k

libyaml-devel         x86_64   0.1.6-6.7.amzn1            amzn-main      124 k

openssl-devel         x86_64   1:1.0.1k-13.88.amzn1       amzn-updates   1.5 M

readline-devel        x86_64   6.2-9.14.amzn1             amzn-main      141 k

zlib-devel            x86_64   1.2.8-7.18.amzn1           amzn-main       53 k

依存性関連でのインストールをします:

automake16            noarch   1.6.3-18.6.amzn1           amzn-main      293 k

keyutils-libs-devel   x86_64   1.5.8-3.12.amzn1           amzn-main       37 k

krb5-devel            x86_64   1.13.2-10.39.amzn1         amzn-updates   700 k

libcom_err-devel      x86_64   1.42.12-4.40.amzn1         amzn-main       35 k

libselinux-devel      x86_64   2.1.10-3.22.amzn1          amzn-main      157 k

libsepol-devel        x86_64   2.1.7-3.12.amzn1           amzn-main       70 k

libverto-devel        x86_64   0.2.5-4.9.amzn1            amzn-main       11 k

ncurses-devel         x86_64   5.7-3.20090208.13.amzn1    amzn-main      687 k

依存性関連での更新をします:

curl                  x86_64   7.40.0-8.54.amzn1          amzn-updates   287 k

libcurl               x86_64   7.40.0-8.54.amzn1          amzn-updates   256 k

トランザクションの要約

================================================================================

インストール  6 パッケージ (+8 個の依存関係のパッケージ)

更新                       ( 2 個の依存関係のパッケージ)

総ダウンロード容量: 4.8 M

Downloading packages:

(1/16): automake16-1.6.3-18.6.amzn1.noarch.rpm           | 293 kB     00:00     

(2/16): curl-7.40.0-8.54.amzn1.x86_64.rpm                | 287 kB     00:00     

(3/16): keyutils-libs-devel-1.5.8-3.12.amzn1.x86_64.rpm  |  37 kB     00:00     

(4/16): krb5-devel-1.13.2-10.39.amzn1.x86_64.rpm         | 700 kB     00:00     

(5/16): libcom_err-devel-1.42.12-4.40.amzn1.x86_64.rpm   |  35 kB     00:00     

(6/16): libcurl-7.40.0-8.54.amzn1.x86_64.rpm             | 256 kB     00:00     

(7/16): libcurl-devel-7.40.0-8.54.amzn1.x86_64.rpm       | 580 kB     00:00     

(8/16): libffi-devel-3.0.13-11.4.amzn1.x86_64.rpm        |  23 kB     00:00     

(9/16): libselinux-devel-2.1.10-3.22.amzn1.x86_64.rpm    | 157 kB     00:00     

(10/16): libsepol-devel-2.1.7-3.12.amzn1.x86_64.rpm      |  70 kB     00:00     

(11/16): libverto-devel-0.2.5-4.9.amzn1.x86_64.rpm       |  11 kB     00:00     

(12/16): libyaml-devel-0.1.6-6.7.amzn1.x86_64.rpm        | 124 kB     00:00     

(13/16): ncurses-devel-5.7-3.20090208.13.amzn1.x86_64.rp | 687 kB     00:00     

(14/16): openssl-devel-1.0.1k-13.88.amzn1.x86_64.rpm     | 1.5 MB     00:00     

(15/16): readline-devel-6.2-9.14.amzn1.x86_64.rpm        | 141 kB     00:00     

(16/16): zlib-devel-1.2.8-7.18.amzn1.x86_64.rpm          |  53 kB     00:00     

--------------------------------------------------------------------------------

合計                                               9.2 MB/s | 4.8 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  更新します              : libcurl-7.40.0-8.54.amzn1.x86_64               1/18

  インストール中          : automake16-1.6.3-18.6.amzn1.noarch             2/18

  インストール中          : ncurses-devel-5.7-3.20090208.13.amzn1.x86_6    3/18

  インストール中          : libverto-devel-0.2.5-4.9.amzn1.x86_64          4/18

  インストール中          : libcom_err-devel-1.42.12-4.40.amzn1.x86_64     5/18

  インストール中          : zlib-devel-1.2.8-7.18.amzn1.x86_64             6/18

  インストール中          : keyutils-libs-devel-1.5.8-3.12.amzn1.x86_64    7/18 

  インストール中          : libsepol-devel-2.1.7-3.12.amzn1.x86_64         8/18

  インストール中          : libselinux-devel-2.1.10-3.22.amzn1.x86_64      9/18 

  インストール中          : krb5-devel-1.13.2-10.39.amzn1.x86_64          10/18

  インストール中          : 1:openssl-devel-1.0.1k-13.88.amzn1.x86_64     11/18 

  インストール中          : readline-devel-6.2-9.14.amzn1.x86_64          12/18

  インストール中          : libcurl-devel-7.40.0-8.54.amzn1.x86_64        13/18

  更新します              : curl-7.40.0-8.54.amzn1.x86_64                 14/18

  インストール中          : libffi-devel-3.0.13-11.4.amzn1.x86_64         15/18

  インストール中          : libyaml-devel-0.1.6-6.7.amzn1.x86_64          16/18

  整理中                  : curl-7.40.0-3.52.amzn1.x86_64                 17/18

  整理中                  : libcurl-7.40.0-3.52.amzn1.x86_64              18/18

  検証中                  : libcurl-7.40.0-8.54.amzn1.x86_64               1/18

  検証中                  : 1:openssl-devel-1.0.1k-13.88.amzn1.x86_64      2/18

  検証中                  : libsepol-devel-2.1.7-3.12.amzn1.x86_64         3/18

  検証中                  : keyutils-libs-devel-1.5.8-3.12.amzn1.x86_64    4/18

  検証中                  : zlib-devel-1.2.8-7.18.amzn1.x86_64             5/18

  検証中                  : libcom_err-devel-1.42.12-4.40.amzn1.x86_64     6/18

  検証中                  : krb5-devel-1.13.2-10.39.amzn1.x86_64           7/18

  検証中                  : curl-7.40.0-8.54.amzn1.x86_64                  8/18

  検証中                  : readline-devel-6.2-9.14.amzn1.x86_64           9/18

  検証中                  : libverto-devel-0.2.5-4.9.amzn1.x86_64         10/18

  検証中                  : ncurses-devel-5.7-3.20090208.13.amzn1.x86_6   11/18

  検証中                  : libcurl-devel-7.40.0-8.54.amzn1.x86_64        12/18

  検証中                  : automake16-1.6.3-18.6.amzn1.noarch            13/18

  検証中                  : libyaml-devel-0.1.6-6.7.amzn1.x86_64          14/18

  検証中                  : libffi-devel-3.0.13-11.4.amzn1.x86_64         15/18

  検証中                  : libselinux-devel-2.1.10-3.22.amzn1.x86_64     16/18

  検証中                  : libcurl-7.40.0-3.52.amzn1.x86_64              17/18

  検証中                  : curl-7.40.0-3.52.amzn1.x86_64                 18/18

インストール:

  libcurl-devel.x86_64 0:7.40.0-8.54.amzn1                                      

  libffi-devel.x86_64 0:3.0.13-11.4.amzn1                                       

  libyaml-devel.x86_64 0:0.1.6-6.7.amzn1                                        

  openssl-devel.x86_64 1:1.0.1k-13.88.amzn1                                     

  readline-devel.x86_64 0:6.2-9.14.amzn1                                        

  zlib-devel.x86_64 0:1.2.8-7.18.amzn1                                          

依存性関連をインストールしました:

  automake16.noarch 0:1.6.3-18.6.amzn1                                          

  keyutils-libs-devel.x86_64 0:1.5.8-3.12.amzn1                                 

  krb5-devel.x86_64 0:1.13.2-10.39.amzn1                                        

  libcom_err-devel.x86_64 0:1.42.12-4.40.amzn1                                  

  libselinux-devel.x86_64 0:2.1.10-3.22.amzn1                                   

  libsepol-devel.x86_64 0:2.1.7-3.12.amzn1                                      

  libverto-devel.x86_64 0:0.2.5-4.9.amzn1                                       

  ncurses-devel.x86_64 0:5.7-3.20090208.13.amzn1                                

依存性を更新しました:

  curl.x86_64 0:7.40.0-8.54.amzn1       libcurl.x86_64 0:7.40.0-8.54.amzn1      

完了しました!

[root@www sysconfig]# yum -y install postgresql-server postgresql-devel

読み込んだプラグイン:priorities, update-motd, upgrade-helper

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ postgresql92-devel.x86_64 0:9.2.14-1.56.amzn1 を インストール

--> 依存性の処理をしています: postgresql92-libs(x86-64) = 9.2.14-1.56.amzn1 のパッケージ: postgresql92-devel-9.2.14-1.56.amzn1.x86_64

--> 依存性の処理をしています: postgresql92(x86-64) = 9.2.14-1.56.amzn1 のパッケージ: postgresql92-devel-9.2.14-1.56.amzn1.x86_64

--> 依存性の処理をしています: postgresql92(alternatives) のパッケージ: postgresql92-devel-9.2.14-1.56.amzn1.x86_64

---> パッケージ postgresql92-server-compat.x86_64 0:9.2.14-1.56.amzn1 を インストール

--> 依存性の処理をしています: postgresql92-server(x86-64) = 9.2.14-1.56.amzn1 のパッケージ: postgresql92-server-compat-9.2.14-1.56.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ postgresql92.x86_64 0:9.2.14-1.56.amzn1 を インストール

---> パッケージ postgresql92-libs.x86_64 0:9.2.14-1.56.amzn1 を インストール

---> パッケージ postgresql92-server.x86_64 0:9.2.14-1.56.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package                      アーキテクチャー

                                       バージョン          リポジトリー    容量

================================================================================

インストール中:

postgresql92-devel           x86_64   9.2.14-1.56.amzn1   amzn-updates   1.1 M

postgresql92-server-compat   x86_64   9.2.14-1.56.amzn1   amzn-updates    38 k

依存性関連でのインストールをします:

postgresql92                 x86_64   9.2.14-1.56.amzn1   amzn-updates   4.0 M

postgresql92-libs            x86_64   9.2.14-1.56.amzn1   amzn-updates   258 k

postgresql92-server          x86_64   9.2.14-1.56.amzn1   amzn-updates   5.9 M

トランザクションの要約

================================================================================

インストール  2 パッケージ (+3 個の依存関係のパッケージ)

総ダウンロード容量: 11 M

インストール容量: 36 M

Downloading packages:

(1/5): postgresql92-9.2.14-1.56.amzn1.x86_64.rpm         | 4.0 MB     00:00     

(2/5): postgresql92-devel-9.2.14-1.56.amzn1.x86_64.rpm   | 1.1 MB     00:00     

(3/5): postgresql92-libs-9.2.14-1.56.amzn1.x86_64.rpm    | 258 kB     00:00     

(4/5): postgresql92-server-9.2.14-1.56.amzn1.x86_64.rpm  | 5.9 MB     00:00     

(5/5): postgresql92-server-compat-9.2.14-1.56.amzn1.x86_ |  38 kB     00:00     

--------------------------------------------------------------------------------

合計                                                29 MB/s |  11 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : postgresql92-libs-9.2.14-1.56.amzn1.x86_64      1/5 

  インストール中          : postgresql92-9.2.14-1.56.amzn1.x86_64           2/5

  インストール中          : postgresql92-server-9.2.14-1.56.amzn1.x86_64    3/5

  インストール中          : postgresql92-server-compat-9.2.14-1.56.amzn1.   4/5

  インストール中          : postgresql92-devel-9.2.14-1.56.amzn1.x86_64     5/5

  検証中                  : postgresql92-server-9.2.14-1.56.amzn1.x86_64    1/5

  検証中                  : postgresql92-9.2.14-1.56.amzn1.x86_64           2/5

  検証中                  : postgresql92-libs-9.2.14-1.56.amzn1.x86_64      3/5

  検証中                  : postgresql92-server-compat-9.2.14-1.56.amzn1.   4/5

  検証中                  : postgresql92-devel-9.2.14-1.56.amzn1.x86_64     5/5

インストール:

  postgresql92-devel.x86_64 0:9.2.14-1.56.amzn1                                 

  postgresql92-server-compat.x86_64 0:9.2.14-1.56.amzn1                         

依存性関連をインストールしました:

  postgresql92.x86_64 0:9.2.14-1.56.amzn1                                       

  postgresql92-libs.x86_64 0:9.2.14-1.56.amzn1                                  

  postgresql92-server.x86_64 0:9.2.14-1.56.amzn1                                

完了しました!

[root@www sysconfig]#
[root@www sysconfig]# yum -y install httpd24-devel

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ httpd24-devel.x86_64 0:2.4.16-1.63.amzn1 を インストール

--> 依存性の処理をしています: httpd24 = 2.4.16-1.63.amzn1 のパッケージ: httpd24-devel-2.4.16-1.63.amzn1.x86_64

--> 依存性の処理をしています: apr-devel のパッケージ: httpd24-devel-2.4.16-1.63.amzn1.x86_64

--> 依存性の処理をしています: apr-util-devel のパッケージ: httpd24-devel-2.4.16-1.63.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ apr-devel.x86_64 0:1.5.1-1.12.amzn1 を インストール

--> 依存性の処理をしています: apr = 1.5.1-1.12.amzn1 のパッケージ: apr-devel-1.5.1-1.12.amzn1.x86_64

---> パッケージ apr-util-devel.x86_64 0:1.4.1-4.17.amzn1 を インストール

--> 依存性の処理をしています: expat-devel(x86-64) >= 2.1.0 のパッケージ: apr-util-devel-1.4.1-4.17.amzn1.x86_64

--> 依存性の処理をしています: db4-devel(x86-64) のパッケージ: apr-util-devel-1.4.1-4.17.amzn1.x86_64

--> 依存性の処理をしています: openldap-devel(x86-64) のパッケージ: apr-util-devel-1.4.1-4.17.amzn1.x86_64

---> パッケージ httpd24.x86_64 0:2.4.16-1.62.amzn1 を 更新

---> パッケージ httpd24.x86_64 0:2.4.16-1.63.amzn1 を アップデート

--> 依存性の処理をしています: httpd24-tools = 2.4.16-1.63.amzn1 のパッケージ: httpd24-2.4.16-1.63.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ apr.x86_64 0:1.5.0-2.11.amzn1 を 更新

---> パッケージ apr.x86_64 0:1.5.1-1.12.amzn1 を アップデート

---> パッケージ db4-devel.x86_64 0:4.7.25-18.11.amzn1 を インストール

--> 依存性の処理をしています: db4-cxx = 4.7.25-18.11.amzn1 のパッケージ: db4-devel-4.7.25-18.11.amzn1.x86_64

---> パッケージ expat-devel.x86_64 0:2.1.0-8.18.amzn1 を インストール

---> パッケージ httpd24-tools.x86_64 0:2.4.16-1.62.amzn1 を 更新

---> パッケージ httpd24-tools.x86_64 0:2.4.16-1.63.amzn1 を アップデート

---> パッケージ openldap-devel.x86_64 0:2.4.23-34.25.amzn1 を インストール

--> 依存性の処理をしています: cyrus-sasl-devel >= 2.1 のパッケージ: openldap-devel-2.4.23-34.25.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ cyrus-sasl-devel.x86_64 0:2.1.23-13.16.amzn1 を インストール

---> パッケージ db4-cxx.x86_64 0:4.7.25-18.11.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package              アーキテクチャー

                                 バージョン              リポジトリー      容量

================================================================================

インストール中:

httpd24-devel        x86_64     2.4.16-1.63.amzn1       amzn-updates     208 k

依存性関連でのインストールをします:

apr-devel            x86_64     1.5.1-1.12.amzn1        amzn-updates     209 k

apr-util-devel       x86_64     1.4.1-4.17.amzn1        amzn-main         78 k

cyrus-sasl-devel     x86_64     2.1.23-13.16.amzn1      amzn-main        356 k

db4-cxx              x86_64     4.7.25-18.11.amzn1      amzn-main        688 k

db4-devel            x86_64     4.7.25-18.11.amzn1      amzn-main        7.0 M

expat-devel          x86_64     2.1.0-8.18.amzn1        amzn-main        147 k

openldap-devel       x86_64     2.4.23-34.25.amzn1      amzn-updates     1.4 M

依存性関連での更新をします:

apr                  x86_64     1.5.1-1.12.amzn1        amzn-updates     116 k

httpd24              x86_64     2.4.16-1.63.amzn1       amzn-updates     1.3 M

httpd24-tools        x86_64     2.4.16-1.63.amzn1       amzn-updates      88 k

トランザクションの要約

================================================================================

インストール  1 パッケージ (+7 個の依存関係のパッケージ)

更新                       ( 3 個の依存関係のパッケージ)

総ダウンロード容量: 12 M

Downloading packages:

(1/11): apr-1.5.1-1.12.amzn1.x86_64.rpm                  | 116 kB     00:00     

(2/11): apr-devel-1.5.1-1.12.amzn1.x86_64.rpm            | 209 kB     00:00     

(3/11): apr-util-devel-1.4.1-4.17.amzn1.x86_64.rpm       |  78 kB     00:00     

(4/11): cyrus-sasl-devel-2.1.23-13.16.amzn1.x86_64.rpm   | 356 kB     00:00     

(5/11): db4-cxx-4.7.25-18.11.amzn1.x86_64.rpm            | 688 kB     00:00     

(6/11): db4-devel-4.7.25-18.11.amzn1.x86_64.rpm          | 7.0 MB     00:00     

(7/11): expat-devel-2.1.0-8.18.amzn1.x86_64.rpm          | 147 kB     00:00     

(8/11): httpd24-2.4.16-1.63.amzn1.x86_64.rpm             | 1.3 MB     00:00     

(9/11): httpd24-devel-2.4.16-1.63.amzn1.x86_64.rpm       | 208 kB     00:00     

(10/11): httpd24-tools-2.4.16-1.63.amzn1.x86_64.rpm      |  88 kB     00:00     

(11/11): openldap-devel-2.4.23-34.25.amzn1.x86_64.rpm    | 1.4 MB     00:00     

--------------------------------------------------------------------------------

合計                                                22 MB/s |  12 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  更新します              : apr-1.5.1-1.12.amzn1.x86_64                    1/14

  インストール中          : apr-devel-1.5.1-1.12.amzn1.x86_64              2/14

  更新します              : httpd24-tools-2.4.16-1.63.amzn1.x86_64         3/14

  更新します              : httpd24-2.4.16-1.63.amzn1.x86_64               4/14

  インストール中          : cyrus-sasl-devel-2.1.23-13.16.amzn1.x86_64     5/14

  インストール中          : openldap-devel-2.4.23-34.25.amzn1.x86_64       6/14

  インストール中          : expat-devel-2.1.0-8.18.amzn1.x86_64            7/14

  インストール中          : db4-cxx-4.7.25-18.11.amzn1.x86_64              8/14

  インストール中          : db4-devel-4.7.25-18.11.amzn1.x86_64            9/14

  インストール中          : apr-util-devel-1.4.1-4.17.amzn1.x86_64        10/14

  インストール中          : httpd24-devel-2.4.16-1.63.amzn1.x86_64        11/14 

  整理中                  : httpd24-2.4.16-1.62.amzn1.x86_64              12/14

  整理中                  : httpd24-tools-2.4.16-1.62.amzn1.x86_64        13/14

  整理中                  : apr-1.5.0-2.11.amzn1.x86_64                   14/14

  検証中                  : apr-devel-1.5.1-1.12.amzn1.x86_64              1/14

  検証中                  : apr-1.5.1-1.12.amzn1.x86_64                    2/14

  検証中                  : openldap-devel-2.4.23-34.25.amzn1.x86_64       3/14

  検証中                  : httpd24-devel-2.4.16-1.63.amzn1.x86_64         4/14

  検証中                  : db4-cxx-4.7.25-18.11.amzn1.x86_64              5/14

  検証中                  : httpd24-tools-2.4.16-1.63.amzn1.x86_64         6/14

  検証中                  : db4-devel-4.7.25-18.11.amzn1.x86_64            7/14

  検証中                  : expat-devel-2.1.0-8.18.amzn1.x86_64            8/14

  検証中                  : cyrus-sasl-devel-2.1.23-13.16.amzn1.x86_64     9/14

  検証中                  : apr-util-devel-1.4.1-4.17.amzn1.x86_64        10/14

  検証中                  : httpd24-2.4.16-1.63.amzn1.x86_64              11/14

  検証中                  : httpd24-2.4.16-1.62.amzn1.x86_64              12/14

  検証中                  : httpd24-tools-2.4.16-1.62.amzn1.x86_64        13/14

  検証中                  : apr-1.5.0-2.11.amzn1.x86_64                   14/14

インストール:

  httpd24-devel.x86_64 0:2.4.16-1.63.amzn1                                      

依存性関連をインストールしました:

  apr-devel.x86_64 0:1.5.1-1.12.amzn1                                           

  apr-util-devel.x86_64 0:1.4.1-4.17.amzn1                                      

  cyrus-sasl-devel.x86_64 0:2.1.23-13.16.amzn1                                  

  db4-cxx.x86_64 0:4.7.25-18.11.amzn1                                           

  db4-devel.x86_64 0:4.7.25-18.11.amzn1                                         

  expat-devel.x86_64 0:2.1.0-8.18.amzn1                                         

  openldap-devel.x86_64 0:2.4.23-34.25.amzn1                                    

依存性を更新しました:

  apr.x86_64 0:1.5.1-1.12.amzn1             httpd24.x86_64 0:2.4.16-1.63.amzn1

  httpd24-tools.x86_64 0:2.4.16-1.63.amzn1

完了しました!

[root@www sysconfig]#
[root@www sysconfig]# yum -y install ImageMagick ImageMagick-devel ipa-pgothic-fonts

読み込んだプラグイン:priorities, update-motd, upgrade-helper

パッケージ ipa-pgothic-fonts は利用できません。

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ ImageMagick.x86_64 0:6.7.8.9-10.18.amzn1 を インストール

--> 依存性の処理をしています: libgomp.so.1(GOMP_1.0)(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libgomp.so.1(OMP_1.0)(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libtiff.so.5(LIBTIFF_4.0)(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libgs.so.8()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libXt.so.6()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libltdl.so.7()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libtiff.so.5()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libwmflite-0.2.so.7()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libgomp.so.1()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libjasper.so.1()(64bit) のパッケージ: ImageMagick-6.7.8.9-10.18.amzn1.x86_64

---> パッケージ ImageMagick-devel.x86_64 0:6.7.8.9-10.18.amzn1 を インストール

--> 依存性の処理をしています: libXt-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libtiff-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: freetype-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: bzip2-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: lcms2-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libjpeg-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libX11-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: libXext-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> 依存性の処理をしています: ghostscript-devel のパッケージ: ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ bzip2-devel.x86_64 0:1.0.6-8.12.amzn1 を インストール

---> パッケージ freetype-devel.x86_64 0:2.3.11-15.14.amzn1 を インストール

---> パッケージ ghostscript.x86_64 0:8.70-19.23.amzn1 を インストール

--> 依存性の処理をしています: urw-fonts >= 1.1 のパッケージ: ghostscript-8.70-19.23.amzn1.x86_64

--> 依存性の処理をしています: ghostscript-fonts のパッケージ: ghostscript-8.70-19.23.amzn1.x86_64

--> 依存性の処理をしています: libcairo.so.2()(64bit) のパッケージ: ghostscript-8.70-19.23.amzn1.x86_64

--> 依存性の処理をしています: libcups.so.2()(64bit) のパッケージ: ghostscript-8.70-19.23.amzn1.x86_64

--> 依存性の処理をしています: libcupsimage.so.2()(64bit) のパッケージ: ghostscript-8.70-19.23.amzn1.x86_64

---> パッケージ ghostscript-devel.x86_64 0:8.70-19.23.amzn1 を インストール

---> パッケージ jasper-libs.x86_64 0:1.900.1-16.9.amzn1 を インストール

---> パッケージ lcms2-devel.x86_64 0:2.5-4.4.amzn1 を インストール

---> パッケージ libX11-devel.x86_64 0:1.6.0-2.2.12.amzn1 を インストール

--> 依存性の処理をしています: pkgconfig(xcb) >= 1.1.92 のパッケージ: libX11-devel-1.6.0-2.2.12.amzn1.x86_64

--> 依存性の処理をしています: pkgconfig(xproto) のパッケージ: libX11-devel-1.6.0-2.2.12.amzn1.x86_64

--> 依存性の処理をしています: pkgconfig(xcb) のパッケージ: libX11-devel-1.6.0-2.2.12.amzn1.x86_64

--> 依存性の処理をしています: pkgconfig(kbproto) のパッケージ: libX11-devel-1.6.0-2.2.12.amzn1.x86_64

---> パッケージ libXext-devel.x86_64 0:1.3.2-2.1.10.amzn1 を インストール

---> パッケージ libXt.x86_64 0:1.1.4-6.1.9.amzn1 を インストール

---> パッケージ libXt-devel.x86_64 0:1.1.4-6.1.9.amzn1 を インストール

--> 依存性の処理をしています: pkgconfig(sm) のパッケージ: libXt-devel-1.1.4-6.1.9.amzn1.x86_64

--> 依存性の処理をしています: pkgconfig(ice) のパッケージ: libXt-devel-1.1.4-6.1.9.amzn1.x86_64

--> 依存性の処理をしています: libSM-devel のパッケージ: libXt-devel-1.1.4-6.1.9.amzn1.x86_64

---> パッケージ libgomp.x86_64 0:4.8.3-9.109.amzn1 を インストール

---> パッケージ libjpeg-turbo-devel.x86_64 0:1.2.90-5.14.amzn1 を インストール

---> パッケージ libtiff.x86_64 0:4.0.3-20.20.amzn1 を インストール

--> 依存性の処理をしています: libjbig.so.2.0()(64bit) のパッケージ: libtiff-4.0.3-20.20.amzn1.x86_64

---> パッケージ libtiff-devel.x86_64 0:4.0.3-20.20.amzn1 を インストール

---> パッケージ libtool-ltdl.x86_64 0:2.4.2-20.4.8.3.31.amzn1 を インストール

---> パッケージ libwmf-lite.x86_64 0:0.2.8.4-41.11.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ cairo.x86_64 0:1.12.14-6.8.amzn1 を インストール

--> 依存性の処理をしています: libpixman-1.so.0()(64bit) のパッケージ: cairo-1.12.14-6.8.amzn1.x86_64

--> 依存性の処理をしています: libGL.so.1()(64bit) のパッケージ: cairo-1.12.14-6.8.amzn1.x86_64

---> パッケージ cups-libs.x86_64 1:1.4.2-67.21.amzn1 を インストール

--> 依存性の処理をしています: libgnutls.so.26(GNUTLS_1_4)(64bit) のパッケージ: 1:cups-libs-1.4.2-67.21.amzn1.x86_64

--> 依存性の処理をしています: libgnutls.so.26()(64bit) のパッケージ: 1:cups-libs-1.4.2-67.21.amzn1.x86_64

--> 依存性の処理をしています: libavahi-client.so.3()(64bit) のパッケージ: 1:cups-libs-1.4.2-67.21.amzn1.x86_64

--> 依存性の処理をしています: libavahi-common.so.3()(64bit) のパッケージ: 1:cups-libs-1.4.2-67.21.amzn1.x86_64

---> パッケージ ghostscript-fonts.noarch 0:5.50-23.2.7.amzn1 を インストール

---> パッケージ jbigkit-libs.x86_64 0:2.0-11.4.amzn1 を インストール

---> パッケージ libICE-devel.x86_64 0:1.0.6-1.4.amzn1 を インストール

---> パッケージ libSM-devel.x86_64 0:1.2.1-2.6.amzn1 を インストール

---> パッケージ libxcb-devel.x86_64 0:1.8.1-1.18.amzn1 を インストール

--> 依存性の処理をしています: pkgconfig(xau) >= 0.99.2 のパッケージ: libxcb-devel-1.8.1-1.18.amzn1.x86_64

---> パッケージ urw-fonts.noarch 0:2.4-10.7.amzn1 を インストール

---> パッケージ xorg-x11-proto-devel.noarch 0:7.7-9.10.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ avahi-libs.x86_64 0:0.6.25-12.17.amzn1 を インストール

---> パッケージ gnutls.x86_64 0:2.8.5-19.15.amzn1 を インストール

---> パッケージ libXau-devel.x86_64 0:1.0.6-4.9.amzn1 を インストール

---> パッケージ mesa-libGL.x86_64 0:10.1.2-2.32.amzn1 を インストール

--> 依存性の処理をしています: mesa-dri-drivers(x86-64) = 10.1.2-2.32.amzn1 のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: libdrm >= 2.4.24-1 のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: libXdamage.so.1()(64bit) のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: libXfixes.so.3()(64bit) のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: libXxf86vm.so.1()(64bit) のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: libdrm.so.2()(64bit) のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: libglapi.so.0()(64bit) のパッケージ: mesa-libGL-10.1.2-2.32.amzn1.x86_64

---> パッケージ pixman.x86_64 0:0.32.4-4.11.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ libXdamage.x86_64 0:1.1.3-4.7.amzn1 を インストール

---> パッケージ libXfixes.x86_64 0:5.0.1-2.1.8.amzn1 を インストール

---> パッケージ libXxf86vm.x86_64 0:1.1.3-2.1.9.amzn1 を インストール

---> パッケージ libdrm.x86_64 0:2.4.52-4.12.amzn1 を インストール

--> 依存性の処理をしています: libpciaccess.so.0()(64bit) のパッケージ: libdrm-2.4.52-4.12.amzn1.x86_64

---> パッケージ mesa-dri-drivers.x86_64 0:10.1.2-2.32.amzn1 を インストール

--> 依存性の処理をしています: mesa-dri1-drivers >= 7.11-6 のパッケージ: mesa-dri-drivers-10.1.2-2.32.amzn1.x86_64

--> 依存性の処理をしています: mesa-dri-filesystem(x86-64) のパッケージ: mesa-dri-drivers-10.1.2-2.32.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ libpciaccess.x86_64 0:0.13.1-4.1.11.amzn1 を インストール

---> パッケージ mesa-dri-filesystem.x86_64 0:10.1.2-2.32.amzn1 を インストール

---> パッケージ mesa-dri1-drivers.x86_64 0:7.11-8.7.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package                アーキテクチャー

                                 バージョン                リポジトリー    容量

================================================================================

インストール中:

ImageMagick            x86_64   6.7.8.9-10.18.amzn1       amzn-updates   2.5 M

ImageMagick-devel      x86_64   6.7.8.9-10.18.amzn1       amzn-updates   104 k

依存性関連でのインストールをします:

avahi-libs             x86_64   0.6.25-12.17.amzn1        amzn-main       64 k

bzip2-devel            x86_64   1.0.6-8.12.amzn1          amzn-main      218 k

cairo                  x86_64   1.12.14-6.8.amzn1         amzn-main      739 k

cups-libs              x86_64   1:1.4.2-67.21.amzn1       amzn-main      364 k

freetype-devel         x86_64   2.3.11-15.14.amzn1        amzn-main      411 k

ghostscript            x86_64   8.70-19.23.amzn1          amzn-main      8.5 M

ghostscript-devel      x86_64   8.70-19.23.amzn1          amzn-main       43 k

ghostscript-fonts      noarch   5.50-23.2.7.amzn1         amzn-main      634 k

gnutls                 x86_64   2.8.5-19.15.amzn1         amzn-updates   400 k

jasper-libs            x86_64   1.900.1-16.9.amzn1        amzn-main      157 k

jbigkit-libs           x86_64   2.0-11.4.amzn1            amzn-main       47 k

lcms2-devel            x86_64   2.5-4.4.amzn1             amzn-main      4.5 M

libICE-devel           x86_64   1.0.6-1.4.amzn1           amzn-main       11 k

libSM-devel            x86_64   1.2.1-2.6.amzn1           amzn-main       12 k

libX11-devel           x86_64   1.6.0-2.2.12.amzn1        amzn-main      990 k

libXau-devel           x86_64   1.0.6-4.9.amzn1           amzn-main       13 k

libXdamage             x86_64   1.1.3-4.7.amzn1           amzn-main       19 k

libXext-devel          x86_64   1.3.2-2.1.10.amzn1        amzn-main       74 k

libXfixes              x86_64   5.0.1-2.1.8.amzn1         amzn-main       18 k

libXt                  x86_64   1.1.4-6.1.9.amzn1         amzn-main      185 k

libXt-devel            x86_64   1.1.4-6.1.9.amzn1         amzn-main      473 k

libXxf86vm             x86_64   1.1.3-2.1.9.amzn1         amzn-main       17 k

libdrm                 x86_64   2.4.52-4.12.amzn1         amzn-main      140 k

libgomp                x86_64   4.8.3-9.109.amzn1         amzn-main      175 k

libjpeg-turbo-devel    x86_64   1.2.90-5.14.amzn1         amzn-main      105 k

libpciaccess           x86_64   0.13.1-4.1.11.amzn1       amzn-main       26 k

libtiff                x86_64   4.0.3-20.20.amzn1         amzn-main      434 k

libtiff-devel          x86_64   4.0.3-20.20.amzn1         amzn-main      513 k

libtool-ltdl           x86_64   2.4.2-20.4.8.3.31.amzn1   amzn-main       51 k

libwmf-lite            x86_64   0.2.8.4-41.11.amzn1       amzn-updates    69 k

libxcb-devel           x86_64   1.8.1-1.18.amzn1          amzn-main      185 k

mesa-dri-drivers       x86_64   10.1.2-2.32.amzn1         amzn-main      9.4 M

mesa-dri-filesystem    x86_64   10.1.2-2.32.amzn1         amzn-main       18 k

mesa-dri1-drivers      x86_64   7.11-8.7.amzn1            amzn-main      4.4 M

mesa-libGL             x86_64   10.1.2-2.32.amzn1         amzn-main      141 k

pixman                 x86_64   0.32.4-4.11.amzn1         amzn-main      283 k

urw-fonts              noarch   2.4-10.7.amzn1            amzn-main      3.2 M

xorg-x11-proto-devel   noarch   7.7-9.10.amzn1            amzn-main      317 k

トランザクションの要約

================================================================================

インストール  2 パッケージ (+38 個の依存関係のパッケージ)

総ダウンロード容量: 40 M

インストール容量: 103 M

Downloading packages:

(1/40): ImageMagick-6.7.8.9-10.18.amzn1.x86_64.rpm       | 2.5 MB     00:00     

(2/40): ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64.rpm | 104 kB     00:00     

(3/40): avahi-libs-0.6.25-12.17.amzn1.x86_64.rpm         |  64 kB     00:00     

(4/40): bzip2-devel-1.0.6-8.12.amzn1.x86_64.rpm          | 218 kB     00:00     

(5/40): cairo-1.12.14-6.8.amzn1.x86_64.rpm               | 739 kB     00:00     

(6/40): cups-libs-1.4.2-67.21.amzn1.x86_64.rpm           | 364 kB     00:00     

(7/40): freetype-devel-2.3.11-15.14.amzn1.x86_64.rpm     | 411 kB     00:00     

(8/40): ghostscript-8.70-19.23.amzn1.x86_64.rpm          | 8.5 MB     00:00     

(9/40): ghostscript-devel-8.70-19.23.amzn1.x86_64.rpm    |  43 kB     00:00     

(10/40): ghostscript-fonts-5.50-23.2.7.amzn1.noarch.rpm  | 634 kB     00:00     

(11/40): gnutls-2.8.5-19.15.amzn1.x86_64.rpm             | 400 kB     00:00     

(12/40): jasper-libs-1.900.1-16.9.amzn1.x86_64.rpm       | 157 kB     00:00     

(13/40): jbigkit-libs-2.0-11.4.amzn1.x86_64.rpm          |  47 kB     00:00     

(14/40): lcms2-devel-2.5-4.4.amzn1.x86_64.rpm            | 4.5 MB     00:00     

(15/40): libICE-devel-1.0.6-1.4.amzn1.x86_64.rpm         |  11 kB     00:00     

(16/40): libSM-devel-1.2.1-2.6.amzn1.x86_64.rpm          |  12 kB     00:00     

(17/40): libX11-devel-1.6.0-2.2.12.amzn1.x86_64.rpm      | 990 kB     00:00     

(18/40): libXau-devel-1.0.6-4.9.amzn1.x86_64.rpm         |  13 kB     00:00     

(19/40): libXdamage-1.1.3-4.7.amzn1.x86_64.rpm           |  19 kB     00:00     

(20/40): libXext-devel-1.3.2-2.1.10.amzn1.x86_64.rpm     |  74 kB     00:00     

(21/40): libXfixes-5.0.1-2.1.8.amzn1.x86_64.rpm          |  18 kB     00:00     

(22/40): libXt-1.1.4-6.1.9.amzn1.x86_64.rpm              | 185 kB     00:00     

(23/40): libXt-devel-1.1.4-6.1.9.amzn1.x86_64.rpm        | 473 kB     00:00     

(24/40): libXxf86vm-1.1.3-2.1.9.amzn1.x86_64.rpm         |  17 kB     00:00     

(25/40): libdrm-2.4.52-4.12.amzn1.x86_64.rpm             | 140 kB     00:00     

(26/40): libgomp-4.8.3-9.109.amzn1.x86_64.rpm            | 175 kB     00:00     

(27/40): libjpeg-turbo-devel-1.2.90-5.14.amzn1.x86_64.rp | 105 kB     00:00     

(28/40): libpciaccess-0.13.1-4.1.11.amzn1.x86_64.rpm     |  26 kB     00:00     

(29/40): libtiff-4.0.3-20.20.amzn1.x86_64.rpm            | 434 kB     00:00     

(30/40): libtiff-devel-4.0.3-20.20.amzn1.x86_64.rpm      | 513 kB     00:00     

(31/40): libtool-ltdl-2.4.2-20.4.8.3.31.amzn1.x86_64.rpm |  51 kB     00:00     

(32/40): libwmf-lite-0.2.8.4-41.11.amzn1.x86_64.rpm      |  69 kB     00:00     

(33/40): libxcb-devel-1.8.1-1.18.amzn1.x86_64.rpm        | 185 kB     00:00     

(34/40): mesa-dri-drivers-10.1.2-2.32.amzn1.x86_64.rpm   | 9.4 MB     00:00     

(35/40): mesa-dri-filesystem-10.1.2-2.32.amzn1.x86_64.rp |  18 kB     00:00     

(36/40): mesa-dri1-drivers-7.11-8.7.amzn1.x86_64.rpm     | 4.4 MB     00:00     

(37/40): mesa-libGL-10.1.2-2.32.amzn1.x86_64.rpm         | 141 kB     00:00     

(38/40): pixman-0.32.4-4.11.amzn1.x86_64.rpm             | 283 kB     00:00     

(39/40): urw-fonts-2.4-10.7.amzn1.noarch.rpm             | 3.2 MB     00:00     

(40/40): xorg-x11-proto-devel-7.7-9.10.amzn1.noarch.rpm  | 317 kB     00:00     

--------------------------------------------------------------------------------

合計                                                25 MB/s |  40 MB  00:01     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : xorg-x11-proto-devel-7.7-9.10.amzn1.noarch     1/40

  インストール中          : libXt-1.1.4-6.1.9.amzn1.x86_64                 2/40

  インストール中          : libICE-devel-1.0.6-1.4.amzn1.x86_64            3/40

  インストール中          : libXfixes-5.0.1-2.1.8.amzn1.x86_64             4/40

  インストール中          : mesa-dri-filesystem-10.1.2-2.32.amzn1.x86_6    5/40

  インストール中          : jasper-libs-1.900.1-16.9.amzn1.x86_64          6/40

  インストール中          : libXdamage-1.1.3-4.7.amzn1.x86_64              7/40

  インストール中          : libSM-devel-1.2.1-2.6.amzn1.x86_64             8/40

  インストール中          : libXau-devel-1.0.6-4.9.amzn1.x86_64            9/40

  インストール中          : libxcb-devel-1.8.1-1.18.amzn1.x86_64          10/40

  インストール中          : libX11-devel-1.6.0-2.2.12.amzn1.x86_64        11/40

  インストール中          : libXt-devel-1.1.4-6.1.9.amzn1.x86_64          12/40

  インストール中          : libXext-devel-1.3.2-2.1.10.amzn1.x86_64       13/40

  インストール中          : libpciaccess-0.13.1-4.1.11.amzn1.x86_64       14/40

  インストール中          : libdrm-2.4.52-4.12.amzn1.x86_64               15/40

  インストール中          : libXxf86vm-1.1.3-2.1.9.amzn1.x86_64           16/40

  インストール中          : mesa-dri-drivers-10.1.2-2.32.amzn1.x86_64     17/40

  インストール中          : mesa-libGL-10.1.2-2.32.amzn1.x86_64           18/40

  インストール中          : mesa-dri1-drivers-7.11-8.7.amzn1.x86_64       19/40

  インストール中          : ghostscript-fonts-5.50-23.2.7.amzn1.noarch    20/40

  インストール中          : gnutls-2.8.5-19.15.amzn1.x86_64               21/40

  インストール中          : lcms2-devel-2.5-4.4.amzn1.x86_64              22/40

  インストール中          : avahi-libs-0.6.25-12.17.amzn1.x86_64          23/40

  インストール中          : libjpeg-turbo-devel-1.2.90-5.14.amzn1.x86_6   24/40

  インストール中          : urw-fonts-2.4-10.7.amzn1.noarch               25/40

  インストール中          : bzip2-devel-1.0.6-8.12.amzn1.x86_64           26/40

  インストール中          : libtool-ltdl-2.4.2-20.4.8.3.31.amzn1.x86_64   27/40 

  インストール中          : pixman-0.32.4-4.11.amzn1.x86_64               28/40

  インストール中          : cairo-1.12.14-6.8.amzn1.x86_64                29/40

  インストール中          : libgomp-4.8.3-9.109.amzn1.x86_64              30/40

  インストール中          : freetype-devel-2.3.11-15.14.amzn1.x86_64      31/40 

  インストール中          : jbigkit-libs-2.0-11.4.amzn1.x86_64            32/40

  インストール中          : libtiff-4.0.3-20.20.amzn1.x86_64              33/40

  インストール中          : 1:cups-libs-1.4.2-67.21.amzn1.x86_64          34/40

  インストール中          : ghostscript-8.70-19.23.amzn1.x86_64           35/40

  インストール中          : ghostscript-devel-8.70-19.23.amzn1.x86_64     36/40

  インストール中          : libtiff-devel-4.0.3-20.20.amzn1.x86_64        37/40

  インストール中          : libwmf-lite-0.2.8.4-41.11.amzn1.x86_64        38/40

  インストール中          : ImageMagick-6.7.8.9-10.18.amzn1.x86_64        39/40

  インストール中          : ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_6   40/40

  検証中                  : 1:cups-libs-1.4.2-67.21.amzn1.x86_64           1/40

  検証中                  : libXt-1.1.4-6.1.9.amzn1.x86_64                 2/40

  検証中                  : libwmf-lite-0.2.8.4-41.11.amzn1.x86_64         3/40

  検証中                  : libX11-devel-1.6.0-2.2.12.amzn1.x86_64         4/40

  検証中                  : libSM-devel-1.2.1-2.6.amzn1.x86_64             5/40

  検証中                  : jasper-libs-1.900.1-16.9.amzn1.x86_64          6/40

  検証中                  : libdrm-2.4.52-4.12.amzn1.x86_64                7/40

  検証中                  : jbigkit-libs-2.0-11.4.amzn1.x86_64             8/40

  検証中                  : freetype-devel-2.3.11-15.14.amzn1.x86_64       9/40

  検証中                  : libXt-devel-1.1.4-6.1.9.amzn1.x86_64          10/40

  検証中                  : xorg-x11-proto-devel-7.7-9.10.amzn1.noarch    11/40

  検証中                  : libgomp-4.8.3-9.109.amzn1.x86_64              12/40

  検証中                  : cairo-1.12.14-6.8.amzn1.x86_64                13/40

  検証中                  : libICE-devel-1.0.6-1.4.amzn1.x86_64           14/40

  検証中                  : libtiff-4.0.3-20.20.amzn1.x86_64              15/40

  検証中                  : mesa-dri-filesystem-10.1.2-2.32.amzn1.x86_6   16/40

  検証中                  : libXext-devel-1.3.2-2.1.10.amzn1.x86_64       17/40

  検証中                  : pixman-0.32.4-4.11.amzn1.x86_64               18/40

  検証中                  : libtool-ltdl-2.4.2-20.4.8.3.31.amzn1.x86_64   19/40

  検証中                  : bzip2-devel-1.0.6-8.12.amzn1.x86_64           20/40

  検証中                  : mesa-dri1-drivers-7.11-8.7.amzn1.x86_64       21/40

  検証中                  : libXdamage-1.1.3-4.7.amzn1.x86_64             22/40

  検証中                  : urw-fonts-2.4-10.7.amzn1.noarch               23/40

  検証中                  : mesa-dri-drivers-10.1.2-2.32.amzn1.x86_64     24/40

  検証中                  : ghostscript-devel-8.70-19.23.amzn1.x86_64     25/40

  検証中                  : libjpeg-turbo-devel-1.2.90-5.14.amzn1.x86_6   26/40

  検証中                  : avahi-libs-0.6.25-12.17.amzn1.x86_64          27/40

  検証中                  : lcms2-devel-2.5-4.4.amzn1.x86_64              28/40

  検証中                  : mesa-libGL-10.1.2-2.32.amzn1.x86_64           29/40

  検証中                  : gnutls-2.8.5-19.15.amzn1.x86_64               30/40

  検証中                  : libXau-devel-1.0.6-4.9.amzn1.x86_64           31/40

  検証中                  : libxcb-devel-1.8.1-1.18.amzn1.x86_64          32/40

  検証中                  : ghostscript-fonts-5.50-23.2.7.amzn1.noarch    33/40

  検証中                  : ImageMagick-6.7.8.9-10.18.amzn1.x86_64        34/40

  検証中                  : ghostscript-8.70-19.23.amzn1.x86_64           35/40

  検証中                  : libXfixes-5.0.1-2.1.8.amzn1.x86_64            36/40

  検証中                  : libXxf86vm-1.1.3-2.1.9.amzn1.x86_64           37/40

  検証中                  : libpciaccess-0.13.1-4.1.11.amzn1.x86_64       38/40

  検証中                  : ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_6   39/40

  検証中                  : libtiff-devel-4.0.3-20.20.amzn1.x86_64        40/40

インストール:

  ImageMagick.x86_64 0:6.7.8.9-10.18.amzn1                                      

  ImageMagick-devel.x86_64 0:6.7.8.9-10.18.amzn1                                

依存性関連をインストールしました:

  avahi-libs.x86_64 0:0.6.25-12.17.amzn1                                        

  bzip2-devel.x86_64 0:1.0.6-8.12.amzn1                                         

  cairo.x86_64 0:1.12.14-6.8.amzn1                                              

  cups-libs.x86_64 1:1.4.2-67.21.amzn1                                          

  freetype-devel.x86_64 0:2.3.11-15.14.amzn1                                    

  ghostscript.x86_64 0:8.70-19.23.amzn1                                         

  ghostscript-devel.x86_64 0:8.70-19.23.amzn1                                   

  ghostscript-fonts.noarch 0:5.50-23.2.7.amzn1                                  

  gnutls.x86_64 0:2.8.5-19.15.amzn1                                             

  jasper-libs.x86_64 0:1.900.1-16.9.amzn1                                       

  jbigkit-libs.x86_64 0:2.0-11.4.amzn1                                          

  lcms2-devel.x86_64 0:2.5-4.4.amzn1                                            

  libICE-devel.x86_64 0:1.0.6-1.4.amzn1                                         

  libSM-devel.x86_64 0:1.2.1-2.6.amzn1                                          

  libX11-devel.x86_64 0:1.6.0-2.2.12.amzn1                                      

  libXau-devel.x86_64 0:1.0.6-4.9.amzn1                                         

  libXdamage.x86_64 0:1.1.3-4.7.amzn1                                           

  libXext-devel.x86_64 0:1.3.2-2.1.10.amzn1                                     

  libXfixes.x86_64 0:5.0.1-2.1.8.amzn1                                          

  libXt.x86_64 0:1.1.4-6.1.9.amzn1                                              

  libXt-devel.x86_64 0:1.1.4-6.1.9.amzn1                                        

  libXxf86vm.x86_64 0:1.1.3-2.1.9.amzn1                                         

  libdrm.x86_64 0:2.4.52-4.12.amzn1                                             

  libgomp.x86_64 0:4.8.3-9.109.amzn1                                            

  libjpeg-turbo-devel.x86_64 0:1.2.90-5.14.amzn1                                

  libpciaccess.x86_64 0:0.13.1-4.1.11.amzn1                                     

  libtiff.x86_64 0:4.0.3-20.20.amzn1                                            

  libtiff-devel.x86_64 0:4.0.3-20.20.amzn1                                      

  libtool-ltdl.x86_64 0:2.4.2-20.4.8.3.31.amzn1                                 

  libwmf-lite.x86_64 0:0.2.8.4-41.11.amzn1                                      

  libxcb-devel.x86_64 0:1.8.1-1.18.amzn1                                        

  mesa-dri-drivers.x86_64 0:10.1.2-2.32.amzn1                                   

  mesa-dri-filesystem.x86_64 0:10.1.2-2.32.amzn1                                

  mesa-dri1-drivers.x86_64 0:7.11-8.7.amzn1                                     

  mesa-libGL.x86_64 0:10.1.2-2.32.amzn1                                         

  pixman.x86_64 0:0.32.4-4.11.amzn1                                             

  urw-fonts.noarch 0:2.4-10.7.amzn1                                             

  xorg-x11-proto-devel.noarch 0:7.7-9.10.amzn1                                  

完了しました!

[root@www sysconfig]#
[root@www sysconfig]# gem install bundler --no-rdoc --no-ri

Fetching: bundler-1.11.2.gem (100%)

Successfully installed bundler-1.11.2

1 gem installed

[root@www sysconfig]#
[root@www sysconfig]# psql --version

psql (PostgreSQL) 9.2.14

[root@www sysconfig]# /sbin/service postgresql initdb

Initializing database:                                     [  OK  ]

[root@www sysconfig]#
[root@www pgsql9]# yum -y install svn

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ subversion.x86_64 0:1.8.13-7.52.amzn1 を インストール

--> 依存性の処理をしています: subversion-libs(x86-64) = 1.8.13-7.52.amzn1 のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_fs_base-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libserf-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_fs_util-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_fs-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_fs_fs-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_ra_serf-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_client-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_diff-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_wc-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_subr-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_delta-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_ra_local-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_ra-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_ra_svn-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> 依存性の処理をしています: libsvn_repos-1.so.0()(64bit) のパッケージ: subversion-1.8.13-7.52.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ libserf.x86_64 0:1.3.7-1.7.amzn1 を インストール

---> パッケージ subversion-libs.x86_64 0:1.8.13-7.52.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package              アーキテクチャー

                                  バージョン               リポジトリー    容量

================================================================================

インストール中:

subversion           x86_64      1.8.13-7.52.amzn1        amzn-main      1.6 M

依存性関連でのインストールをします:

libserf              x86_64      1.3.7-1.7.amzn1          amzn-main       64 k

subversion-libs      x86_64      1.8.13-7.52.amzn1        amzn-main      1.2 M

トランザクションの要約

================================================================================

インストール  1 パッケージ (+2 個の依存関係のパッケージ)

総ダウンロード容量: 2.8 M

インストール容量: 8.1 M

Downloading packages:

(1/3): libserf-1.3.7-1.7.amzn1.x86_64.rpm                |  64 kB     00:00     

(2/3): subversion-1.8.13-7.52.amzn1.x86_64.rpm           | 1.6 MB     00:00     

(3/3): subversion-libs-1.8.13-7.52.amzn1.x86_64.rpm      | 1.2 MB     00:00     

--------------------------------------------------------------------------------

合計                                                24 MB/s | 2.8 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : libserf-1.3.7-1.7.amzn1.x86_64                  1/3

  インストール中          : subversion-libs-1.8.13-7.52.amzn1.x86_64        2/3

  インストール中          : subversion-1.8.13-7.52.amzn1.x86_64             3/3

  検証中                  : subversion-libs-1.8.13-7.52.amzn1.x86_64        1/3

  検証中                  : subversion-1.8.13-7.52.amzn1.x86_64             2/3

  検証中                  : libserf-1.3.7-1.7.amzn1.x86_64                  3/3

インストール:

  subversion.x86_64 0:1.8.13-7.52.amzn1                                         

依存性関連をインストールしました:

  libserf.x86_64 0:1.3.7-1.7.amzn1  subversion-libs.x86_64 0:1.8.13-7.52.amzn1

完了しました!

[root@www pgsql9]#
svn co http://svn.redmine.org/redmine/branches/3.2-stable /var/lib/redmine

database.ymlを設定

[root@www redmine]# gem install bundler

Successfully installed bundler-1.11.2

Parsing documentation for bundler-1.11.2

Installing ri documentation for bundler-1.11.2

Done installing documentation for bundler after 6 seconds

1 gem installed

[root@www redmine]#
[root@www redmine]# /usr/local/bin/bundle install --without development test --path vendor/bundle

/usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- io/console (LoadError)

from /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/shell/basic.rb:2:in `<top (required)>'

from /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from /usr/share/ruby/vendor_ruby/2.0/rubygems/core_ext/kernel_require.rb:55:in `require'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/shell/color.rb:1:in `<top (required)>'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/shell.rb:17:in `shell'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/ui/shell.rb:14:in `initialize'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/cli.rb:12:in `new'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/cli.rb:12:in `rescue in start'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/cli.rb:10:in `start'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/exe/bundle:19:in `block in <top (required)>'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'

from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/exe/bundle:17:in `<top (required)>'

from /usr/local/bin/bundle:23:in `load'

from /usr/local/bin/bundle:23:in `<main>'

[root@www redmine]#

[root@www redmine]# yum -y install libxml2 libxslt libxml2-devel libxslt-devel

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

パッケージ libxml2-2.9.1-6.2.50.amzn1.x86_64 はインストール済みか最新バージョンです

パッケージ libxslt-1.1.28-5.12.amzn1.x86_64 はインストール済みか最新バージョンです

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ libxml2-devel.x86_64 0:2.9.1-6.2.50.amzn1 を インストール

--> 依存性の処理をしています: xz-devel のパッケージ: libxml2-devel-2.9.1-6.2.50.amzn1.x86_64

---> パッケージ libxslt-devel.x86_64 0:1.1.28-5.12.amzn1 を インストール

--> 依存性の処理をしています: libgcrypt-devel のパッケージ: libxslt-devel-1.1.28-5.12.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ libgcrypt-devel.x86_64 0:1.5.3-12.18.amzn1 を インストール

--> 依存性の処理をしています: libgpg-error-devel >= 1.10 のパッケージ: libgcrypt-devel-1.5.3-12.18.amzn1.x86_64

---> パッケージ xz-devel.x86_64 0:5.1.2-8alpha.11.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ libgpg-error-devel.x86_64 0:1.11-1.12.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package               アーキテクチャー

                                 バージョン               リポジトリー     容量

================================================================================

インストール中:

libxml2-devel         x86_64    2.9.1-6.2.50.amzn1       amzn-updates    1.4 M

libxslt-devel         x86_64    1.1.28-5.12.amzn1        amzn-main       435 k

依存性関連でのインストールをします:

libgcrypt-devel       x86_64    1.5.3-12.18.amzn1        amzn-main       131 k

libgpg-error-devel    x86_64    1.11-1.12.amzn1          amzn-main        16 k

xz-devel              x86_64    5.1.2-8alpha.11.amzn1    amzn-main        46 k

トランザクションの要約

================================================================================

インストール  2 パッケージ (+3 個の依存関係のパッケージ)

総ダウンロード容量: 2.0 M

インストール容量: 12 M

Downloading packages:

(1/5): libgcrypt-devel-1.5.3-12.18.amzn1.x86_64.rpm      | 131 kB     00:00     

(2/5): libgpg-error-devel-1.11-1.12.amzn1.x86_64.rpm     |  16 kB     00:00     

(3/5): libxml2-devel-2.9.1-6.2.50.amzn1.x86_64.rpm       | 1.4 MB     00:00     

(4/5): libxslt-devel-1.1.28-5.12.amzn1.x86_64.rpm        | 435 kB     00:00     

(5/5): xz-devel-5.1.2-8alpha.11.amzn1.x86_64.rpm         |  46 kB     00:00     

--------------------------------------------------------------------------------

合計                                                11 MB/s | 2.0 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : libgpg-error-devel-1.11-1.12.amzn1.x86_64       1/5

  インストール中          : libgcrypt-devel-1.5.3-12.18.amzn1.x86_64        2/5

  インストール中          : xz-devel-5.1.2-8alpha.11.amzn1.x86_64           3/5

  インストール中          : libxml2-devel-2.9.1-6.2.50.amzn1.x86_64         4/5

  インストール中          : libxslt-devel-1.1.28-5.12.amzn1.x86_64          5/5

  検証中                  : libxslt-devel-1.1.28-5.12.amzn1.x86_64          1/5

  検証中                  : libxml2-devel-2.9.1-6.2.50.amzn1.x86_64         2/5

  検証中                  : xz-devel-5.1.2-8alpha.11.amzn1.x86_64           3/5

  検証中                  : libgpg-error-devel-1.11-1.12.amzn1.x86_64       4/5

  検証中                  : libgcrypt-devel-1.5.3-12.18.amzn1.x86_64        5/5

インストール:

  libxml2-devel.x86_64 0:2.9.1-6.2.50.amzn1                                     

  libxslt-devel.x86_64 0:1.1.28-5.12.amzn1                                      

依存性関連をインストールしました:

  libgcrypt-devel.x86_64 0:1.5.3-12.18.amzn1                                    

  libgpg-error-devel.x86_64 0:1.11-1.12.amzn1                                   

  xz-devel.x86_64 0:5.1.2-8alpha.11.amzn1                                       

完了しました!

[root@www redmine]#

でもダメ

[root@www redmine]# gem install io-console

Building native extensions.  This could take a while...

ERROR:  Error installing io-console:

ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.0 extconf.rb

*** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of necessary

libraries and/or headers.  Check the mkmf.log file for more details.  You may

need configuration options.

Provided configuration options:

--with-opt-dir

--without-opt-dir

--with-opt-include

--without-opt-include=${opt-dir}/include

--with-opt-lib

--without-opt-lib=${opt-dir}/lib64

--with-make-prog

--without-make-prog

--srcdir=.

--curdir

--ruby=/usr/bin/ruby2.0

/usr/share/ruby/2.0/mkmf.rb:434:in `try_do': The compiler failed to generate an executable file. (RuntimeError)

You have to install development tools first.

from /usr/share/ruby/2.0/mkmf.rb:549:in `block in try_compile'

from /usr/share/ruby/2.0/mkmf.rb:502:in `with_werror'

from /usr/share/ruby/2.0/mkmf.rb:549:in `try_compile'

from /usr/share/ruby/2.0/mkmf.rb:789:in `macro_defined?'

from extconf.rb:7:in `<main>'

Gem files will remain installed in /usr/local/share/ruby/gems/2.0/gems/io-console-0.4.5 for inspection.

Results logged to /usr/local/share/ruby/gems/2.0/gems/io-console-0.4.5/./gem_make.out

[root@www redmine]#

gccをインストールしてリトライ

[root@www redmine]# which gcc

/usr/bin/which: no gcc in (/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin)

[root@www redmine]# yum -y install gcc

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ gcc.noarch 0:4.8.3-3.20.amzn1 を インストール

--> 依存性の処理をしています: gcc48 = 4.8.3 のパッケージ: gcc-4.8.3-3.20.amzn1.noarch

--> トランザクションの確認を実行しています。

---> パッケージ gcc48.x86_64 0:4.8.3-9.109.amzn1 を インストール

--> 依存性の処理をしています: cpp48(x86-64) = 4.8.3-9.109.amzn1 のパッケージ: gcc48-4.8.3-9.109.amzn1.x86_64

--> 依存性の処理をしています: glibc-devel(x86-64) >= 2.2.90-12 のパッケージ: gcc48-4.8.3-9.109.amzn1.x86_64

--> 依存性の処理をしています: libmpc.so.3()(64bit) のパッケージ: gcc48-4.8.3-9.109.amzn1.x86_64

--> 依存性の処理をしています: libmpfr.so.4()(64bit) のパッケージ: gcc48-4.8.3-9.109.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ cpp48.x86_64 0:4.8.3-9.109.amzn1 を インストール

---> パッケージ glibc-devel.x86_64 0:2.17-106.163.amzn1 を インストール

--> 依存性の処理をしています: glibc-headers = 2.17-106.163.amzn1 のパッケージ: glibc-devel-2.17-106.163.amzn1.x86_64

--> 依存性の処理をしています: glibc-headers のパッケージ: glibc-devel-2.17-106.163.amzn1.x86_64

---> パッケージ libmpc.x86_64 0:1.0.1-3.3.amzn1 を インストール

---> パッケージ mpfr.x86_64 0:3.1.1-4.14.amzn1 を インストール

--> トランザクションの確認を実行しています。

---> パッケージ glibc-headers.x86_64 0:2.17-106.163.amzn1 を インストール

--> 依存性の処理をしています: kernel-headers >= 2.2.1 のパッケージ: glibc-headers-2.17-106.163.amzn1.x86_64

--> 依存性の処理をしています: kernel-headers のパッケージ: glibc-headers-2.17-106.163.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ kernel-headers.x86_64 0:4.1.17-22.30.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package            アーキテクチャー

                               バージョン                リポジトリー      容量

================================================================================

インストール中:

gcc                noarch     4.8.3-3.20.amzn1          amzn-main        3.9 k

依存性関連でのインストールをします:

cpp48              x86_64     4.8.3-9.109.amzn1         amzn-main        6.7 M

gcc48              x86_64     4.8.3-9.109.amzn1         amzn-main         17 M

glibc-devel        x86_64     2.17-106.163.amzn1        amzn-updates     1.1 M

glibc-headers      x86_64     2.17-106.163.amzn1        amzn-updates     734 k

kernel-headers     x86_64     4.1.17-22.30.amzn1        amzn-updates     1.0 M

libmpc             x86_64     1.0.1-3.3.amzn1           amzn-main         53 k

mpfr               x86_64     3.1.1-4.14.amzn1          amzn-main        237 k

トランザクションの要約

================================================================================

インストール  1 パッケージ (+7 個の依存関係のパッケージ)

総ダウンロード容量: 27 M

インストール容量: 50 M

Downloading packages:

(1/8): cpp48-4.8.3-9.109.amzn1.x86_64.rpm                | 6.7 MB     00:00     

(2/8): gcc-4.8.3-3.20.amzn1.noarch.rpm                   | 3.9 kB     00:00     

(3/8): gcc48-4.8.3-9.109.amzn1.x86_64.rpm                |  17 MB     00:00     

(4/8): glibc-devel-2.17-106.163.amzn1.x86_64.rpm         | 1.1 MB     00:00     

(5/8): glibc-headers-2.17-106.163.amzn1.x86_64.rpm       | 734 kB     00:00     

(6/8): kernel-headers-4.1.17-22.30.amzn1.x86_64.rpm      | 1.0 MB     00:00     

(7/8): libmpc-1.0.1-3.3.amzn1.x86_64.rpm                 |  53 kB     00:00     

(8/8): mpfr-3.1.1-4.14.amzn1.x86_64.rpm                  | 237 kB     00:00     

--------------------------------------------------------------------------------

合計                                                38 MB/s |  27 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : mpfr-3.1.1-4.14.amzn1.x86_64                    1/8

  インストール中          : libmpc-1.0.1-3.3.amzn1.x86_64                   2/8

  インストール中          : cpp48-4.8.3-9.109.amzn1.x86_64                  3/8

  インストール中          : kernel-headers-4.1.17-22.30.amzn1.x86_64        4/8

  インストール中          : glibc-headers-2.17-106.163.amzn1.x86_64         5/8 

  インストール中          : glibc-devel-2.17-106.163.amzn1.x86_64           6/8

  インストール中          : gcc48-4.8.3-9.109.amzn1.x86_64                  7/8

  インストール中          : gcc-4.8.3-3.20.amzn1.noarch                     8/8

  検証中                  : glibc-headers-2.17-106.163.amzn1.x86_64         1/8

  検証中                  : cpp48-4.8.3-9.109.amzn1.x86_64                  2/8

  検証中                  : gcc48-4.8.3-9.109.amzn1.x86_64                  3/8

  検証中                  : gcc-4.8.3-3.20.amzn1.noarch                     4/8

  検証中                  : libmpc-1.0.1-3.3.amzn1.x86_64                   5/8

  検証中                  : mpfr-3.1.1-4.14.amzn1.x86_64                    6/8

  検証中                  : glibc-devel-2.17-106.163.amzn1.x86_64           7/8

  検証中                  : kernel-headers-4.1.17-22.30.amzn1.x86_64        8/8

インストール:

  gcc.noarch 0:4.8.3-3.20.amzn1                                                 

依存性関連をインストールしました:

  cpp48.x86_64 0:4.8.3-9.109.amzn1                                              

  gcc48.x86_64 0:4.8.3-9.109.amzn1                                              

  glibc-devel.x86_64 0:2.17-106.163.amzn1                                       

  glibc-headers.x86_64 0:2.17-106.163.amzn1                                     

  kernel-headers.x86_64 0:4.1.17-22.30.amzn1                                    

  libmpc.x86_64 0:1.0.1-3.3.amzn1                                               

  mpfr.x86_64 0:3.1.1-4.14.amzn1                                                

完了しました!

[root@www redmine]#

できた!

[root@www redmine]# gem install io-console

Building native extensions.  This could take a while...

Successfully installed io-console-0.4.5

Parsing documentation for io-console-0.4.5

Installing ri documentation for io-console-0.4.5

Done installing documentation for io-console after 0 seconds

1 gem installed

[root@www redmine]#

今度はMySQL絡みでエラー

[root@www redmine]# gem install mysql2 -v '0.3.20'

Fetching: mysql2-0.3.20.gem (100%)

Building native extensions.  This could take a while...

ERROR:  Error installing mysql2:

ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.0 extconf.rb

checking for ruby/thread.h... yes

checking for rb_thread_call_without_gvl() in ruby/thread.h... yes

checking for rb_thread_blocking_region()... yes

checking for rb_wait_for_single_fd()... yes

checking for rb_hash_dup()... yes

checking for rb_intern3()... yes

-----

Using mysql_config at /usr/bin/mysql_config

-----

checking for mysql.h... no

checking for mysql/mysql.h... no

-----

mysql.h is missing. You may need to 'apt-get install libmysqlclient-dev' or 'yum install mysql-devel', and try again.

-----

*** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of necessary

libraries and/or headers.  Check the mkmf.log file for more details.  You may

need configuration options.

Provided configuration options:

--with-opt-dir

--without-opt-dir

--with-opt-include

--without-opt-include=${opt-dir}/include

--with-opt-lib

--without-opt-lib=${opt-dir}/lib64

--with-make-prog

--without-make-prog

--srcdir=.

--curdir

--ruby=/usr/bin/ruby2.0

--with-mysql-dir

--without-mysql-dir

--with-mysql-include

--without-mysql-include=${mysql-dir}/include

--with-mysql-lib

--without-mysql-lib=${mysql-dir}/

--with-mysql-config

--without-mysql-config

Gem files will remain installed in /usr/local/share/ruby/gems/2.0/gems/mysql2-0.3.20 for inspection.

Results logged to /usr/local/share/ruby/gems/2.0/gems/mysql2-0.3.20/ext/mysql2/gem_make.out

[root@www redmine]#
[root@www redmine]# yum install mysql-devel

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ mysql-devel.noarch 0:5.5-1.6.amzn1 を インストール

--> 依存性の処理をしています: mysql55-devel >= 5.5 のパッケージ: mysql-devel-5.5-1.6.amzn1.noarch

--> トランザクションの確認を実行しています。

---> パッケージ mysql55-devel.x86_64 0:5.5.46-1.10.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package            アーキテクチャー

                                バージョン              リポジトリー       容量

================================================================================

インストール中:

mysql-devel        noarch      5.5-1.6.amzn1           amzn-main         2.7 k

依存性関連でのインストールをします:

mysql55-devel      x86_64      5.5.46-1.10.amzn1       amzn-updates      200 k

トランザクションの要約

================================================================================

インストール  1 パッケージ (+1 個の依存関係のパッケージ)

総ダウンロード容量: 203 k

インストール容量: 600 k

Is this ok [y/d/N]: y

Downloading packages:

(1/2): mysql-devel-5.5-1.6.amzn1.noarch.rpm              | 2.7 kB     00:00     

(2/2): mysql55-devel-5.5.46-1.10.amzn1.x86_64.rpm        | 200 kB     00:00     

--------------------------------------------------------------------------------

合計                                               2.0 MB/s | 203 kB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : mysql55-devel-5.5.46-1.10.amzn1.x86_64          1/2

  インストール中          : mysql-devel-5.5-1.6.amzn1.noarch                2/2

  検証中                  : mysql55-devel-5.5.46-1.10.amzn1.x86_64          1/2

  検証中                  : mysql-devel-5.5-1.6.amzn1.noarch                2/2

インストール:

  mysql-devel.noarch 0:5.5-1.6.amzn1                                            

依存性関連をインストールしました:

  mysql55-devel.x86_64 0:5.5.46-1.10.amzn1                                      

完了しました!

[root@www redmine]#
[root@www redmine]# /var/lib/redmine/bin/bundle install --without development test --path vendor/bundle

今度はnokogiriでエラー。

Installing activesupport 4.2.5.1

An error occurred while installing nokogiri (1.6.7.2), and Bundler cannot

continue.

Make sure that `gem install nokogiri -v '1.6.7.2'` succeeds before bundling.
[root@www redmine]# gem install nokogiri -v '1.6.7.2'

Building native extensions.  This could take a while...

ERROR:  Error installing nokogiri:

ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.0 extconf.rb

checking if the C compiler accepts ... yes

Building nokogiri using packaged libraries.

Using mini_portile version 2.0.0

checking for gzdopen() in -lz... yes

checking for iconv... yes

************************************************************************

IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.2

with the following patches applied:

- 0001-Revert-Missing-initialization-for-the-catalog-module.patch

- 0002-Fix-missing-entities-after-CVE-2014-3660-fix.patch

- 0003-Stop-parsing-on-entities-boundaries-errors.patch

- 0004-Cleanup-conditional-section-error-handling.patch

- 0005-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-.patch

- 0006-Another-variation-of-overflow-in-Conditional-section.patch

- 0007-Fix-an-error-in-previous-Conditional-section-patch.patch

- 0008-CVE-2015-8035-Fix-XZ-compression-support-loop.patch

- 0009-Updated-config.guess.patch

- 0010-Fix-parsering-short-unclosed-comment-uninitialized-access.patch

- 0011-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch

- 0012-Avoid-processing-entities-after-encoding-conversion-.patch

- 0013-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDi.patch

- 0014-CVE-2015-5312-Another-entity-expansion-issue.patch

- 0015-Add-xmlHaltParser-to-stop-the-parser.patch

- 0016-Detect-incoherency-on-GROW.patch

- 0017-CVE-2015-7500-Fix-memory-access-error-due-to-incorre.patch

- 0018-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-pus.patch

- 0019-Do-not-print-error-context-when-there-is-none.patch

- 0020-xmlStopParser-reset-errNo.patch

- 0021-Reuse-xmlHaltParser-where-it-makes-sense.patch

Team Nokogiri will keep on doing their best to provide security

updates in a timely manner, but if this is a concern for you and want

to use the system library instead; abort this installation process and

reinstall nokogiri as follows:

    gem install nokogiri -- --use-system-libraries

        [--with-xml2-config=/path/to/xml2-config]

        [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries

    bundle install

Note, however, that nokogiri is not fully compatible with arbitrary

versions of libxml2 provided by OS/package vendors.

************************************************************************

Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-redhat-linux-gnu/ports/libxml2/2.9.2... OK

*** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of necessary

libraries and/or headers.  Check the mkmf.log file for more details.  You may

need configuration options.

Provided configuration options:

--with-opt-dir

--without-opt-dir

--with-opt-include

--without-opt-include=${opt-dir}/include

--with-opt-lib

--without-opt-lib=${opt-dir}/lib64

--with-make-prog

--without-make-prog

--srcdir=.

--curdir

--ruby=/usr/bin/ruby2.0

--help

--clean

--use-system-libraries

--enable-static

--disable-static

--with-zlib-dir

--without-zlib-dir

--with-zlib-include

--without-zlib-include=${zlib-dir}/include

--with-zlib-lib

--without-zlib-lib=${zlib-dir}/lib

--enable-cross-build

--disable-cross-build

/usr/local/share/ruby/gems/2.0/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:79:in `apply_patch': Failed to complete patch task; patch(1) or git(1) is required. (RuntimeError)

from /usr/local/share/ruby/gems/2.0/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:87:in `block in patch'

from /usr/local/share/ruby/gems/2.0/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:85:in `each'

from /usr/local/share/ruby/gems/2.0/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:85:in `patch'

from /usr/local/share/ruby/gems/2.0/gems/mini_portile2-2.0.0/lib/mini_portile2/mini_portile.rb:148:in `cook'

from extconf.rb:289:in `block (2 levels) in process_recipe'

from extconf.rb:182:in `block in chdir_for_build'

from extconf.rb:181:in `chdir'

from extconf.rb:181:in `chdir_for_build'

from extconf.rb:288:in `block in process_recipe'

from extconf.rb:187:in `tap'

from extconf.rb:187:in `process_recipe'

from extconf.rb:478:in `<main>'

Gem files will remain installed in /usr/local/share/ruby/gems/2.0/gems/nokogiri-1.6.7.2 for inspection.

Results logged to /usr/local/share/ruby/gems/2.0/gems/nokogiri-1.6.7.2/ext/nokogiri/gem_make.out

[root@www redmine]#

gitもpatchも無いと言われたので両方追加。

[root@www redmine]# yum install patch

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ patch.x86_64 0:2.7.1-8.9.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package       アーキテクチャー

                              バージョン                リポジトリー       容量

================================================================================

インストール中:

patch         x86_64         2.7.1-8.9.amzn1           amzn-main         113 k

トランザクションの要約

================================================================================

インストール  1 パッケージ

総ダウンロード容量: 113 k

インストール容量: 203 k

Is this ok [y/d/N]: y

Downloading packages:

patch-2.7.1-8.9.amzn1.x86_64.rpm                         | 113 kB     00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : patch-2.7.1-8.9.amzn1.x86_64                    1/1

  検証中                  : patch-2.7.1-8.9.amzn1.x86_64                    1/1

インストール:

  patch.x86_64 0:2.7.1-8.9.amzn1                                                

完了しました!

[root@www redmine]# yum install git

読み込んだプラグイン:priorities, update-motd, upgrade-helper

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ git.x86_64 0:2.4.3-7.42.amzn1 を インストール

--> 依存性の処理をしています: perl-Git = 2.4.3-7.42.amzn1 のパッケージ: git-2.4.3-7.42.amzn1.x86_64

--> 依存性の処理をしています: perl(Term::ReadKey) のパッケージ: git-2.4.3-7.42.amzn1.x86_64

--> 依存性の処理をしています: perl(Git) のパッケージ: git-2.4.3-7.42.amzn1.x86_64

--> 依存性の処理をしています: perl(Error) のパッケージ: git-2.4.3-7.42.amzn1.x86_64

--> トランザクションの確認を実行しています。

---> パッケージ perl-Error.noarch 1:0.17020-2.9.amzn1 を インストール

---> パッケージ perl-Git.noarch 0:2.4.3-7.42.amzn1 を インストール

---> パッケージ perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package              アーキテクチャー

                                 バージョン              リポジトリー      容量

================================================================================

インストール中:

git                  x86_64     2.4.3-7.42.amzn1        amzn-updates     9.8 M

依存性関連でのインストールをします:

perl-Error           noarch     1:0.17020-2.9.amzn1     amzn-main         33 k

perl-Git             noarch     2.4.3-7.42.amzn1        amzn-updates      61 k

perl-TermReadKey     x86_64     2.30-20.9.amzn1         amzn-main         33 k

トランザクションの要約

================================================================================

インストール  1 パッケージ (+3 個の依存関係のパッケージ)

総ダウンロード容量: 10 M

インストール容量: 24 M

Is this ok [y/d/N]: y

Downloading packages:

(1/4): git-2.4.3-7.42.amzn1.x86_64.rpm                   | 9.8 MB     00:00     

(2/4): perl-Error-0.17020-2.9.amzn1.noarch.rpm           |  33 kB     00:00     

(3/4): perl-Git-2.4.3-7.42.amzn1.noarch.rpm              |  61 kB     00:00     

(4/4): perl-TermReadKey-2.30-20.9.amzn1.x86_64.rpm       |  33 kB     00:00     

--------------------------------------------------------------------------------

合計                                                36 MB/s |  10 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : 1:perl-Error-0.17020-2.9.amzn1.noarch           1/4

  インストール中          : perl-TermReadKey-2.30-20.9.amzn1.x86_64         2/4

  インストール中          : perl-Git-2.4.3-7.42.amzn1.noarch                3/4

  インストール中          : git-2.4.3-7.42.amzn1.x86_64                     4/4

  検証中                  : git-2.4.3-7.42.amzn1.x86_64                     1/4

  検証中                  : 1:perl-Error-0.17020-2.9.amzn1.noarch           2/4

  検証中                  : perl-Git-2.4.3-7.42.amzn1.noarch                3/4

  検証中                  : perl-TermReadKey-2.30-20.9.amzn1.x86_64         4/4

インストール:

  git.x86_64 0:2.4.3-7.42.amzn1                                                 

依存性関連をインストールしました:

  perl-Error.noarch 1:0.17020-2.9.amzn1      perl-Git.noarch 0:2.4.3-7.42.amzn1

  perl-TermReadKey.x86_64 0:2.30-20.9.amzn1

完了しました!

[root@www redmine]#

nokogiri入った

[root@www redmine]# gem install nokogiri -v '1.6.7.2'

Building native extensions.  This could take a while...

Successfully installed nokogiri-1.6.7.2

Parsing documentation for nokogiri-1.6.7.2

Installing ri documentation for nokogiri-1.6.7.2

Done installing documentation for nokogiri after 4 seconds

1 gem installed

[root@www redmine]#

やっと進んだ。

root@www redmine]# /var/lib/redmine/bin/bundle install --without development test --path vendor/bundle

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and

installing your bundle as root will break this application for all non-root

users on this machine.

Fetching gem metadata from https://rubygems.org/...........

Fetching version metadata from https://rubygems.org/...

Fetching dependency metadata from https://rubygems.org/..

Resolving dependencies.....

Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.

Using rake 10.5.0

Using i18n 0.7.0

Using json 1.8.3

Using minitest 5.8.4

Using thread_safe 0.3.5

Using builder 3.2.2

Using erubis 2.7.0

Using mini_portile2 2.0.0

Using rack 1.6.4

Using mime-types 2.99

Using arel 6.0.3

Using addressable 2.4.0

Using bundler 1.11.2

Using coderay 1.1.0

Using concurrent-ruby 1.0.0

Using htmlentities 4.3.1

Using thor 0.19.1

Using mysql2 0.3.20

Using net-ldap 0.12.1

Using ruby-openid 2.3.0

Using rbpdf-font 1.19.0

Using redcarpet 3.3.4

Using request_store 1.0.5

Using rmagick 2.15.4

Using tzinfo 1.2.2

Installing nokogiri 1.6.7.2 with native extensions

Using rack-test 0.6.3

Using mail 2.6.3

Using css_parser 1.3.7

Using sprockets 3.5.2

Using rack-openid 1.4.2

Using rbpdf 1.19.0

Using activesupport 4.2.5.1

Installing loofah 2.0.3

Installing roadie 3.1.1

Installing rails-deprecated_sanitizer 1.0.3

Installing globalid 0.3.6

Installing activemodel 4.2.5.1

Installing rails-html-sanitizer 1.0.3

Installing rails-dom-testing 1.0.7

Installing activejob 4.2.5.1

Installing activerecord 4.2.5.1

Installing protected_attributes 1.1.3

Installing actionview 4.2.5.1

Installing actionpack 4.2.5.1

Installing actionmailer 4.2.5.1

Installing actionpack-action_caching 1.1.1

Installing actionpack-xml_parser 1.0.2

Installing railties 4.2.5.1

Installing sprockets-rails 3.0.1

Installing jquery-rails 3.1.4

Installing roadie-rails 1.1.0

Installing rails 4.2.5.1

Bundle complete! 30 Gemfile dependencies, 53 gems now installed.

Gems in the groups development and test were not installed.

Bundled gems are installed into ./vendor/bundle.

[root@www redmine]#

[root@www redmine]# RAILS_ENV=production bin/bundle exec rake db:migrate

== 1 Setup: migrating =========================================================

-- create_table("attachments", {:force=>true})

   -> 0.0079s

-- create_table("auth_sources", {:force=>true})

   -> 0.0081s

-- create_table("custom_fields", {:force=>true})

   -> 0.0057s

-- create_table("custom_fields_projects", {:id=>false, :force=>true})

   -> 0.0057s

-- create_table("custom_fields_trackers", {:id=>false, :force=>true})

   -> 0.0058s

-- create_table("custom_values", {:force=>true})

   -> 0.0061s

-- create_table("documents", {:force=>true})

   -> 0.0053s

-- add_index("documents", ["project_id"], {:name=>"documents_project_id"})

   -> 0.0280s

-- create_table("enumerations", {:force=>true})

   -> 0.0060s

-- create_table("issue_categories", {:force=>true})

   -> 0.0058s

-- add_index("issue_categories", ["project_id"], {:name=>"issue_categories_project_id"})

   -> 0.0275s

-- create_table("issue_histories", {:force=>true})

   -> 0.0083s

-- add_index("issue_histories", ["issue_id"], {:name=>"issue_histories_issue_id"})

   -> 0.0275s

-- create_table("issue_statuses", {:force=>true})

   -> 0.0070s

-- create_table("issues", {:force=>true})

   -> 0.0059s

-- add_index("issues", ["project_id"], {:name=>"issues_project_id"})

   -> 0.0282s

-- create_table("members", {:force=>true})

   -> 0.0068s

-- create_table("news", {:force=>true})

   -> 0.0071s

-- add_index("news", ["project_id"], {:name=>"news_project_id"})

   -> 0.0280s

-- create_table("permissions", {:force=>true})

   -> 0.0060s

-- create_table("permissions_roles", {:id=>false, :force=>true})

   -> 0.0058s

-- add_index("permissions_roles", ["role_id"], {:name=>"permissions_roles_role_id"})

   -> 0.0279s

-- create_table("projects", {:force=>true})

   -> 0.0064s

-- create_table("roles", {:force=>true})

   -> 0.0056s

-- create_table("tokens", {:force=>true})

   -> 0.0060s

-- create_table("trackers", {:force=>true})

   -> 0.0054s

-- create_table("users", {:force=>true})

   -> 0.0084s

-- create_table("versions", {:force=>true})

   -> 0.0062s

-- add_index("versions", ["project_id"], {:name=>"versions_project_id"})

   -> 0.0278s

-- create_table("workflows", {:force=>true})

   -> 0.0059s

== 1 Setup: migrated (0.4851s) ================================================

== 2 IssueMove: migrating =====================================================

== 2 IssueMove: migrated (0.0114s) ============================================

== 3 IssueAddNote: migrating ==================================================

== 3 IssueAddNote: migrated (0.0112s) =========================================

== 4 ExportPdf: migrating =====================================================

== 4 ExportPdf: migrated (0.0144s) ============================================

== 5 IssueStartDate: migrating ================================================

-- add_column(:issues, :start_date, :date)

   -> 0.0124s

-- add_column(:issues, :done_ratio, :integer, {:default=>0, :null=>false})

   -> 0.0117s

== 5 IssueStartDate: migrated (0.0244s) =======================================

== 6 CalendarAndActivity: migrating ===========================================

== 6 CalendarAndActivity: migrated (0.0168s) ==================================

== 7 CreateJournals: migrating ================================================

-- create_table(:journals, {:force=>true})

   -> 0.0063s

-- create_table(:journal_details, {:force=>true})

   -> 0.0057s

-- add_index("journals", ["journalized_id", "journalized_type"], {:name=>"journals_journalized_id"})

   -> 0.0306s

-- add_index("journal_details", ["journal_id"], {:name=>"journal_details_journal_id"})

   -> 0.0277s

-- drop_table(:issue_histories)

   -> 0.0038s

== 7 CreateJournals: migrated (0.0880s) =======================================

== 8 CreateUserPreferences: migrating =========================================

-- create_table(:user_preferences)

   -> 0.0052s

== 8 CreateUserPreferences: migrated (0.0054s) ================================

== 9 AddHideMailPref: migrating ===============================================

-- add_column(:user_preferences, :hide_mail, :boolean, {:default=>false})

   -> 0.0113s

== 9 AddHideMailPref: migrated (0.0115s) ======================================

== 10 CreateComments: migrating ===============================================

-- create_table(:comments)

   -> 0.0086s

== 10 CreateComments: migrated (0.0087s) ======================================

== 11 AddNewsCommentsCount: migrating =========================================

-- add_column(:news, :comments_count, :integer, {:default=>0, :null=>false})

   -> 0.0125s

== 11 AddNewsCommentsCount: migrated (0.0126s) ================================

== 12 AddCommentsPermissions: migrating =======================================

== 12 AddCommentsPermissions: migrated (0.0138s) ==============================

== 13 CreateQueries: migrating ================================================

-- create_table(:queries, {:force=>true})

   -> 0.0061s

== 13 CreateQueries: migrated (0.0063s) =======================================

== 14 AddQueriesPermissions: migrating ========================================

== 14 AddQueriesPermissions: migrated (0.0539s) ===============================

== 15 CreateRepositories: migrating ===========================================

-- create_table(:repositories, {:force=>true})

   -> 0.0076s

== 15 CreateRepositories: migrated (0.0078s) ==================================

== 16 AddRepositoriesPermissions: migrating ===================================

== 16 AddRepositoriesPermissions: migrated (0.0240s) ==========================

== 17 CreateSettings: migrating ===============================================

-- create_table(:settings, {:force=>true})

   -> 0.0055s

== 17 CreateSettings: migrated (0.0056s) ======================================

== 18 SetDocAndFilesNotifications: migrating ==================================

== 18 SetDocAndFilesNotifications: migrated (0.0232s) =========================

== 19 AddIssueStatusPosition: migrating =======================================

-- add_column(:issue_statuses, :position, :integer, {:default=>1})

   -> 0.0157s

== 19 AddIssueStatusPosition: migrated (0.0237s) ==============================

== 20 AddRolePosition: migrating ==============================================

-- add_column(:roles, :position, :integer, {:default=>1})

   -> 0.0105s

== 20 AddRolePosition: migrated (0.0279s) =====================================

== 21 AddTrackerPosition: migrating ===========================================

-- add_column(:trackers, :position, :integer, {:default=>1})

   -> 0.0100s

== 21 AddTrackerPosition: migrated (0.0264s) ==================================

== 22 SerializePossiblesValues: migrating =====================================

== 22 SerializePossiblesValues: migrated (0.0014s) ============================

== 23 AddTrackerIsInRoadmap: migrating ========================================

-- add_column(:trackers, :is_in_roadmap, :boolean, {:default=>true, :null=>false})

   -> 0.0111s

== 23 AddTrackerIsInRoadmap: migrated (0.0113s) ===============================

== 24 AddRoadmapPermission: migrating =========================================

== 24 AddRoadmapPermission: migrated (0.0113s) ================================

== 25 AddSearchPermission: migrating ==========================================

== 25 AddSearchPermission: migrated (0.0118s) =================================

== 26 AddRepositoryLoginAndPassword: migrating ================================

-- add_column(:repositories, :login, :string, {:limit=>60, :default=>""})

   -> 0.0119s

-- add_column(:repositories, :password, :string, {:limit=>60, :default=>""})

   -> 0.0092s

== 26 AddRepositoryLoginAndPassword: migrated (0.0214s) =======================

== 27 CreateWikis: migrating ==================================================

-- create_table(:wikis)

   -> 0.0054s

-- add_index(:wikis, :project_id, {:name=>:wikis_project_id})

   -> 0.0279s

== 27 CreateWikis: migrated (0.0335s) =========================================

== 28 CreateWikiPages: migrating ==============================================

-- create_table(:wiki_pages)

   -> 0.0051s

-- add_index(:wiki_pages, [:wiki_id, :title], {:name=>:wiki_pages_wiki_id_title})

   -> 0.0302s

== 28 CreateWikiPages: migrated (0.0356s) =====================================

== 29 CreateWikiContents: migrating ===========================================

-- create_table(:wiki_contents)

   -> 0.0056s

-- add_index(:wiki_contents, :page_id, {:name=>:wiki_contents_page_id})

   -> 0.0285s

-- create_table(:wiki_content_versions)

   -> 0.0057s

-- add_index(:wiki_content_versions, :wiki_content_id, {:name=>:wiki_content_versions_wcid})

   -> 0.0281s

== 29 CreateWikiContents: migrated (0.0685s) ==================================

== 30 AddProjectsFeedsPermissions: migrating ==================================

== 30 AddProjectsFeedsPermissions: migrated (0.0116s) =========================

== 31 AddRepositoryRootUrl: migrating =========================================

-- add_column(:repositories, :root_url, :string, {:limit=>255, :default=>""})

   -> 0.0107s

== 31 AddRepositoryRootUrl: migrated (0.0108s) ================================

== 32 CreateTimeEntries: migrating ============================================

-- create_table(:time_entries)

   -> 0.0057s

-- add_index(:time_entries, [:project_id], {:name=>:time_entries_project_id})

   -> 0.0281s

-- add_index(:time_entries, [:issue_id], {:name=>:time_entries_issue_id})

   -> 0.0289s

== 32 CreateTimeEntries: migrated (0.0631s) ===================================

== 33 AddTimelogPermissions: migrating ========================================

== 33 AddTimelogPermissions: migrated (0.0107s) ===============================

== 34 CreateChangesets: migrating =============================================

-- create_table(:changesets)

   -> 0.0051s

-- add_index(:changesets, [:repository_id, :revision], {:unique=>true, :name=>:changesets_repos_rev})

   -> 0.0275s

== 34 CreateChangesets: migrated (0.0329s) ====================================

== 35 CreateChanges: migrating ================================================

-- create_table(:changes)

   -> 0.0054s

-- add_index(:changes, [:changeset_id], {:name=>:changesets_changeset_id})

   -> 0.0281s

== 35 CreateChanges: migrated (0.0338s) =======================================

== 36 AddChangesetCommitDate: migrating =======================================

-- add_column(:changesets, :commit_date, :date)

   -> 0.0145s

== 36 AddChangesetCommitDate: migrated (0.0900s) ==============================

== 37 AddProjectIdentifier: migrating =========================================

-- add_column(:projects, :identifier, :string, {:limit=>20})

   -> 0.0115s

== 37 AddProjectIdentifier: migrated (0.0116s) ================================

== 38 AddCustomFieldIsFilter: migrating =======================================

-- add_column(:custom_fields, :is_filter, :boolean, {:null=>false, :default=>false})

   -> 0.0154s

== 38 AddCustomFieldIsFilter: migrated (0.0156s) ==============================

== 39 CreateWatchers: migrating ===============================================

-- create_table(:watchers)

   -> 0.0064s

== 39 CreateWatchers: migrated (0.0065s) ======================================

== 40 CreateChangesetsIssues: migrating =======================================

-- create_table(:changesets_issues, {:id=>false})

   -> 0.0050s

-- add_index(:changesets_issues, [:changeset_id, :issue_id], {:unique=>true, :name=>:changesets_issues_ids})

   -> 0.0299s

== 40 CreateChangesetsIssues: migrated (0.0351s) ==============================

== 41 RenameCommentToComments: migrating ======================================

== 41 RenameCommentToComments: migrated (0.1473s) =============================

== 42 CreateIssueRelations: migrating =========================================

-- create_table(:issue_relations)

   -> 0.0063s

== 42 CreateIssueRelations: migrated (0.0065s) ================================

== 43 AddRelationsPermissions: migrating ======================================

== 43 AddRelationsPermissions: migrated (0.0138s) =============================

== 44 SetLanguageLengthToFive: migrating ======================================

-- change_column(:users, :language, :string, {:limit=>5, :default=>""})

   -> 0.0115s

== 44 SetLanguageLengthToFive: migrated (0.0117s) =============================

== 45 CreateBoards: migrating =================================================

-- create_table(:boards)

   -> 0.0059s

-- add_index(:boards, [:project_id], {:name=>:boards_project_id})

   -> 0.0282s

== 45 CreateBoards: migrated (0.0343s) ========================================

== 46 CreateMessages: migrating ===============================================

-- create_table(:messages)

   -> 0.0102s

-- add_index(:messages, [:board_id], {:name=>:messages_board_id})

   -> 0.0276s

-- add_index(:messages, [:parent_id], {:name=>:messages_parent_id})

   -> 0.0286s

== 46 CreateMessages: migrated (0.0668s) ======================================

== 47 AddBoardsPermissions: migrating =========================================

== 47 AddBoardsPermissions: migrated (0.0159s) ================================

== 48 AllowNullVersionEffectiveDate: migrating ================================

-- change_column(:versions, :effective_date, :date, {:default=>nil, :null=>true})

   -> 0.0042s

== 48 AllowNullVersionEffectiveDate: migrated (0.0044s) =======================

== 49 AddWikiDestroyPagePermission: migrating =================================

== 49 AddWikiDestroyPagePermission: migrated (0.0115s) ========================

== 50 AddWikiAttachmentsPermissions: migrating ================================

== 50 AddWikiAttachmentsPermissions: migrated (0.0146s) =======================

== 51 AddProjectStatus: migrating =============================================

-- add_column(:projects, :status, :integer, {:default=>1, :null=>false})

   -> 0.0119s

== 51 AddProjectStatus: migrated (0.0120s) ====================================

== 52 AddChangesRevision: migrating ===========================================

-- add_column(:changes, :revision, :string)

   -> 0.0108s

== 52 AddChangesRevision: migrated (0.0109s) ==================================

== 53 AddChangesBranch: migrating =============================================

-- add_column(:changes, :branch, :string)

   -> 0.0113s

== 53 AddChangesBranch: migrated (0.0115s) ====================================

== 54 AddChangesetsScmid: migrating ===========================================

-- add_column(:changesets, :scmid, :string)

   -> 0.0106s

== 54 AddChangesetsScmid: migrated (0.0107s) ==================================

== 55 AddRepositoriesType: migrating ==========================================

-- add_column(:repositories, :type, :string)

   -> 0.0090s

== 55 AddRepositoriesType: migrated (0.0096s) =================================

== 56 AddRepositoriesChangesPermission: migrating =============================

== 56 AddRepositoriesChangesPermission: migrated (0.0117s) ====================

== 57 AddVersionsWikiPageTitle: migrating =====================================

-- add_column(:versions, :wiki_page_title, :string)

   -> 0.0092s

== 57 AddVersionsWikiPageTitle: migrated (0.0093s) ============================

== 58 AddIssueCategoriesAssignedToId: migrating ===============================

-- add_column(:issue_categories, :assigned_to_id, :integer)

   -> 0.0102s

== 58 AddIssueCategoriesAssignedToId: migrated (0.0104s) ======================

== 59 AddRolesAssignable: migrating ===========================================

-- add_column(:roles, :assignable, :boolean, {:default=>true})

   -> 0.0086s

== 59 AddRolesAssignable: migrated (0.0088s) ==================================

== 60 ChangeChangesetsCommitterLimit: migrating ===============================

-- change_column(:changesets, :committer, :string, {:limit=>nil})

   -> 0.0107s

== 60 ChangeChangesetsCommitterLimit: migrated (0.0108s) ======================

== 61 AddRolesBuiltin: migrating ==============================================

-- add_column(:roles, :builtin, :integer, {:default=>0, :null=>false})

   -> 0.0110s

== 61 AddRolesBuiltin: migrated (0.0111s) =====================================

== 62 InsertBuiltinRoles: migrating ===========================================

== 62 InsertBuiltinRoles: migrated (0.1028s) ==================================

== 63 AddRolesPermissions: migrating ==========================================

-- add_column(:roles, :permissions, :text)

   -> 0.0141s

== 63 AddRolesPermissions: migrated (0.0142s) =================================

== 64 DropPermissions: migrating ==============================================

-- drop_table(:permissions)

   -> 0.0029s

-- drop_table(:permissions_roles)

   -> 0.0032s

== 64 DropPermissions: migrated (0.0063s) =====================================

== 65 AddSettingsUpdatedOn: migrating =========================================

-- add_column(:settings, :updated_on, :timestamp)

   -> 0.0096s

== 65 AddSettingsUpdatedOn: migrated (0.0243s) ================================

== 66 AddCustomValueCustomizedIndex: migrating ================================

-- add_index(:custom_values, [:customized_type, :customized_id], {:name=>:custom_values_customized})

   -> 0.0277s

== 66 AddCustomValueCustomizedIndex: migrated (0.0278s) =======================

== 67 CreateWikiRedirects: migrating ==========================================

-- create_table(:wiki_redirects)

   -> 0.0059s

-- add_index(:wiki_redirects, [:wiki_id, :title], {:name=>:wiki_redirects_wiki_id_title})

   -> 0.0269s

== 67 CreateWikiRedirects: migrated (0.0330s) =================================

== 68 CreateEnabledModules: migrating =========================================

-- create_table(:enabled_modules)

   -> 0.0060s

-- add_index(:enabled_modules, [:project_id], {:name=>:enabled_modules_project_id})

   -> 0.0274s

== 68 CreateEnabledModules: migrated (0.0353s) ================================

== 69 AddIssuesEstimatedHours: migrating ======================================

-- add_column(:issues, :estimated_hours, :float)

   -> 0.0115s

== 69 AddIssuesEstimatedHours: migrated (0.0116s) =============================

== 70 ChangeAttachmentsContentTypeLimit: migrating ============================

-- change_column(:attachments, :content_type, :string, {:limit=>nil})

   -> 0.0126s

== 70 ChangeAttachmentsContentTypeLimit: migrated (0.0128s) ===================

== 71 AddQueriesColumnNames: migrating ========================================

-- add_column(:queries, :column_names, :text)

   -> 0.0122s

== 71 AddQueriesColumnNames: migrated (0.0123s) ===============================

== 72 AddEnumerationsPosition: migrating ======================================

-- add_column(:enumerations, :position, :integer, {:default=>1})

   -> 0.0121s

== 72 AddEnumerationsPosition: migrated (0.0313s) =============================

== 73 AddEnumerationsIsDefault: migrating =====================================

-- add_column(:enumerations, :is_default, :boolean, {:default=>false, :null=>false})

   -> 0.0075s

== 73 AddEnumerationsIsDefault: migrated (0.0077s) ============================

== 74 AddAuthSourcesTls: migrating ============================================

-- add_column(:auth_sources, :tls, :boolean, {:default=>false, :null=>false})

   -> 0.0097s

== 74 AddAuthSourcesTls: migrated (0.0098s) ===================================

== 75 AddMembersMailNotification: migrating ===================================

-- add_column(:members, :mail_notification, :boolean, {:default=>false, :null=>false})

   -> 0.0090s

== 75 AddMembersMailNotification: migrated (0.0091s) ==========================

== 76 AllowNullPosition: migrating ============================================

-- change_column(:issue_statuses, :position, :integer, {:default=>1, :null=>true})

   -> 0.0046s

-- change_column(:roles, :position, :integer, {:default=>1, :null=>true})

   -> 0.0042s

-- change_column(:trackers, :position, :integer, {:default=>1, :null=>true})

   -> 0.0077s

-- change_column(:boards, :position, :integer, {:default=>1, :null=>true})

   -> 0.0046s

-- change_column(:enumerations, :position, :integer, {:default=>1, :null=>true})

   -> 0.0043s

== 76 AllowNullPosition: migrated (0.0263s) ===================================

== 77 RemoveIssueStatusesHtmlColor: migrating =================================

-- remove_column(:issue_statuses, :html_color)

   -> 0.0107s

== 77 RemoveIssueStatusesHtmlColor: migrated (0.0109s) ========================

== 78 AddCustomFieldsPosition: migrating ======================================

-- add_column(:custom_fields, :position, :integer, {:default=>1})

   -> 0.0090s

== 78 AddCustomFieldsPosition: migrated (0.0097s) =============================

== 79 AddUserPreferencesTimeZone: migrating ===================================

-- add_column(:user_preferences, :time_zone, :string)

   -> 0.0098s

== 79 AddUserPreferencesTimeZone: migrated (0.0099s) ==========================

== 80 AddUsersType: migrating =================================================

-- add_column(:users, :type, :string)

   -> 0.0091s

== 80 AddUsersType: migrated (0.1027s) ========================================

== 81 CreateProjectsTrackers: migrating =======================================

-- create_table(:projects_trackers, {:id=>false})

   -> 0.0056s

-- add_index(:projects_trackers, :project_id, {:name=>:projects_trackers_project_id})

   -> 0.0277s

== 81 CreateProjectsTrackers: migrated (0.0344s) ==============================

== 82 AddMessagesLocked: migrating ============================================

-- add_column(:messages, :locked, :boolean, {:default=>false})

   -> 0.0111s

== 82 AddMessagesLocked: migrated (0.0112s) ===================================

== 83 AddMessagesSticky: migrating ============================================

-- add_column(:messages, :sticky, :integer, {:default=>0})

   -> 0.0102s

== 83 AddMessagesSticky: migrated (0.0104s) ===================================

== 84 ChangeAuthSourcesAccountLimit: migrating ================================

-- change_column(:auth_sources, :account, :string, {:limit=>nil})

   -> 0.0128s

== 84 ChangeAuthSourcesAccountLimit: migrated (0.0129s) =======================

== 85 AddRoleTrackerOldStatusIndexToWorkflows: migrating ======================

-- add_index(:workflows, [:role_id, :tracker_id, :old_status_id], {:name=>:wkfs_role_tracker_old_status})

   -> 0.0275s

== 85 AddRoleTrackerOldStatusIndexToWorkflows: migrated (0.0277s) =============

== 86 AddCustomFieldsSearchable: migrating ====================================

-- add_column(:custom_fields, :searchable, :boolean, {:default=>false})

   -> 0.0092s

== 86 AddCustomFieldsSearchable: migrated (0.0093s) ===========================

== 87 ChangeProjectsDescriptionToText: migrating ==============================

-- change_column(:projects, :description, :text, {:null=>true, :default=>nil})

   -> 0.0142s

== 87 ChangeProjectsDescriptionToText: migrated (0.0143s) =====================

== 88 AddCustomFieldsDefaultValue: migrating ==================================

-- add_column(:custom_fields, :default_value, :text)

   -> 0.0108s

== 88 AddCustomFieldsDefaultValue: migrated (0.0109s) =========================

== 89 AddAttachmentsDescription: migrating ====================================

-- add_column(:attachments, :description, :string)

   -> 0.0119s

== 89 AddAttachmentsDescription: migrated (0.0121s) ===========================

== 90 ChangeVersionsNameLimit: migrating ======================================

-- change_column(:versions, :name, :string, {:limit=>nil})

   -> 0.0119s

== 90 ChangeVersionsNameLimit: migrated (0.0121s) =============================

== 91 ChangeChangesetsRevisionToString: migrating =============================

-- index_exists?(:changesets, [:repository_id, :revision], {:name=>:changesets_repos_rev})

   -> 0.0004s

-- remove_index(:changesets, {:name=>:changesets_repos_rev})

   -> 0.0064s

-- index_exists?(:changesets, [:repository_id, :revision], {:name=>:altered_changesets_repos_rev})

   -> 0.0002s

-- change_column(:changesets, :revision, :string, {:null=>false})

   -> 0.0121s

-- add_index(:changesets, [:repository_id, :revision], {:unique=>true, :name=>:changesets_repos_rev})

   -> 0.0277s

== 91 ChangeChangesetsRevisionToString: migrated (0.0476s) ====================

== 92 ChangeChangesFromRevisionToString: migrating ============================

-- change_column(:changes, :from_revision, :string)

   -> 0.0115s

== 92 ChangeChangesFromRevisionToString: migrated (0.0116s) ===================

== 93 AddWikiPagesProtected: migrating ========================================

-- add_column(:wiki_pages, :protected, :boolean, {:default=>false, :null=>false})

   -> 0.0108s

== 93 AddWikiPagesProtected: migrated (0.0109s) ===============================

== 94 ChangeProjectsHomepageLimit: migrating ==================================

-- change_column(:projects, :homepage, :string, {:limit=>nil, :default=>""})

   -> 0.0117s

== 94 ChangeProjectsHomepageLimit: migrated (0.0118s) =========================

== 95 AddWikiPagesParentId: migrating =========================================

-- add_column(:wiki_pages, :parent_id, :integer, {:default=>nil})

   -> 0.0108s

== 95 AddWikiPagesParentId: migrated (0.0110s) ================================

== 96 AddCommitAccessPermission: migrating ====================================

== 96 AddCommitAccessPermission: migrated (0.0006s) ===========================

== 97 AddViewWikiEditsPermission: migrating ===================================

== 97 AddViewWikiEditsPermission: migrated (0.0007s) ==========================

== 98 SetTopicAuthorsAsWatchers: migrating ====================================

== 98 SetTopicAuthorsAsWatchers: migrated (0.0270s) ===========================

== 99 AddDeleteWikiPagesAttachmentsPermission: migrating ======================

== 99 AddDeleteWikiPagesAttachmentsPermission: migrated (0.0006s) =============

== 100 AddChangesetsUserId: migrating =========================================

-- add_column(:changesets, :user_id, :integer, {:default=>nil})

   -> 0.0096s

== 100 AddChangesetsUserId: migrated (0.0098s) ================================

== 101 PopulateChangesetsUserId: migrating ====================================

== 101 PopulateChangesetsUserId: migrated (0.0011s) ===========================

== 102 AddCustomFieldsEditable: migrating =====================================

-- add_column(:custom_fields, :editable, :boolean, {:default=>true})

   -> 0.0111s

== 102 AddCustomFieldsEditable: migrated (0.0113s) ============================

== 103 SetCustomFieldsEditable: migrating =====================================

== 103 SetCustomFieldsEditable: migrated (0.0027s) ============================

== 104 AddProjectsLftAndRgt: migrating ========================================

-- add_column(:projects, :lft, :integer)

   -> 0.0105s

-- add_column(:projects, :rgt, :integer)

   -> 0.0113s

== 104 AddProjectsLftAndRgt: migrated (0.0221s) ===============================

== 105 BuildProjectsTree: migrating ===========================================

== 105 BuildProjectsTree: migrated (0.0023s) ==================================

== 106 RemoveProjectsProjectsCount: migrating =================================

-- remove_column(:projects, :projects_count)

   -> 0.0143s

== 106 RemoveProjectsProjectsCount: migrated (0.0144s) ========================

== 107 AddOpenIdAuthenticationTables: migrating ===============================

-- create_table(:open_id_authentication_associations, {:force=>true})

   -> 0.0069s

-- create_table(:open_id_authentication_nonces, {:force=>true})

   -> 0.0056s

== 107 AddOpenIdAuthenticationTables: migrated (0.0128s) ======================

== 108 AddIdentityUrlToUsers: migrating =======================================

-- add_column(:users, :identity_url, :string)

   -> 0.0104s

== 108 AddIdentityUrlToUsers: migrated (0.0106s) ==============================

== 20090214190337 AddWatchersUserIdTypeIndex: migrating =======================

-- add_index(:watchers, [:user_id, :watchable_type], {:name=>:watchers_user_id_type})

   -> 0.0283s

== 20090214190337 AddWatchersUserIdTypeIndex: migrated (0.0284s) ==============

== 20090312172426 AddQueriesSortCriteria: migrating ===========================

-- add_column(:queries, :sort_criteria, :text)

   -> 0.0101s

== 20090312172426 AddQueriesSortCriteria: migrated (0.0102s) ==================

== 20090312194159 AddProjectsTrackersUniqueIndex: migrating ===================

-- add_index(:projects_trackers, [:project_id, :tracker_id], {:name=>:projects_trackers_unique, :unique=>true})

   -> 0.0468s

== 20090312194159 AddProjectsTrackersUniqueIndex: migrated (0.0475s) ==========

== 20090318181151 ExtendSettingsName: migrating ===============================

-- change_column(:settings, :name, :string, {:limit=>255, :default=>"", :null=>false})

   -> 0.0107s

== 20090318181151 ExtendSettingsName: migrated (0.0108s) ======================

== 20090323224724 AddTypeToEnumerations: migrating ============================

-- add_column(:enumerations, :type, :string)

   -> 0.0107s

== 20090323224724 AddTypeToEnumerations: migrated (0.0108s) ===================

== 20090401221305 UpdateEnumerationsToSti: migrating ==========================

== 20090401221305 UpdateEnumerationsToSti: migrated (0.0015s) =================

== 20090401231134 AddActiveFieldToEnumerations: migrating =====================

-- add_column(:enumerations, :active, :boolean, {:default=>true, :null=>false})

   -> 0.0097s

== 20090401231134 AddActiveFieldToEnumerations: migrated (0.0098s) ============

== 20090403001910 AddProjectToEnumerations: migrating =========================

-- add_column(:enumerations, :project_id, :integer, {:null=>true, :default=>nil})

   -> 0.0096s

-- add_index(:enumerations, :project_id)

   -> 0.0299s

== 20090403001910 AddProjectToEnumerations: migrated (0.0397s) ================

== 20090406161854 AddParentIdToEnumerations: migrating ========================

-- add_column(:enumerations, :parent_id, :integer, {:null=>true, :default=>nil})

   -> 0.0100s

== 20090406161854 AddParentIdToEnumerations: migrated (0.0101s) ===============

== 20090425161243 AddQueriesGroupBy: migrating ================================

-- add_column(:queries, :group_by, :string)

   -> 0.0109s

== 20090425161243 AddQueriesGroupBy: migrated (0.0110s) =======================

== 20090503121501 CreateMemberRoles: migrating ================================

-- create_table(:member_roles)

   -> 0.0053s

== 20090503121501 CreateMemberRoles: migrated (0.0054s) =======================

== 20090503121505 PopulateMemberRoles: migrating ==============================

== 20090503121505 PopulateMemberRoles: migrated (0.0128s) =====================

== 20090503121510 DropMembersRoleId: migrating ================================

-- remove_column(:members, :role_id)

   -> 0.0157s

== 20090503121510 DropMembersRoleId: migrated (0.0159s) =======================

== 20090614091200 FixMessagesStickyNull: migrating ============================

== 20090614091200 FixMessagesStickyNull: migrated (0.0005s) ===================

== 20090704172350 PopulateUsersType: migrating ================================

== 20090704172350 PopulateUsersType: migrated (0.0005s) =======================

== 20090704172355 CreateGroupsUsers: migrating ================================

-- create_table(:groups_users, {:id=>false})

   -> 0.0060s

-- add_index(:groups_users, [:group_id, :user_id], {:unique=>true, :name=>:groups_users_ids})

   -> 0.0302s

== 20090704172355 CreateGroupsUsers: migrated (0.0364s) =======================

== 20090704172358 AddMemberRolesInheritedFrom: migrating ======================

-- add_column(:member_roles, :inherited_from, :integer)

   -> 0.0104s

== 20090704172358 AddMemberRolesInheritedFrom: migrated (0.0106s) =============

== 20091010093521 FixUsersCustomValues: migrating =============================

== 20091010093521 FixUsersCustomValues: migrated (0.0036s) ====================

== 20091017212227 AddMissingIndexesToWorkflows: migrating =====================

-- add_index(:workflows, :old_status_id)

   -> 0.0320s

-- add_index(:workflows, :role_id)

   -> 0.0277s

-- add_index(:workflows, :new_status_id)

   -> 0.0293s

== 20091017212227 AddMissingIndexesToWorkflows: migrated (0.0895s) ============

== 20091017212457 AddMissingIndexesToCustomFieldsProjects: migrating ==========

-- add_index(:custom_fields_projects, [:custom_field_id, :project_id])

   -> 0.0279s

== 20091017212457 AddMissingIndexesToCustomFieldsProjects: migrated (0.0280s) =

== 20091017212644 AddMissingIndexesToMessages: migrating ======================

-- add_index(:messages, :last_reply_id)

   -> 0.0285s

-- add_index(:messages, :author_id)

   -> 0.0287s

== 20091017212644 AddMissingIndexesToMessages: migrated (0.0573s) =============

== 20091017212938 AddMissingIndexesToRepositories: migrating ==================

-- add_index(:repositories, :project_id)

   -> 0.0280s

== 20091017212938 AddMissingIndexesToRepositories: migrated (0.0281s) =========

== 20091017213027 AddMissingIndexesToComments: migrating ======================

-- add_index(:comments, [:commented_id, :commented_type])

   -> 0.0304s

-- add_index(:comments, :author_id)

   -> 0.0278s

== 20091017213027 AddMissingIndexesToComments: migrated (0.0584s) =============

== 20091017213113 AddMissingIndexesToEnumerations: migrating ==================

-- add_index(:enumerations, [:id, :type])

   -> 0.0301s

== 20091017213113 AddMissingIndexesToEnumerations: migrated (0.0302s) =========

== 20091017213151 AddMissingIndexesToWikiPages: migrating =====================

-- add_index(:wiki_pages, :wiki_id)

   -> 0.0371s

-- add_index(:wiki_pages, :parent_id)

   -> 0.0279s

== 20091017213151 AddMissingIndexesToWikiPages: migrated (0.0651s) ============

== 20091017213228 AddMissingIndexesToWatchers: migrating ======================

-- add_index(:watchers, :user_id)

   -> 0.0288s

-- add_index(:watchers, [:watchable_id, :watchable_type])

   -> 0.0276s

== 20091017213228 AddMissingIndexesToWatchers: migrated (0.0566s) =============

== 20091017213257 AddMissingIndexesToAuthSources: migrating ===================

-- add_index(:auth_sources, [:id, :type])

   -> 0.0289s

== 20091017213257 AddMissingIndexesToAuthSources: migrated (0.0290s) ==========

== 20091017213332 AddMissingIndexesToDocuments: migrating =====================

-- add_index(:documents, :category_id)

   -> 0.0290s

== 20091017213332 AddMissingIndexesToDocuments: migrated (0.0291s) ============

== 20091017213444 AddMissingIndexesToTokens: migrating ========================

-- add_index(:tokens, :user_id)

   -> 0.0281s

== 20091017213444 AddMissingIndexesToTokens: migrated (0.0282s) ===============

== 20091017213536 AddMissingIndexesToChangesets: migrating ====================

-- add_index(:changesets, :user_id)

   -> 0.0283s

-- add_index(:changesets, :repository_id)

   -> 0.0295s

== 20091017213536 AddMissingIndexesToChangesets: migrated (0.0579s) ===========

== 20091017213642 AddMissingIndexesToIssueCategories: migrating ===============

-- add_index(:issue_categories, :assigned_to_id)

   -> 0.0288s

== 20091017213642 AddMissingIndexesToIssueCategories: migrated (0.0289s) ======

== 20091017213716 AddMissingIndexesToMemberRoles: migrating ===================

-- add_index(:member_roles, :member_id)

   -> 0.0299s

-- add_index(:member_roles, :role_id)

   -> 0.0301s

== 20091017213716 AddMissingIndexesToMemberRoles: migrated (0.0602s) ==========

== 20091017213757 AddMissingIndexesToBoards: migrating ========================

-- add_index(:boards, :last_message_id)

   -> 0.0286s

== 20091017213757 AddMissingIndexesToBoards: migrated (0.0287s) ===============

== 20091017213835 AddMissingIndexesToUserPreferences: migrating ===============

-- add_index(:user_preferences, :user_id)

   -> 0.0288s

== 20091017213835 AddMissingIndexesToUserPreferences: migrated (0.0289s) ======

== 20091017213910 AddMissingIndexesToIssues: migrating ========================

-- add_index(:issues, :status_id)

   -> 0.0308s

-- add_index(:issues, :category_id)

   -> 0.0290s

-- add_index(:issues, :assigned_to_id)

   -> 0.0277s

-- add_index(:issues, :fixed_version_id)

   -> 0.0287s

-- add_index(:issues, :tracker_id)

   -> 0.0283s

-- add_index(:issues, :priority_id)

   -> 0.0274s

-- add_index(:issues, :author_id)

   -> 0.0285s

== 20091017213910 AddMissingIndexesToIssues: migrated (0.2008s) ===============

== 20091017214015 AddMissingIndexesToMembers: migrating =======================

-- add_index(:members, :user_id)

   -> 0.0310s

-- add_index(:members, :project_id)

   -> 0.0287s

== 20091017214015 AddMissingIndexesToMembers: migrated (0.0599s) ==============

== 20091017214107 AddMissingIndexesToCustomFields: migrating ==================

-- add_index(:custom_fields, [:id, :type])

   -> 0.0284s

== 20091017214107 AddMissingIndexesToCustomFields: migrated (0.0285s) =========

== 20091017214136 AddMissingIndexesToQueries: migrating =======================

-- add_index(:queries, :project_id)

   -> 0.0285s

-- add_index(:queries, :user_id)

   -> 0.0277s

== 20091017214136 AddMissingIndexesToQueries: migrated (0.0563s) ==============

== 20091017214236 AddMissingIndexesToTimeEntries: migrating ===================

-- add_index(:time_entries, :activity_id)

   -> 0.0289s

-- add_index(:time_entries, :user_id)

   -> 0.0277s

== 20091017214236 AddMissingIndexesToTimeEntries: migrated (0.0568s) ==========

== 20091017214308 AddMissingIndexesToNews: migrating ==========================

-- add_index(:news, :author_id)

   -> 0.0288s

== 20091017214308 AddMissingIndexesToNews: migrated (0.0289s) =================

== 20091017214336 AddMissingIndexesToUsers: migrating =========================

-- add_index(:users, [:id, :type])

   -> 0.0304s

-- add_index(:users, :auth_source_id)

   -> 0.0342s

== 20091017214336 AddMissingIndexesToUsers: migrated (0.0648s) ================

== 20091017214406 AddMissingIndexesToAttachments: migrating ===================

-- add_index(:attachments, [:container_id, :container_type])

   -> 0.0279s

-- add_index(:attachments, :author_id)

   -> 0.0286s

== 20091017214406 AddMissingIndexesToAttachments: migrated (0.0567s) ==========

== 20091017214440 AddMissingIndexesToWikiContents: migrating ==================

-- add_index(:wiki_contents, :author_id)

   -> 0.0295s

== 20091017214440 AddMissingIndexesToWikiContents: migrated (0.0296s) =========

== 20091017214519 AddMissingIndexesToCustomValues: migrating ==================

-- add_index(:custom_values, :custom_field_id)

   -> 0.0280s

== 20091017214519 AddMissingIndexesToCustomValues: migrated (0.0281s) =========

== 20091017214611 AddMissingIndexesToJournals: migrating ======================

-- add_index(:journals, :user_id)

   -> 0.0278s

-- add_index(:journals, :journalized_id)

   -> 0.0299s

== 20091017214611 AddMissingIndexesToJournals: migrated (0.0578s) =============

== 20091017214644 AddMissingIndexesToIssueRelations: migrating ================

-- add_index(:issue_relations, :issue_from_id)

   -> 0.0281s

-- add_index(:issue_relations, :issue_to_id)

   -> 0.0281s

== 20091017214644 AddMissingIndexesToIssueRelations: migrated (0.0563s) =======

== 20091017214720 AddMissingIndexesToWikiRedirects: migrating =================

-- add_index(:wiki_redirects, :wiki_id)

   -> 0.0301s

== 20091017214720 AddMissingIndexesToWikiRedirects: migrated (0.0302s) ========

== 20091017214750 AddMissingIndexesToCustomFieldsTrackers: migrating ==========

-- add_index(:custom_fields_trackers, [:custom_field_id, :tracker_id])

   -> 0.0297s

== 20091017214750 AddMissingIndexesToCustomFieldsTrackers: migrated (0.0298s) =

== 20091025163651 AddActivityIndexes: migrating ===============================

-- add_index(:journals, :created_on)

   -> 0.0285s

-- add_index(:changesets, :committed_on)

   -> 0.0297s

-- add_index(:wiki_content_versions, :updated_on)

   -> 0.0283s

-- add_index(:messages, :created_on)

   -> 0.0281s

-- add_index(:issues, :created_on)

   -> 0.0288s

-- add_index(:news, :created_on)

   -> 0.0308s

-- add_index(:attachments, :created_on)

   -> 0.0286s

-- add_index(:documents, :created_on)

   -> 0.0282s

-- add_index(:time_entries, :created_on)

   -> 0.0306s

== 20091025163651 AddActivityIndexes: migrated (0.2618s) ======================

== 20091108092559 AddVersionsStatus: migrating ================================

-- add_column(:versions, :status, :string, {:default=>"open"})

   -> 0.0172s

== 20091108092559 AddVersionsStatus: migrated (0.0285s) =======================

== 20091114105931 AddViewIssuesPermission: migrating ==========================

== 20091114105931 AddViewIssuesPermission: migrated (0.0210s) =================

== 20091123212029 AddDefaultDoneRatioToIssueStatus: migrating =================

-- add_column(:issue_statuses, :default_done_ratio, :integer)

   -> 0.0120s

== 20091123212029 AddDefaultDoneRatioToIssueStatus: migrated (0.0121s) ========

== 20091205124427 AddVersionsSharing: migrating ===============================

-- add_column(:versions, :sharing, :string, {:default=>"none", :null=>false})

   -> 0.0099s

-- add_index(:versions, :sharing)

   -> 0.0294s

== 20091205124427 AddVersionsSharing: migrated (0.0396s) ======================

== 20091220183509 AddLftAndRgtIndexesToProjects: migrating ====================

-- add_index(:projects, :lft)

   -> 0.0280s

-- add_index(:projects, :rgt)

   -> 0.0296s

== 20091220183509 AddLftAndRgtIndexesToProjects: migrated (0.0579s) ===========

== 20091220183727 AddIndexToSettingsName: migrating ===========================

-- add_index(:settings, :name)

   -> 0.0306s

== 20091220183727 AddIndexToSettingsName: migrated (0.0307s) ==================

== 20091220184736 AddIndexesToIssueStatus: migrating ==========================

-- add_index(:issue_statuses, :position)

   -> 0.0285s

-- add_index(:issue_statuses, :is_closed)

   -> 0.0302s

-- add_index(:issue_statuses, :is_default)

   -> 0.0289s

== 20091220184736 AddIndexesToIssueStatus: migrated (0.0878s) =================

== 20091225164732 RemoveEnumerationsOpt: migrating ============================

-- remove_column(:enumerations, :opt)

   -> 0.0136s

== 20091225164732 RemoveEnumerationsOpt: migrated (0.0137s) ===================

== 20091227112908 ChangeWikiContentsTextLimit: migrating ======================

-- change_column(:wiki_contents, :text, :text, {:limit=>16777216})

   -> 0.0133s

-- change_column(:wiki_content_versions, :data, :binary, {:limit=>16777216})

   -> 0.0119s

== 20091227112908 ChangeWikiContentsTextLimit: migrated (0.0255s) =============

== 20100129193402 ChangeUsersMailNotificationToString: migrating ==============

-- rename_column(:users, :mail_notification, :mail_notification_bool)

   -> 0.0190s

-- add_column(:users, :mail_notification, :string, {:default=>"", :null=>false})

   -> 0.0188s

-- remove_column(:users, :mail_notification_bool)

   -> 0.0169s

== 20100129193402 ChangeUsersMailNotificationToString: migrated (0.0597s) =====

== 20100129193813 UpdateMailNotificationValues: migrating =====================

== 20100129193813 UpdateMailNotificationValues: migrated (0.0000s) ============

== 20100221100219 AddIndexOnChangesetsScmid: migrating ========================

-- add_index(:changesets, [:repository_id, :scmid], {:name=>:changesets_repos_scmid})

   -> 0.0283s

== 20100221100219 AddIndexOnChangesetsScmid: migrated (0.0284s) ===============

== 20100313132032 AddIssuesNestedSetsColumns: migrating =======================

-- add_column(:issues, :parent_id, :integer, {:default=>nil})

   -> 0.0142s

-- add_column(:issues, :root_id, :integer, {:default=>nil})

   -> 0.0148s

-- add_column(:issues, :lft, :integer, {:default=>nil})

   -> 0.0121s

-- add_column(:issues, :rgt, :integer, {:default=>nil})

   -> 0.0119s

== 20100313132032 AddIssuesNestedSetsColumns: migrated (0.0902s) ==============

== 20100313171051 AddIndexOnIssuesNestedSet: migrating ========================

-- add_index(:issues, [:root_id, :lft, :rgt])

   -> 0.0303s

== 20100313171051 AddIndexOnIssuesNestedSet: migrated (0.0304s) ===============

== 20100705164950 ChangeChangesPathLengthLimit: migrating =====================

-- change_column(:changes, :path, :text, {:default=>nil, :null=>true})

   -> 0.0104s

-- change_column(:changes, :path, :text, {:null=>false})

   -> 0.0118s

-- change_column(:changes, :from_path, :text)

   -> 0.0150s

== 20100705164950 ChangeChangesPathLengthLimit: migrated (0.0376s) ============

== 20100819172912 EnableCalendarAndGanttModulesWhereAppropriate: migrating ====

== 20100819172912 EnableCalendarAndGanttModulesWhereAppropriate: migrated (0.0082s)

== 20101104182107 AddUniqueIndexOnMembers: migrating ==========================

-- add_index(:members, [:user_id, :project_id], {:unique=>true})

   -> 0.0296s

== 20101104182107 AddUniqueIndexOnMembers: migrated (0.0308s) =================

== 20101107130441 AddCustomFieldsVisible: migrating ===========================

-- add_column(:custom_fields, :visible, :boolean, {:null=>false, :default=>true})

   -> 0.0102s

== 20101107130441 AddCustomFieldsVisible: migrated (0.0109s) ==================

== 20101114115114 ChangeProjectsNameLimit: migrating ==========================

-- change_column(:projects, :name, :string, {:limit=>nil, :default=>"", :null=>false})

   -> 0.0136s

== 20101114115114 ChangeProjectsNameLimit: migrated (0.0138s) =================

== 20101114115359 ChangeProjectsIdentifierLimit: migrating ====================

-- change_column(:projects, :identifier, :string, {:limit=>nil})

   -> 0.0157s

== 20101114115359 ChangeProjectsIdentifierLimit: migrated (0.0159s) ===========

== 20110220160626 AddWorkflowsAssigneeAndAuthor: migrating ====================

-- add_column(:workflows, :assignee, :boolean, {:null=>false, :default=>false})

   -> 0.0122s

-- add_column(:workflows, :author, :boolean, {:null=>false, :default=>false})

   -> 0.0125s

== 20110220160626 AddWorkflowsAssigneeAndAuthor: migrated (0.0308s) ===========

== 20110223180944 AddUsersSalt: migrating =====================================

-- add_column(:users, :salt, :string, {:limit=>64})

   -> 0.0142s

== 20110223180944 AddUsersSalt: migrated (0.0144s) ============================

== 20110223180953 SaltUserPasswords: migrating ================================

-- Salting user passwords, this may take some time...

   -> 0.0298s

== 20110223180953 SaltUserPasswords: migrated (0.0299s) =======================

== 20110224000000 AddRepositoriesPathEncoding: migrating ======================

-- add_column(:repositories, :path_encoding, :string, {:limit=>64, :default=>nil})

   -> 0.0098s

== 20110224000000 AddRepositoriesPathEncoding: migrated (0.0099s) =============

== 20110226120112 ChangeRepositoriesPasswordLimit: migrating ==================

-- change_column(:repositories, :password, :string, {:limit=>nil, :default=>""})

   -> 0.0139s

== 20110226120112 ChangeRepositoriesPasswordLimit: migrated (0.0140s) =========

== 20110226120132 ChangeAuthSourcesAccountPasswordLimit: migrating ============

-- change_column(:auth_sources, :account_password, :string, {:limit=>nil, :default=>""})

   -> 0.0161s

== 20110226120132 ChangeAuthSourcesAccountPasswordLimit: migrated (0.0162s) ===

== 20110227125750 ChangeJournalDetailsValuesToText: migrating =================

-- change_column(:journal_details, :old_value, :text)

   -> 0.0113s

-- change_column(:journal_details, :value, :text)

   -> 0.0125s

== 20110227125750 ChangeJournalDetailsValuesToText: migrated (0.0240s) ========

== 20110228000000 AddRepositoriesLogEncoding: migrating =======================

-- add_column(:repositories, :log_encoding, :string, {:limit=>64, :default=>nil})

   -> 0.0107s

== 20110228000000 AddRepositoriesLogEncoding: migrated (0.0109s) ==============

== 20110228000100 CopyRepositoriesLogEncoding: migrating ======================

== 20110228000100 CopyRepositoriesLogEncoding: migrated (0.0054s) =============

== 20110401192910 AddIndexToUsersType: migrating ==============================

-- add_index(:users, :type)

   -> 0.0291s

== 20110401192910 AddIndexToUsersType: migrated (0.0292s) =====================

== 20110408103312 AddRolesIssuesVisibility: migrating =========================

-- add_column(:roles, :issues_visibility, :string, {:limit=>30, :default=>"default", :null=>false})

   -> 0.0169s

== 20110408103312 AddRolesIssuesVisibility: migrated (0.0171s) ================

== 20110412065600 AddIssuesIsPrivate: migrating ===============================

-- add_column(:issues, :is_private, :boolean, {:default=>false, :null=>false})

   -> 0.0136s

== 20110412065600 AddIssuesIsPrivate: migrated (0.0137s) ======================

== 20110511000000 AddRepositoriesExtraInfo: migrating =========================

-- add_column(:repositories, :extra_info, :text)

   -> 0.0106s

== 20110511000000 AddRepositoriesExtraInfo: migrated (0.0107s) ================

== 20110902000000 CreateChangesetParents: migrating ===========================

-- create_table(:changeset_parents, {:id=>false})

   -> 0.0060s

-- add_index(:changeset_parents, [:changeset_id], {:unique=>false, :name=>:changeset_parents_changeset_ids})

   -> 0.0286s

-- add_index(:changeset_parents, [:parent_id], {:unique=>false, :name=>:changeset_parents_parent_ids})

   -> 0.0280s

== 20110902000000 CreateChangesetParents: migrated (0.0632s) ==================

== 20111201201315 AddUniqueIndexToIssueRelations: migrating ===================

-- add_index(:issue_relations, [:issue_from_id, :issue_to_id], {:unique=>true})

   -> 0.0285s

== 20111201201315 AddUniqueIndexToIssueRelations: migrated (0.0289s) ==========

== 20120115143024 AddRepositoriesIdentifier: migrating ========================

-- add_column(:repositories, :identifier, :string)

   -> 0.0117s

== 20120115143024 AddRepositoriesIdentifier: migrated (0.0118s) ===============

== 20120115143100 AddRepositoriesIsDefault: migrating =========================

-- add_column(:repositories, :is_default, :boolean, {:default=>false})

   -> 0.0101s

== 20120115143100 AddRepositoriesIsDefault: migrated (0.0102s) ================

== 20120115143126 SetDefaultRepositories: migrating ===========================

== 20120115143126 SetDefaultRepositories: migrated (0.0008s) ==================

== 20120127174243 AddCustomFieldsMultiple: migrating ==========================

-- add_column(:custom_fields, :multiple, :boolean, {:default=>false})

   -> 0.0094s

== 20120127174243 AddCustomFieldsMultiple: migrated (0.0095s) =================

== 20120205111326 ChangeUsersLoginLimit: migrating ============================

-- change_column(:users, :login, :string, {:limit=>nil, :default=>"", :null=>false})

   -> 0.0141s

== 20120205111326 ChangeUsersLoginLimit: migrated (0.0143s) ===================

== 20120223110929 ChangeAttachmentsContainerDefaults: migrating ===============

-- remove_index(:attachments, [:container_id, :container_type])

   -> 0.0074s

-- change_column(:attachments, :container_id, :integer, {:default=>nil, :null=>true})

   -> 0.0134s

-- change_column(:attachments, :container_type, :string, {:limit=>30, :default=>nil, :null=>true})

   -> 0.0131s

-- add_index(:attachments, [:container_id, :container_type])

   -> 0.0310s

== 20120223110929 ChangeAttachmentsContainerDefaults: migrated (0.0874s) ======

== 20120301153455 AddAuthSourcesFilter: migrating =============================

-- add_column(:auth_sources, :filter, :string)

   -> 0.0123s

== 20120301153455 AddAuthSourcesFilter: migrated (0.0124s) ====================

== 20120422150750 ChangeRepositoriesToFullSti: migrating ======================

== 20120422150750 ChangeRepositoriesToFullSti: migrated (0.0003s) =============

== 20120705074331 AddTrackersFieldsBits: migrating ============================

-- add_column(:trackers, :fields_bits, :integer, {:default=>0})

   -> 0.0117s

== 20120705074331 AddTrackersFieldsBits: migrated (0.0119s) ===================

== 20120707064544 AddAuthSourcesTimeout: migrating ============================

-- add_column(:auth_sources, :timeout, :integer)

   -> 0.0130s

== 20120707064544 AddAuthSourcesTimeout: migrated (0.0132s) ===================

== 20120714122000 AddWorkflowsType: migrating =================================

-- add_column(:workflows, :type, :string, {:limit=>30})

   -> 0.0114s

== 20120714122000 AddWorkflowsType: migrated (0.0115s) ========================

== 20120714122100 UpdateWorkflowsToSti: migrating =============================

== 20120714122100 UpdateWorkflowsToSti: migrated (0.0005s) ====================

== 20120714122200 AddWorkflowsRuleFields: migrating ===========================

-- add_column(:workflows, :field_name, :string, {:limit=>30})

   -> 0.0178s

-- add_column(:workflows, :rule, :string, {:limit=>30})

   -> 0.0120s

== 20120714122200 AddWorkflowsRuleFields: migrated (0.0301s) ==================

== 20120731164049 AddBoardsParentId: migrating ================================

-- add_column(:boards, :parent_id, :integer)

   -> 0.0104s

== 20120731164049 AddBoardsParentId: migrated (0.0105s) =======================

== 20120930112914 AddJournalsPrivateNotes: migrating ==========================

-- add_column(:journals, :private_notes, :boolean, {:default=>false, :null=>false})

   -> 0.0113s

== 20120930112914 AddJournalsPrivateNotes: migrated (0.0114s) =================

== 20121026002032 AddEnumerationsPositionName: migrating ======================

-- add_column(:enumerations, :position_name, :string, {:limit=>30})

   -> 0.0191s

== 20121026002032 AddEnumerationsPositionName: migrated (0.0193s) =============

== 20121026003537 PopulateEnumerationsPositionName: migrating =================

== 20121026003537 PopulateEnumerationsPositionName: migrated (0.0024s) ========

== 20121209123234 AddQueriesType: migrating ===================================

-- add_column(:queries, :type, :string)

   -> 0.0135s

== 20121209123234 AddQueriesType: migrated (0.0137s) ==========================

== 20121209123358 UpdateQueriesToSti: migrating ===============================

== 20121209123358 UpdateQueriesToSti: migrated (0.0654s) ======================

== 20121213084931 AddAttachmentsDiskDirectory: migrating ======================

-- add_column(:attachments, :disk_directory, :string)

   -> 0.0109s

== 20121213084931 AddAttachmentsDiskDirectory: migrated (0.0110s) =============

== 20130110122628 SplitDocumentsPermissions: migrating ========================

== 20130110122628 SplitDocumentsPermissions: migrated (0.0007s) ===============

== 20130201184705 AddUniqueIndexOnTokensValue: migrating ======================

-- Adding unique index on tokens, this may take some time...

-- add_index(:tokens, :value, {:unique=>true, :name=>"tokens_value"})

   -> 0.0298s

   -> 0.0341s

== 20130201184705 AddUniqueIndexOnTokensValue: migrated (0.0342s) =============

== 20130202090625 AddProjectsInheritMembers: migrating ========================

-- add_column(:projects, :inherit_members, :boolean, {:default=>false, :null=>false})

   -> 0.0105s

== 20130202090625 AddProjectsInheritMembers: migrated (0.0106s) ===============

== 20130207175206 AddUniqueIndexOnCustomFieldsTrackers: migrating =============

-- index_exists?(:custom_fields_trackers, [:custom_field_id, :tracker_id])

   -> 0.0003s

-- remove_index(:custom_fields_trackers, [:custom_field_id, :tracker_id])

   -> 0.0066s

-- add_index(:custom_fields_trackers, [:custom_field_id, :tracker_id], {:unique=>true})

   -> 0.0297s

== 20130207175206 AddUniqueIndexOnCustomFieldsTrackers: migrated (0.0372s) ====

== 20130207181455 AddUniqueIndexOnCustomFieldsProjects: migrating =============

-- index_exists?(:custom_fields_projects, [:custom_field_id, :project_id])

   -> 0.0003s

-- remove_index(:custom_fields_projects, [:custom_field_id, :project_id])

   -> 0.0060s

-- add_index(:custom_fields_projects, [:custom_field_id, :project_id], {:unique=>true})

   -> 0.0317s

== 20130207181455 AddUniqueIndexOnCustomFieldsProjects: migrated (0.0387s) ====

== 20130215073721 ChangeUsersLastnameLengthTo255: migrating ===================

-- change_column(:users, :lastname, :string, {:limit=>255, :default=>"", :null=>false})

   -> 0.0159s

== 20130215073721 ChangeUsersLastnameLengthTo255: migrated (0.0160s) ==========

== 20130215111127 AddIssuesClosedOn: migrating ================================

-- add_column(:issues, :closed_on, :datetime, {:default=>nil})

   -> 0.0112s

== 20130215111127 AddIssuesClosedOn: migrated (0.0113s) =======================

== 20130215111141 PopulateIssuesClosedOn: migrating ===========================

== 20130215111141 PopulateIssuesClosedOn: migrated (0.0010s) ==================

== 20130217094251 RemoveIssuesDefaultFkValues: migrating ======================

-- change_column_default(:issues, :tracker_id, nil)

   -> 0.0062s

-- change_column_default(:issues, :project_id, nil)

   -> 0.0056s

-- change_column_default(:issues, :status_id, nil)

   -> 0.0057s

-- change_column_default(:issues, :assigned_to_id, nil)

   -> 0.0058s

-- change_column_default(:issues, :priority_id, nil)

   -> 0.0082s

-- change_column_default(:issues, :author_id, nil)

   -> 0.0058s

== 20130217094251 RemoveIssuesDefaultFkValues: migrated (0.0379s) =============

== 20130602092539 CreateQueriesRoles: migrating ===============================

-- create_table(:queries_roles, {:id=>false})

   -> 0.0067s

-- add_index(:queries_roles, [:query_id, :role_id], {:unique=>true, :name=>:queries_roles_ids})

   -> 0.0308s

== 20130602092539 CreateQueriesRoles: migrated (0.0378s) ======================

== 20130710182539 AddQueriesVisibility: migrating =============================

-- add_column(:queries, :visibility, :integer, {:default=>0})

   -> 0.0113s

-- remove_column(:queries, :is_public)

   -> 0.0112s

== 20130710182539 AddQueriesVisibility: migrated (0.0235s) ====================

== 20130713104233 CreateCustomFieldsRoles: migrating ==========================

-- create_table(:custom_fields_roles, {:id=>false})

   -> 0.0059s

-- add_index(:custom_fields_roles, [:custom_field_id, :role_id], {:unique=>true, :name=>:custom_fields_roles_ids})

   -> 0.0298s

== 20130713104233 CreateCustomFieldsRoles: migrated (0.0368s) =================

== 20130713111657 AddQueriesOptions: migrating ================================

-- add_column(:queries, :options, :text)

   -> 0.0141s

== 20130713111657 AddQueriesOptions: migrated (0.0142s) =======================

== 20130729070143 AddUsersMustChangePasswd: migrating =========================

-- add_column(:users, :must_change_passwd, :boolean, {:default=>false, :null=>false})

   -> 0.0125s

== 20130729070143 AddUsersMustChangePasswd: migrated (0.0127s) ================

== 20130911193200 RemoveEolsFromAttachmentsFilename: migrating ================

== 20130911193200 RemoveEolsFromAttachmentsFilename: migrated (0.0017s) =======

== 20131004113137 SupportForMultipleCommitKeywords: migrating =================

== 20131004113137 SupportForMultipleCommitKeywords: migrated (0.0030s) ========

== 20131005100610 AddRepositoriesCreatedOn: migrating =========================

-- add_column(:repositories, :created_on, :timestamp)

   -> 0.0100s

== 20131005100610 AddRepositoriesCreatedOn: migrated (0.0102s) ================

== 20131124175346 AddCustomFieldsFormatStore: migrating =======================

-- add_column(:custom_fields, :format_store, :text)

   -> 0.0114s

== 20131124175346 AddCustomFieldsFormatStore: migrated (0.0116s) ==============

== 20131210180802 AddCustomFieldsDescription: migrating =======================

-- add_column(:custom_fields, :description, :text)

   -> 0.0120s

== 20131210180802 AddCustomFieldsDescription: migrated (0.0121s) ==============

== 20131214094309 RemoveCustomFieldsMinMaxLengthDefaultValues: migrating ======

-- change_column(:custom_fields, :min_length, :int, {:default=>nil, :null=>true})

   -> 0.0122s

-- change_column(:custom_fields, :max_length, :int, {:default=>nil, :null=>true})

   -> 0.0123s

== 20131214094309 RemoveCustomFieldsMinMaxLengthDefaultValues: migrated (0.0258s)

== 20131215104612 StoreRelationTypeInJournalDetails: migrating ================

== 20131215104612 StoreRelationTypeInJournalDetails: migrated (0.0077s) =======

== 20131218183023 DeleteOrphanTimeEntriesCustomValues: migrating ==============

== 20131218183023 DeleteOrphanTimeEntriesCustomValues: migrated (0.0006s) =====

== 20140228130325 ChangeChangesetsCommentsLimit: migrating ====================

-- change_column(:changesets, :comments, :text, {:limit=>16777216})

   -> 0.0121s

== 20140228130325 ChangeChangesetsCommentsLimit: migrated (0.0123s) ===========

== 20140903143914 AddPasswordChangedAtToUser: migrating =======================

-- add_column(:users, :passwd_changed_on, :datetime)

   -> 0.0124s

== 20140903143914 AddPasswordChangedAtToUser: migrated (0.0125s) ==============

== 20140920094058 InsertBuiltinGroups: migrating ==============================

== 20140920094058 InsertBuiltinGroups: migrated (0.1591s) =====================

== 20141029181752 AddTrackersDefaultStatusId: migrating =======================

-- add_column(:trackers, :default_status_id, :integer)

   -> 0.0114s

== 20141029181752 AddTrackersDefaultStatusId: migrated (0.0125s) ==============

== 20141029181824 RemoveIssueStatusesIsDefault: migrating =====================

-- remove_column(:issue_statuses, :is_default)

   -> 0.0117s

== 20141029181824 RemoveIssueStatusesIsDefault: migrated (0.0118s) ============

== 20141109112308 AddRolesUsersVisibility: migrating ==========================

-- add_column(:roles, :users_visibility, :string, {:limit=>30, :default=>"all", :null=>false})

   -> 0.0150s

== 20141109112308 AddRolesUsersVisibility: migrated (0.0151s) =================

== 20141122124142 AddWikiRedirectsRedirectsToWikiId: migrating ================

-- add_column(:wiki_redirects, :redirects_to_wiki_id, :integer)

   -> 0.0245s

-- change_column(:wiki_redirects, :redirects_to_wiki_id, :integer, {:null=>false})

   -> 0.0118s

== 20141122124142 AddWikiRedirectsRedirectsToWikiId: migrated (0.0408s) =======

== 20150113194759 CreateEmailAddresses: migrating =============================

-- create_table(:email_addresses)

   -> 0.0061s

== 20150113194759 CreateEmailAddresses: migrated (0.0063s) ====================

== 20150113211532 PopulateEmailAddresses: migrating ===========================

== 20150113211532 PopulateEmailAddresses: migrated (0.0064s) ==================

== 20150113213922 RemoveUsersMail: migrating ==================================

-- remove_column(:users, :mail)

   -> 0.0114s

== 20150113213922 RemoveUsersMail: migrated (0.0116s) =========================

== 20150113213955 AddEmailAddressesUserIdIndex: migrating =====================

-- add_index(:email_addresses, :user_id)

   -> 0.0308s

== 20150113213955 AddEmailAddressesUserIdIndex: migrated (0.0310s) ============

== 20150208105930 ReplaceMoveIssuesPermission: migrating ======================

== 20150208105930 ReplaceMoveIssuesPermission: migrated (0.0008s) =============

== 20150510083747 ChangeDocumentsTitleLimit: migrating ========================

-- change_column(:documents, :title, :string, {:limit=>nil, :default=>"", :null=>false})

   -> 0.0130s

== 20150510083747 ChangeDocumentsTitleLimit: migrated (0.0131s) ===============

== 20150525103953 ClearEstimatedHoursOnParentIssues: migrating ================

== 20150525103953 ClearEstimatedHoursOnParentIssues: migrated (0.0019s) =======

== 20150526183158 AddRolesTimeEntriesVisibility: migrating ====================

-- add_column(:roles, :time_entries_visibility, :string, {:limit=>30, :default=>"all", :null=>false})

   -> 0.0116s

== 20150526183158 AddRolesTimeEntriesVisibility: migrated (0.0117s) ===========

== 20150528084820 AddRolesAllRolesManaged: migrating ==========================

-- add_column(:roles, :all_roles_managed, :boolean, {:default=>true, :null=>false})

   -> 0.0109s

== 20150528084820 AddRolesAllRolesManaged: migrated (0.0111s) =================

== 20150528092912 CreateRolesManagedRoles: migrating ==========================

-- create_table(:roles_managed_roles, {:id=>false})

   -> 0.0056s

== 20150528092912 CreateRolesManagedRoles: migrated (0.0058s) =================

== 20150528093249 AddUniqueIndexOnRolesManagedRoles: migrating ================

-- add_index(:roles_managed_roles, [:role_id, :managed_role_id], {:unique=>true})

   -> 0.0310s

== 20150528093249 AddUniqueIndexOnRolesManagedRoles: migrated (0.0311s) =======

== 20150725112753 InsertAllowedStatusesForNewIssues: migrating ================

== 20150725112753 InsertAllowedStatusesForNewIssues: migrated (0.0029s) =======

== 20150730122707 CreateImports: migrating ====================================

-- create_table(:imports)

   -> 0.0060s

== 20150730122707 CreateImports: migrated (0.0061s) ===========================

== 20150730122735 CreateImportItems: migrating ================================

-- create_table(:import_items)

   -> 0.0068s

== 20150730122735 CreateImportItems: migrated (0.0069s) =======================

== 20150921204850 ChangeTimeEntriesCommentsLimitTo1024: migrating =============

-- change_column(:time_entries, :comments, :string, {:limit=>1024})

   -> 0.0118s

== 20150921204850 ChangeTimeEntriesCommentsLimitTo1024: migrated (0.0120s) ====

== 20150921210243 ChangeWikiContentsCommentsLimitTo1024: migrating ============

-- change_column(:wiki_content_versions, :comments, :string, {:limit=>1024, :default=>""})

   -> 0.0116s

-- change_column(:wiki_contents, :comments, :string, {:limit=>1024, :default=>""})

   -> 0.0157s

== 20150921210243 ChangeWikiContentsCommentsLimitTo1024: migrated (0.0276s) ===

== 20151020182334 ChangeAttachmentsFilesizeLimitTo8: migrating ================

-- change_column(:attachments, :filesize, :integer, {:limit=>8, :default=>0, :null=>false})

   -> 0.0119s

== 20151020182334 ChangeAttachmentsFilesizeLimitTo8: migrated (0.0121s) =======

== 20151020182731 FixCommaInUserFormatSettingValue: migrating =================

== 20151020182731 FixCommaInUserFormatSettingValue: migrated (0.0007s) ========

== 20151021184614 ChangeIssueCategoriesNameLimitTo60: migrating ===============

-- change_column(:issue_categories, :name, :string, {:limit=>60, :default=>"", :null=>false})

   -> 0.0135s

== 20151021184614 ChangeIssueCategoriesNameLimitTo60: migrated (0.0137s) ======

== 20151021185456 ChangeAuthSourcesFilterToText: migrating ====================

-- change_column(:auth_sources, :filter, :text)

   -> 0.0113s

== 20151021185456 ChangeAuthSourcesFilterToText: migrated (0.0115s) ===========

== 20151021190616 ChangeUserPreferencesHideMailDefaultToTrue: migrating =======

-- change_column(:user_preferences, :hide_mail, :boolean, {:default=>true})

   -> 0.0039s

== 20151021190616 ChangeUserPreferencesHideMailDefaultToTrue: migrated (0.0040s)

== 20151024082034 AddTokensUpdatedOn: migrating ===============================

-- add_column(:tokens, :updated_on, :timestamp)

   -> 0.0102s

== 20151024082034 AddTokensUpdatedOn: migrated (0.0107s) ======================

== 20151025072118 CreateCustomFieldEnumerations: migrating ====================

-- create_table(:custom_field_enumerations)

   -> 0.0061s

== 20151025072118 CreateCustomFieldEnumerations: migrated (0.0063s) ===========

== 20151031095005 AddProjectsDefaultVersionId: migrating ======================

-- column_exists?(:projects, :default_version_id, :integer)

   -> 0.0009s

-- add_column(:projects, :default_version_id, :integer, {:default=>nil})

   -> 0.0129s

== 20151031095005 AddProjectsDefaultVersionId: migrated (0.0140s) =============

[root@www redmine]

 

[root@www redmine]# RAILS_ENV=production REDMINE_LANG=ja bundle exec rake

Abort testing: Your Rails environment is running in production mode!

[root@www redmine]# RAILS_ENV=production REDMINE_LANG=ja bundle exec rake redmine:load_default_data

Default configuration data loaded.

[root@www redmine]# gem install passenger --no-rdoc --no-ri

Fetching: rake-10.5.0.gem (100%)

Successfully installed rake-10.5.0

Fetching: rack-1.6.4.gem (100%)

Successfully installed rack-1.6.4

Fetching: passenger-5.0.24.gem (100%)

Building native extensions.  This could take a while...

Successfully installed passenger-5.0.24

3 gems installed

[root@www redmine]#

 

[root@www redmine]# /usr/local/bin/passenger-install-apache2-module --auto

Welcome to the Phusion Passenger Apache 2 module installer, v5.0.24.

This installer will guide you through the entire installation process. It

shouldn't take more than 3 minutes in total.

Here's what you can expect from the installation process:

1. The Apache 2 module will be installed for you.

2. You'll learn how to configure Apache.

3. You'll learn how to deploy a Ruby on Rails application.

Don't worry if anything goes wrong. This installer will advise you on how to

solve any problems.

Press Enter to continue, or Ctrl-C to abort.

--------------------------------------------

Which languages are you interested in?

Override selection with --languages.

‣ ⬢  Ruby

   ⬢  Python

   ⬡  Node.js

   ⬡  Meteor

--------------------------------------------

Checking for required software...

* Checking for C compiler...

      Found: yes

      Location: /usr/bin/cc

* Checking for C++ compiler...

      Found: no

* Checking for Curl development headers with SSL support...

      Found: yes

      curl-config location: /usr/bin/curl-config

      Header location: /usr/include/curl/curl.h

      Version: libcurl 7.40.0

      Usable: yes

      Supports SSL: yes

* Checking for Zlib development headers...

      Found: yes

      Location: /usr/include/zlib.h

* Checking for Apache 2...

      Found: yes

      Location of httpd: /usr/sbin/httpd

      Apache version: 2.4.16

* Checking for Apache 2 development headers...

      Found: yes

      Location of apxs2: /usr/bin/apxs

* Checking for Rake (associated with /usr/bin/ruby2.0)...

      Found: yes

      Location: /usr/bin/ruby2.0 /usr/local/bin/rake

* Checking for OpenSSL support for Ruby...

      Found: yes

* Checking for RubyGems...

      Found: yes

* Checking for Ruby development headers...

      Found: yes

      Location: /usr/include/ruby/2.0/ruby.h

* Checking for rack...

      Found: yes

* Checking for Apache Portable Runtime (APR) development headers...

      Found: yes

      Location: /usr/bin/apr-1-config

      Version: 1.5.1

* Checking for Apache Portable Runtime Utility (APU) development headers...

      Found: yes

      Location: /usr/bin/apu-1-config

      Version: 1.4.1

Some required software is not installed.

But don't worry, this installer will tell you how to install them.

Press Enter to continue, or Ctrl-C to abort.

--------------------------------------------

Installation instructions for required software

* To install C++ compiler:

   Please install it with yum install gcc-c++

If the aforementioned instructions didn't solve your problem, then please take

a look at our documentation for troubleshooting tips:

  https://www.phusionpassenger.com/library/install/apache/

  https://www.phusionpassenger.com/library/admin/apache/troubleshooting/

[root@www redmine]#

今度は gcc-c++ をインストールしろと。。。

[root@www redmine]#

[root@www redmine]# yum install gcc-c++

読み込んだプラグイン:priorities, update-motd, upgrade-helper

amzn-main/latest                                         | 2.1 kB     00:00     

amzn-updates/latest                                      | 2.3 kB     00:00     

依存性の解決をしています

--> トランザクションの確認を実行しています。

---> パッケージ gcc-c++.noarch 0:4.8.3-3.20.amzn1 を インストール

--> 依存性の処理をしています: gcc48-c++ = 4.8.3 のパッケージ: gcc-c++-4.8.3-3.20.amzn1.noarch

--> 依存性の処理をしています: libstdc++48-devel = 4.8.3 のパッケージ: gcc-c++-4.8.3-3.20.amzn1.noarch

--> トランザクションの確認を実行しています。

---> パッケージ gcc48-c++.x86_64 0:4.8.3-9.109.amzn1 を インストール

---> パッケージ libstdc++48-devel.x86_64 0:4.8.3-9.109.amzn1 を インストール

--> 依存性解決を終了しました。

依存性を解決しました

================================================================================

Package                アーキテクチャー

                                    バージョン             リポジトリー    容量

================================================================================

インストール中:

gcc-c++                noarch      4.8.3-3.20.amzn1       amzn-main      3.8 k

依存性関連でのインストールをします:

gcc48-c++              x86_64      4.8.3-9.109.amzn1      amzn-main      8.1 M

libstdc++48-devel      x86_64      4.8.3-9.109.amzn1      amzn-main      1.7 M

トランザクションの要約

================================================================================

インストール  1 パッケージ (+2 個の依存関係のパッケージ)

総ダウンロード容量: 9.8 M

インストール容量: 24 M

Is this ok [y/d/N]: y

Downloading packages:

(1/3): gcc-c++-4.8.3-3.20.amzn1.noarch.rpm               | 3.8 kB     00:00     

(2/3): gcc48-c++-4.8.3-9.109.amzn1.x86_64.rpm            | 8.1 MB     00:00     

(3/3): libstdc++48-devel-4.8.3-9.109.amzn1.x86_64.rpm    | 1.7 MB     00:00     

--------------------------------------------------------------------------------

合計                                                31 MB/s | 9.8 MB  00:00     

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  インストール中          : libstdc++48-devel-4.8.3-9.109.amzn1.x86_64      1/3

  インストール中          : gcc48-c++-4.8.3-9.109.amzn1.x86_64              2/3

  インストール中          : gcc-c++-4.8.3-3.20.amzn1.noarch                 3/3

  検証中                  : gcc48-c++-4.8.3-9.109.amzn1.x86_64              1/3

  検証中                  : libstdc++48-devel-4.8.3-9.109.amzn1.x86_64      2/3

  検証中                  : gcc-c++-4.8.3-3.20.amzn1.noarch                 3/3

インストール:

  gcc-c++.noarch 0:4.8.3-3.20.amzn1                                             

依存性関連をインストールしました:

  gcc48-c++.x86_64 0:4.8.3-9.109.amzn1                                          

  libstdc++48-devel.x86_64 0:4.8.3-9.109.amzn1                                  

完了しました!

[root@www redmine]#

あとは、個別に追加

gem install passenger --no-rdoc --no-ri
passenger-install-apache2-module --auto
passenger-install-apache2-module --snippet/usr/local/bin/passenger-install-apache2-module --snippet

 長かった。

AWS SDK導入

この本を見ながら、勉強。まずはSDK導入。

bash-3.2# gem install aws-sdk
Fetching: jmespath-1.1.3.gem (100%)
Successfully installed jmespath-1.1.3
Fetching: aws-sdk-core-2.2.13.gem (100%)
Successfully installed aws-sdk-core-2.2.13
Fetching: aws-sdk-resources-2.2.13.gem (100%)
Successfully installed aws-sdk-resources-2.2.13
Fetching: aws-sdk-2.2.13.gem (100%)
Successfully installed aws-sdk-2.2.13
Parsing documentation for jmespath-1.1.3
Installing ri documentation for jmespath-1.1.3
Parsing documentation for aws-sdk-core-2.2.13
Installing ri documentation for aws-sdk-core-2.2.13
Parsing documentation for aws-sdk-resources-2.2.13
Installing ri documentation for aws-sdk-resources-2.2.13
Parsing documentation for aws-sdk-2.2.13
Installing ri documentation for aws-sdk-2.2.13
4 gems installed

pearってば何ですかね?

bash-3.2# pear config-set auto_discover 1
bash: pear: command not found

とりあえずインストール。

bash-3.2# homebrew install pear
bash: homebrew: command not found

いつのまにかhomebrewも無くなっていた。MacOSバージョンアップ時に消えてたっぽい。

bash-3.2# curl -O http://pear.php.net/go-pear.phar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current    Dload  Upload   Total   Spent    Left  Speed
100 3482k  100 3482k    0     0  87829      0  0:00:40  0:00:40 --:--:--  132k

一旦諦めたよ。おとなしくcurl先生発動。

php -d detect_unicode=0 go-pear.phar
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix)                   : /usr
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads             : /tmp/pear/install
4. Binaries directory                            : /usr/bin
5. PHP code directory ($php_dir)                 : /usr/share/pear
6. Documentation directory                       : /usr/docs
7. Data directory                                : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory                    : /usr/www
10. System manual pages directory                 : /usr/man
11. Tests directory                               : /usr/tests
12. Name of configuration file                    : /private/etc/pear.conf
1-12, 'all' or Enter to continue: all
Installation base ($prefix) [/usr] :
Temporary directory for processing [/tmp/pear/install] :
Temporary directory for downloads [/tmp/pear/install] :
Binaries directory [$prefix/bin] :
PHP code directory ($php_dir) [$prefix/share/pear] :
Documentation directory [$prefix/docs] :
Data directory [$prefix/data] :
User-modifiable configuration files directory [$prefix/cfg] :
Public Web Files directory [$prefix/www] :
System manual pages directory [$prefix/man] :
Tests directory [$prefix/tests] :
Name of configuration file [/private/etc/pear.conf] :
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix)                   : /usr
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads             : /tmp/pear/install
4. Binaries directory                            : /usr/bin
5. PHP code directory ($php_dir)                 : /usr/share/pear
6. Documentation directory                       : /usr/docs
7. Data directory                                : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory                    : /usr/www
10. System manual pages directory                 : /usr/man
11. Tests directory                               : /usr/tests
12. Name of configuration file                    : /private/etc/pear.conf
1-12, 'all' or Enter to continue:
Unable to create PHP code directory ($php_dir) /usr/share/pear.
Run this script as root or pick another location.
bash-3.2# php -d detect_unicode=0 go-pear.phar
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix)                   : /usr
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads             : /tmp/pear/install
4. Binaries directory                            : /usr/bin
5. PHP code directory ($php_dir)                 : /usr/share/pear
6. Documentation directory                       : /usr/docs
7. Data directory                                : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory                    : /usr/www
10. System manual pages directory                 : /usr/man
11. Tests directory                               : /usr/tests
12. Name of configuration file                    : /private/etc/pear.conf
1-12, 'all' or Enter to continue:
Unable to create PHP code directory ($php_dir) /usr/share/pear.
Run this script as root or pick another location.

El Capitanは/usr/sharetとかにディレクトリ作らせてくれないみたい。

http://stackoverflow.com/questions/33309005/sudo-mkdir-in-usr-operation-not-permitted-el-capitan

bash-3.2# php -d detect_unicode=0 go-pear.phar
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix)                   : /usr
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads             : /tmp/pear/install
4. Binaries directory                            : /usr/bin
5. PHP code directory ($php_dir)                 : /usr/share/pear
6. Documentation directory                       : /usr/docs
7. Data directory                                : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory                    : /usr/www
10. System manual pages directory                 : /usr/man
11. Tests directory                               : /usr/tests
12. Name of configuration file                    : /private/etc/pear.conf
1-12, 'all' or Enter to continue: all
Installation base ($prefix) [/usr] : /usr/local
Temporary directory for processing [/tmp/pear/install] :
Temporary directory for downloads [/tmp/pear/install] :
Binaries directory [$prefix/bin] :
PHP code directory ($php_dir) [$prefix/share/pear] :
Documentation directory [$prefix/docs] :
Data directory [$prefix/data] :
User-modifiable configuration files directory [$prefix/cfg] :
Public Web Files directory [$prefix/www] :
System manual pages directory [$prefix/man] :
Tests directory [$prefix/tests] :
Name of configuration file [/private/etc/pear.conf] :
Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix)                   : /usr/local
2. Temporary directory for processing            : /tmp/pear/install
3. Temporary directory for downloads             : /tmp/pear/install
4. Binaries directory                            : /usr/local/bin
5. PHP code directory ($php_dir)                 : /usr/local/share/pear
6. Documentation directory                       : /usr/local/docs
7. Data directory                                : /usr/local/data
8. User-modifiable configuration files directory : /usr/local/cfg
9. Public Web Files directory                    : /usr/local/www
10. System manual pages directory                 : /usr/local/man
11. Tests directory                               : /usr/local/tests
12. Name of configuration file                    : /private/etc/pear.conf
1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to /private/etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar:///Volumes/My Book Thunderbolt Duo/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.4.0.tar...
installing phar:///Volumes/My Book Thunderbolt Duo/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.4.1.tar...
installing phar:///Volumes/My Book Thunderbolt Duo/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.1.tar...
installing phar:///Volumes/My Book Thunderbolt Duo/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.1.1.tar...
installing phar:///Volumes/My Book Thunderbolt Duo/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.3.0.tar...
install ok: channel://pear.php.net/Archive_Tar-1.4.0
install ok: channel://pear.php.net/Console_Getopt-1.4.1
install ok: channel://pear.php.net/Structures_Graph-1.1.1
install ok: channel://pear.php.net/XML_Util-1.3.0
install ok: channel://pear.php.net/PEAR-1.10.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
******************************************************************************
WARNING!  The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
</usr/local/share/pear>
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.
Would you like to alter php.ini </etc/php.ini>? [Y/n] : Y
php.ini </etc/php.ini> include_path updated.
Current include path           : .:
Configured directory           : /usr/local/share/pear
Currently used php.ini (guess) : /etc/php.ini
Press Enter to continue:
The 'pear' command is now at your service at /usr/local/bin/pear
** The 'pear' command is not currently in your PATH, so you need to
** use '/usr/local/bin/pear' until you have added
** '/usr/local/bin' to your PATH environment variable.
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.
For more information about PEAR, see:
  http://pear.php.net/faq.php
  http://pear.php.net/manual/
Thanks for using go-pear!
bash-3.2#

 

いろいろ出ているけど、/usr/localにしてインストール成功。