Oracle Solaris 11 - python36 インストール - やってみる

クラウディア 
1. 概要
2. python36 インストール

1. 概要

 ちょっとした用があって python36 をインストールしてみます。  参考サイトは
Solaris に Python3.5 をインストールしてみた
 せっかくなので、python3.6 がいけるかどうか・・・。

2. python36 インストール

 以下、root ユーザ権限で

$ mkdir /tmp/python
$ cd /tmp/python
$ curl -O https://www.python.org/ftp/python/3.6.6/Python-3.6.6.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.8M  100 21.8M    0     0   686k      0  0:00:32  0:00:32 --:--:--  879k

$ gunzip Python-3.6.6.tgz
$ tar xvf Python-3.6.6.tar
$ cd Python-3.6.6
$ ./configure --without-gcc --prefix=$HOME/bin
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for python3.6... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... sunos5
checking for --without-gcc... yes
checking for --with-icc... no
checking for gcc... cc
checking whether the C compiler works... no
configure: error: in `/tmp/python/Python-3.6.6':
configure: error: C compiler cannot create executables
See `config.log' for more details
 う~ん。「cc」がないんだな。  インストールした覚えもないしね。
earthcar(アースカー)