[OSM-ja] OSMタイル配信サーバインストールできず
ribbon
osm @ ns.ribbon.or.jp
2013年 4月 7日 (日) 04:47:23 UTC
On Sun, Apr 07, 2013 at 01:36:49AM +0900, Hal Seki wrote:
> 関です。
>
> とりあえず、Vagrant (VirtualBox などを使った仮想環境構築の自動化ツール)を使った場合のマニュアルを作りました。
> https://github.com/osmfj/tilecache/wiki/Setup-development-environment-using-Vagrant
> これで、当方の環境(OSX Mountain Lion)では、Ubuntu の仮想環境でタイルキャシュがされること自体の確認はできました。
ありがとうございます。上記ページを見てみましたが、
恐ろしくたくさんインストールしないとだめなんですね。
この情報がなかったら、1ヶ月経ってもインストールできなかったかも。
で、早速やってみました。Ubuntsuは 12.04.2 に入れ替え。
で、mapnikのコンパイル直前まではうまくいきましたが、
mapnikのコンパイルがうまくいきません。
./configureすると、
-------------------------------------------------------------------------------
Checking for pycairo... yes
Exiting... the following required dependencies were not found:
- boost version >=1.47 (more info see: https://github.com/mapnik/mapnik/wiki//MapnikInstallation & http://www.boost.org)
See '/usr/local/src/mapnik/config.log' for details on possible problems.
-------------------------------------------------------------------------------
と出ました。boost のバージョンが古い、ということなので、
apt-get update をしたのですがアップデート対象は0件、
apt-get upgrade をすると、
-------------------------------------------------------------------------------
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
libboost-dev libboost-filesystem-dev libboost-program-options-dev
libboost-python-dev libboost-regex-dev libboost-system-dev
libboost-thread-dev linux-headers-generic-lts-quantal
linux-image-generic-lts-quantal
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
-------------------------------------------------------------------------------
となります。
メッセージをもとに検索すると、
http://d.hatena.ne.jp/Artisan/20120127/1327675019
が出てきたので、
-------------------------------------------------------------------------------
apt-get install libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev linux-headers-generic-lts-quantal linux-image-generic-lts-quantal
-------------------------------------------------------------------------------
とすると、
-------------------------------------------------------------------------------
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-filesystem1.46.1 libboost-system1.46.1 libboost-python1.46.1
libboost-program-options1.46.1 libboost-date-time1.46.1
libboost-thread1.46.1 libboost-serialization1.46.1 libboost-regex1.46.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libboost-date-time1.49-dev libboost-date-time1.49.0
libboost-filesystem1.49-dev libboost-filesystem1.49.0
libboost-program-options1.49-dev libboost-program-options1.49.0
libboost-python-dev libboost-python1.49-dev libboost-python1.49.0
libboost-regex-dev libboost-regex1.49-dev libboost-regex1.49.0
libboost-serialization1.49-dev libboost-serialization1.49.0
libboost-system-dev libboost-system1.49-dev libboost-system1.49.0
libboost-thread1.49-dev libboost-thread1.49.0 libboost1.49-dev
linux-headers-3.5.0-26 linux-headers-3.5.0-26-generic
linux-image-3.5.0-26-generic python-support
Suggested packages:
libboost-doc libboost1.49-doc libboost-chrono1.49-dev
libboost-graph-parallel1.49-dev libboost-graph1.49-dev
(中略)
libboost-thread-dev linux-headers-generic-lts-quantal
linux-image-generic-lts-quantal
9 upgraded, 21 newly installed, 9 to remove and 0 not upgraded.
Need to get 65.5 MB of archives.
After this operation, 264 MB of additional disk space will be used.
となって行けるかな、と思ったのですが、
Err http://jp.archive.ubuntu.com/ubuntu/ precise/universe python-support all 1.0.14ubuntu2
Temporary failure resolving 'jp.archive.ubuntu.com'
Err http://jp.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.5.0-26-generic amd64 3.5.0-26.42~precise1
Temporary failure resolving 'jp.archive.ubuntu.com'
Err http://ppa.launchpad.net/mapnik/boost/ubuntu/ precise/main libboost-system1.49.0 amd64 1.49.0-2ubuntu1~precise3
Temporary failure resolving 'ppa.launchpad.net'
(中略)
resolving 'security.ubuntu.com'
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux-meta-lts-quantal/linux-image-generic-lts-quantal_3.5.0.26.33_amd64.deb Temporary failure resolving 'security.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
-----------------------------------------------------------------------------
となってインストールできず。
どこかでやり方間違えているのでしょうか?
Talk-ja メーリングリストの案内