安装环境: 操作系统: Ubuntu 12.4 LTS 英文 数据库: mysql5.5.32 web服务器: nginx1.4.1 首先, 添加git和nginx的ppa,并升级系统到最新。 sudo apt-add-repository ppa:git-core/ppa sudo add-apt-repository ppa:nginx/stable Software Up to Date 然后, 安装vim,并设为默认编辑器。 # Install vim and set as default editor sudo apt-get install -y vim sudo update-alternatives --set editor /usr/bin/vim.basic 最后, 安装依赖程序。 sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev 可选安装下面两个程序: sudo apt-get install python-docutils sudo apt-get install -y postfix 其他步骤,按照 官方安装文档 。 安装中,需要注意的有两点: 1. 在安装GitLab(第6大步)中的“Install Init Script”时, 由 sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab 替换为: sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-0-stable/lib/support/init.d/gitlab
2. 在安装Nginx(第7大步)中的“Site Configuration”时, sudo cp lib/support/nginx/gitlab /etc/nginx/sites-available/gitlab 替换为: sudo curl --output /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-0-stable/lib/support/nginx/gitlab 配置文件修改情况: (1) Gitlab shell 文件: config.yml 状态: 默认(不修改) gitlab_url: "http://localhost/" (2) Gitlab I. gitlab 文件: gitlab.yml 状态: 默认(不修改) host: localhost II. unicorn 文件: gitlab.yml 状态: 默认(不修改) (3) Nginx 文件: gitlab 状态: 更改 server_name: localhost
FAQ: 1. 在浏览器中输入:http://localhost/后,没有看到登录界面。 查看/var/log/nginx/error.log,如果是如下内容: 2013/08/23 23:34:44 [emerg] 4775#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/23 23:34:53 [emerg] 4781#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/23 23:34:59 [emerg] 4787#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/23 23:40:14 [emerg] 4857#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/23 23:42:41 [emerg] 1058#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/23 23:55:04 [emerg] 2883#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/24 00:25:45 [emerg] 3679#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/24 00:25:55 [emerg] 3683#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 2013/08/24 00:26:48 [emerg] 3696#0: a duplicate default server for 0.0.0.0:80 in /etc/nginx/sites-enabled/gitlab:10 则删除/etc/nginx/sites-available/default文件,重新启动服务( sudo service nginx restart )即可。 附:安装过程 tdtc010@tdtc010-Vostro-270:~$ sudo apt-add-repository ppa:git-core/ppa You are about to add the following PPA to your system: The most current stable version of Git for Ubuntu. For release candidates, go to https://launchpad.net/~git-core/+archive/candidate . More info: https://launchpad.net/~git-core/+archive/ppa Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpfy7AT8/secring.gpg' created gpg: keyring `/tmp/tmpfy7AT8/pubring.gpg' created gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpfy7AT8/trustdb.gpg: trustdb created gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK tdtc010@tdtc010-Vostro-270:~$ sudo apt-add-repository ppa:nginx/stable You are about to add the following PPA to your system: Stable version of nginx. The following are no longer updated past 1.2.7, due to PPA build restrictions: * Maverick The following will not be updated past 1.4.1, except for bugfixes which may have been missed: * Lucid * Natty * Oneiric More info: https://launchpad.net/~nginx/+archive/stable Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpIvUURW/secring.gpg' created gpg: keyring `/tmp/tmpIvUURW/pubring.gpg' created gpg: requesting key C300EE8C from hkp server keyserver.ubuntu.com gpg: /tmp/tmpIvUURW/trustdb.gpg: trustdb created gpg: key C300EE8C: public key "Launchpad Stable" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK tdtc010@tdtc010-Vostro-270:~$ sudo apt-get update -y Hit http://cn.archive.ubuntu.com precise Release.gpg Hit http://cn.archive.ubuntu.com precise-updates Release.gpg Hit http://cn.archive.ubuntu.com precise-backports Release.gpg Hit http://cn.archive.ubuntu.com precise Release Hit http://cn.archive.ubuntu.com precise-updates Release Hit http://cn.archive.ubuntu.com precise-backports Release Hit http://cn.archive.ubuntu.com precise/main Sources Hit http://cn.archive.ubuntu.com precise/restricted Sources Hit http://cn.archive.ubuntu.com precise/universe Sources Hit http://cn.archive.ubuntu.com precise/multiverse Sources Hit http://cn.archive.ubuntu.com precise/main amd64 Packages Hit http://cn.archive.ubuntu.com precise/restricted amd64 Packages Hit http://cn.archive.ubuntu.com precise/universe amd64 Packages Hit http://cn.archive.ubuntu.com precise/multiverse amd64 Packages Hit http://cn.archive.ubuntu.com precise/main i386 Packages Hit http://cn.archive.ubuntu.com precise/restricted i386 Packages Hit http://cn.archive.ubuntu.com precise/universe i386 Packages Hit http://cn.archive.ubuntu.com precise/multiverse i386 Packages Hit http://cn.archive.ubuntu.com precise/main TranslationIndex Hit http://cn.archive.ubuntu.com precise/multiverse TranslationIndex Hit http://cn.archive.ubuntu.com precise/restricted TranslationIndex Hit http://cn.archive.ubuntu.com precise/universe TranslationIndex Hit http://cn.archive.ubuntu.com precise-updates/main Sources Hit http://cn.archive.ubuntu.com precise-updates/restricted Sources Hit http://cn.archive.ubuntu.com precise-updates/universe Sources Hit http://cn.archive.ubuntu.com precise-updates/multiverse Sources Hit http://cn.archive.ubuntu.com precise-updates/main amd64 Packages Hit http://cn.archive.ubuntu.com precise-updates/restricted amd64 Packages Hit http://cn.archive.ubuntu.com precise-updates/universe amd64 Packages Hit http://cn.archive.ubuntu.com precise-updates/multiverse amd64 Packages Hit http://cn.archive.ubuntu.com precise-updates/main i386 Packages Hit http://cn.archive.ubuntu.com precise-updates/restricted i386 Packages Hit http://cn.archive.ubuntu.com precise-updates/universe i386 Packages Hit http://cn.archive.ubuntu.com precise-updates/multiverse i386 Packages Hit http://cn.archive.ubuntu.com precise-updates/main TranslationIndex Hit http://cn.archive.ubuntu.com precise-updates/multiverse TranslationIndex Hit http://cn.archive.ubuntu.com precise-updates/restricted TranslationIndex Hit http://cn.archive.ubuntu.com precise-updates/universe TranslationIndex Hit http://cn.archive.ubuntu.com precise-backports/main Sources Hit http://cn.archive.ubuntu.com precise-backports/restricted Sources Hit http://cn.archive.ubuntu.com precise-backports/universe Sources Hit http://cn.archive.ubuntu.com precise-backports/multiverse Sources Hit http://cn.archive.ubuntu.com precise-backports/main amd64 Packages Hit http://cn.archive.ubuntu.com precise-backports/restricted amd64 Packages Hit http://cn.archive.ubuntu.com precise-backports/universe amd64 Packages Hit http://cn.archive.ubuntu.com precise-backports/multiverse amd64 Packages Hit http://cn.archive.ubuntu.com precise-backports/main i386 Packages Hit http://cn.archive.ubuntu.com precise-backports/restricted i386 Packages Hit http://cn.archive.ubuntu.com precise-backports/universe i386 Packages Hit http://cn.archive.ubuntu.com precise-backports/multiverse i386 Packages Hit http://cn.archive.ubuntu.com precise-backports/main TranslationIndex Hit http://cn.archive.ubuntu.com precise-backports/multiverse TranslationIndex Hit http://cn.archive.ubuntu.com precise-backports/restricted TranslationIndex Hit http://cn.archive.ubuntu.com precise-backports/universe TranslationIndex Hit http://cn.archive.ubuntu.com precise/main Translation-en Hit http://cn.archive.ubuntu.com precise/multiverse Translation-en Get:1 http://ppa.launchpad.net precise Release.gpg [316 B] Hit http://cn.archive.ubuntu.com precise/restricted Translation-en Get:2 http://ppa.launchpad.net precise Release.gpg [316 B] Hit http://cn.archive.ubuntu.com precise/universe Translation-en Hit http://cn.archive.ubuntu.com precise-updates/main Translation-en Hit http://cn.archive.ubuntu.com precise-updates/multiverse Translation-en Hit http://cn.archive.ubuntu.com precise-updates/restricted Translation-en Hit http://cn.archive.ubuntu.com precise-updates/universe Translation-en Hit http://cn.archive.ubuntu.com precise-backports/main Translation-en Hit http://cn.archive.ubuntu.com precise-backports/multiverse Translation-en Hit http://cn.archive.ubuntu.com precise-backports/restricted Translation-en Hit http://cn.archive.ubuntu.com precise-backports/universe Translation-en Get:3 http://ppa.launchpad.net precise Release [11.9 kB] Hit http://security.ubuntu.com precise-security Release.gpg Get:4 http://ppa.launchpad.net precise Release [11.9 kB] Get:5 http://ppa.launchpad.net precise/main Sources [1,091 B] Get:6 http://ppa.launchpad.net precise/main amd64 Packages [4,754 B] Get:7 http://ppa.launchpad.net precise/main i386 Packages [4,770 B] Ign http://ppa.launchpad.net precise/main TranslationIndex Get:8 http://ppa.launchpad.net precise/main Sources [1,015 B] Get:9 http://ppa.launchpad.net precise/main amd64 Packages [4,218 B] Get:10 http://ppa.launchpad.net precise/main i386 Packages [4,244 B] Ign http://ppa.launchpad.net precise/main TranslationIndex Hit http://security.ubuntu.com precise-security Release Hit http://security.ubuntu.com precise-security/main Sources Hit http://security.ubuntu.com precise-security/restricted Sources Hit http://security.ubuntu.com precise-security/universe Sources Hit http://security.ubuntu.com precise-security/multiverse Sources Hit http://security.ubuntu.com precise-security/main amd64 Packages Hit http://security.ubuntu.com precise-security/restricted amd64 Packages Hit http://security.ubuntu.com precise-security/universe amd64 Packages Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages Hit http://security.ubuntu.com precise-security/main i386 Packages Hit http://security.ubuntu.com precise-security/restricted i386 Packages Hit http://security.ubuntu.com precise-security/universe i386 Packages Ign http://ppa.launchpad.net precise/main Translation-en_US Hit http://security.ubuntu.com precise-security/multiverse i386 Packages Hit http://security.ubuntu.com precise-security/main TranslationIndex Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex Hit http://security.ubuntu.com precise-security/restricted TranslationIndex Hit http://security.ubuntu.com precise-security/universe TranslationIndex Ign http://ppa.launchpad.net precise/main Translation-en Ign http://ppa.launchpad.net precise/main Translation-en_US Hit http://security.ubuntu.com precise-security/main Translation-en Ign http://ppa.launchpad.net precise/main Translation-en Hit http://security.ubuntu.com precise-security/multiverse Translation-en Hit http://security.ubuntu.com precise-security/restricted Translation-en Hit http://security.ubuntu.com precise-security/universe Translation-en Hit http://extras.ubuntu.com precise Release.gpg Hit http://extras.ubuntu.com precise Release Hit http://extras.ubuntu.com precise/main Sources Hit http://extras.ubuntu.com precise/main amd64 Packages Hit http://extras.ubuntu.com precise/main i386 Packages Ign http://extras.ubuntu.com precise/main TranslationIndex Ign http://extras.ubuntu.com precise/main Translation-en_US Ign http://extras.ubuntu.com precise/main Translation-en Fetched 44.4 kB in 1min 5s (681 B/s) Reading package lists... Done tdtc010@tdtc010-Vostro-270:~$ sudo apt-get upgrade -y Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. tdtc010@tdtc010-Vostro-270:~$ sudo apt-get install sudo -y Reading package lists... Done Building dependency tree Reading state information... Done sudo is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. tdtc010@tdtc010-Vostro-270:~$ sudo apt-get install -y vim Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: vim-runtime Suggested packages: ctags vim-doc vim-scripts The following NEW packages will be installed: vim vim-runtime 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 7,325 kB of archives. After this operation, 24.9 MB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main vim-runtime all 2:7.3.429-2ubuntu2.1 [6,277 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main vim amd64 2:7.3.429-2ubuntu2.1 [1,048 kB] Fetched 7,325 kB in 21s (334 kB/s) Selecting previously unselected package vim-runtime. (Reading database ... 168637 files and directories currently installed.) Unpacking vim-runtime (from .../vim-runtime_2%3a7.3.429-2ubuntu2.1_all.deb) ... Adding 'diversion of /usr/share/vim/vim73/doc/help.txt to /usr/share/vim/vim73/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim73/doc/tags to /usr/share/vim/vim73/doc/tags.vim-tiny by vim-runtime' Selecting previously unselected package vim. Unpacking vim (from .../vim_2%3a7.3.429-2ubuntu2.1_amd64.deb) ... Processing triggers for man-db ... Setting up vim-runtime (2:7.3.429-2ubuntu2.1) ... Processing /usr/share/vim/addons/doc Setting up vim (2:7.3.429-2ubuntu2.1) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode. update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode. tdtc010@tdtc010-Vostro-270:~$ sudo update-alternatives --set editor /usr/bin/vim.basic update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in manual mode. tdtc010@tdtc010-Vostro-270:~$ sudo apt-get install -y build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libxslt1-dev' instead of 'libxslt-dev' The following extra packages will be installed: comerr-dev dpkg-dev fakeroot g++ g++-4.6 git git-man krb5-multidev libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl liberror-perl libgcrypt11-dev libgnutls-dev libgnutls-openssl27 libgnutlsxx27 libgpg-error-dev libgssrpc4 libidn11-dev libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap2-dev libp11-kit-dev libreadline6-dev librtmp-dev libssl-doc libstdc++6-4.6-dev libtasn1-3-dev libtimedate-perl libtinfo-dev libyaml-0-2 ssh-import-id Suggested packages: gettext debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-svn krb5-doc libcurl3-dbg libgcrypt11-doc gnutls-doc gnutls-bin krb5-user icu-doc ncurses-doc libstdc++6-4.6-doc rssh molly-guard openssh-blacklist openssh-blacklist-extra monkeysphere The following NEW packages will be installed: build-essential checkinstall comerr-dev curl dpkg-dev fakeroot g++ g++-4.6 git git-core git-man krb5-multidev libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libcurl4-openssl-dev libdpkg-perl liberror-perl libffi-dev libgcrypt11-dev libgdbm-dev libgnutls-dev libgnutls-openssl27 libgnutlsxx27 libgpg-error-dev libgssrpc4 libicu-dev libidn11-dev libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap2-dev libncurses5-dev libp11-kit-dev libreadline-dev libreadline6-dev librtmp-dev libssl-dev libssl-doc libstdc++6-4.6-dev libtasn1-3-dev libtimedate-perl libtinfo-dev libxml2-dev libxslt1-dev libyaml-0-2 libyaml-dev openssh-server redis-server ssh-import-id zlib1g-dev 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. Need to get 39.2 MB of archives. After this operation, 111 MB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libgssrpc4 amd64 1.10+dfsg~beta1-2ubuntu0.3 [57.5 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libkadm5clnt-mit8 amd64 1.10+dfsg~beta1-2ubuntu0.3 [38.7 kB] Get:3 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libkdb5-6 amd64 1.10+dfsg~beta1-2ubuntu0.3 [37.5 kB] Get:4 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libkadm5srv-mit8 amd64 1.10+dfsg~beta1-2ubuntu0.3 [54.4 kB] Get:5 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls-openssl27 amd64 2.12.14-5ubuntu3.4 [21.6 kB] Get:6 http://cn.archive.ubuntu.com/ubuntu/ precise/main libyaml-0-2 amd64 0.1.4-2 [56.9 kB] Get:7 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutlsxx27 amd64 2.12.14-5ubuntu3.4 [22.6 kB] Get:8 http://cn.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB] Get:9 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git-man all 1:1.8.3.4-0ppa1~precise1 [1,178 kB] Get:10 http://cn.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB] Get:11 http://cn.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B] Get:12 http://cn.archive.ubuntu.com/ubuntu/ precise/main libtimedate-perl all 1.2000-1 [41.6 kB] Get:13 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libdpkg-perl all 1.16.1.2ubuntu7.1 [180 kB] Get:14 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main dpkg-dev all 1.16.1.2ubuntu7.1 [469 kB] Get:15 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main build-essential amd64 11.5ubuntu2.1 [5,816 B] Get:16 http://cn.archive.ubuntu.com/ubuntu/ precise/universe checkinstall amd64 1.6.2-3ubuntu1 [122 kB] Get:17 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main curl amd64 7.22.0-3ubuntu4.2 [137 kB] Get:18 http://cn.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] Get:19 http://cn.archive.ubuntu.com/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB] Get:20 http://cn.archive.ubuntu.com/ubuntu/ precise/main comerr-dev amd64 2.1-1.42-1ubuntu2 [42.7 kB] Get:21 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main krb5-multidev amd64 1.10+dfsg~beta1-2ubuntu0.3 [125 kB] Get:22 http://cn.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB] Get:23 http://cn.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB] Get:24 http://cn.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB] Get:25 http://cn.archive.ubuntu.com/ubuntu/ precise/main libidn11-dev amd64 1.23-2 [636 kB] Get:26 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libkrb5-dev amd64 1.10+dfsg~beta1-2ubuntu0.3 [11.0 kB] Get:27 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libldap2-dev amd64 2.4.28-1.1ubuntu4.3 [492 kB] Get:28 http://cn.archive.ubuntu.com/ubuntu/ precise/main libgpg-error-dev amd64 1.10-2ubuntu1 [23.3 kB] Get:29 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libgcrypt11-dev amd64 1.5.0-3ubuntu0.2 [363 kB] Get:30 http://cn.archive.ubuntu.com/ubuntu/ precise/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3ubuntu4 [165 kB] Get:31 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libtasn1-3-dev amd64 2.10-1ubuntu1.1 [357 kB] Get:32 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git amd64 1:1.8.3.4-0ppa1~precise1 [8,920 kB] Get:33 http://cn.archive.ubuntu.com/ubuntu/ precise/main libp11-kit-dev amd64 0.12-2ubuntu1 [45.6 kB] Get:34 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls-dev amd64 2.12.14-5ubuntu3.4 [546 kB] Get:35 http://cn.archive.ubuntu.com/ubuntu/ precise/main librtmp-dev amd64 2.4~20110711.gitc28f1bab-1 [67.3 kB] Get:36 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5.10 [1,573 kB] Get:37 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libcurl4-openssl-dev amd64 7.22.0-3ubuntu4.2 [1,078 kB] Get:38 http://cn.archive.ubuntu.com/ubuntu/ precise/main libgdbm-dev amd64 1.8.3-10 [26.5 kB] Get:39 http://cn.archive.ubuntu.com/ubuntu/ precise/main libicu-dev amd64 4.8.1.1-3 [9,786 kB] Get:40 http://cn.archive.ubuntu.com/ubuntu/ precise/main libtinfo-dev amd64 5.9-4 [103 kB] Get:41 http://cn.archive.ubuntu.com/ubuntu/ precise/main libncurses5-dev amd64 5.9-4 [222 kB] Get:42 http://cn.archive.ubuntu.com/ubuntu/ precise/main libreadline6-dev amd64 6.2-8 [264 kB] Get:43 http://cn.archive.ubuntu.com/ubuntu/ precise/main libreadline-dev amd64 6.2-8 [932 B] Get:44 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libssl-doc all 1.0.1-4ubuntu5.10 [1,036 kB] Get:45 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libxml2-dev amd64 2.7.8.dfsg-5.1ubuntu4.6 [805 kB] Get:46 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1-dev amd64 1.1.26-8ubuntu1.3 [564 kB] Get:47 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main openssh-server amd64 1:5.9p1-5ubuntu1.1 [339 kB] Get:48 http://cn.archive.ubuntu.com/ubuntu/ precise/universe redis-server amd64 2:2.2.12-1build1 [204 kB] Get:49 http://cn.archive.ubuntu.com/ubuntu/ precise/main libffi-dev amd64 3.0.11~rc1-5 [96.1 kB] Get:50 http://cn.archive.ubuntu.com/ubuntu/ precise/main libyaml-dev amd64 0.1.4-2 [69.9 kB] Get:51 http://cn.archive.ubuntu.com/ubuntu/ precise/main ssh-import-id all 2.10-0ubuntu1 [6,598 B] Get:52 http://ppa.launchpad.net/git-core/ppa/ubuntu/ precise/main git-core all 1:1.8.3.4-0ppa1~precise1 [1,358 B] Fetched 39.2 MB in 4min 37s (141 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libgssrpc4. (Reading database ... 170207 files and directories currently installed.) Unpacking libgssrpc4 (from .../libgssrpc4_1.10+dfsg~beta1-2ubuntu0.3_amd64.deb) ... Selecting previously unselected package libkadm5clnt-mit8. Unpacking libkadm5clnt-mit8 (from .../libkadm5clnt-mit8_1.10+dfsg~beta1-2ubuntu0.3_amd64.deb) ... Selecting previously unselected package libkdb5-6. Unpacking libkdb5-6 (from .../libkdb5-6_1.10+dfsg~beta1-2ubuntu0.3_amd64.deb) ... Selecting previously unselected package libkadm5srv-mit8. Unpacking libkadm5srv-mit8 (from .../libkadm5srv-mit8_1.10+dfsg~beta1-2ubuntu0.3_amd64.deb) ... Selecting previously unselected package libgnutls-openssl27. Unpacking libgnutls-openssl27 (from .../libgnutls-openssl27_2.12.14-5ubuntu3.4_amd64.deb) ... Selecting previously unselected package libyaml-0-2. Unpacking libyaml-0-2 (from .../libyaml-0-2_0.1.4-2_amd64.deb) ... Selecting previously unselected package libgnutlsxx27. Unpacking libgnutlsxx27 (from .../libgnutlsxx27_2.12.14-5ubuntu3.4_amd64.deb) ... Selecting previously unselected package libstdc++6-4.6-dev. Unpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package g++-4.6. Unpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package g++. Unpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package libtimedate-perl. Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ... Selecting previously unselected package libdpkg-perl. Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.1.2ubuntu7.1_all.deb) ... Selecting previously unselected package dpkg-dev. Unpacking dpkg-dev (from .../dpkg-dev_1.16.1.2ubuntu7.1_all.deb) ... Selecting previously unselected package build-essential. Unpacking build-essential (from .../build-essential_11.5ubuntu2.1_amd64.deb) ... Selecting previously unselected package checkinstall. Unpacking checkinstall (from .../checkinstall_1.6.2-3ubuntu1_amd64.deb) ... Selecting previously unselected package curl. Unpacking curl (from .../curl_7.22.0-3ubuntu4.2_amd64.deb) ... Selecting previously unselected package fakeroot. Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... Selecting previously unselected package liberror-perl. Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ... Selecting previously unselected package git-man. Unpacking git-man (from .../git-man_1%3a1.8.3.4-0ppa1~precise1_all.deb) ... Selecting previously unselected package git. Unpacking git (from .../git_1%3a1.8.3.4-0ppa1~precise1_amd64.deb) ... Selecting previously unselected package git-core. Unpacking git-core (from .../git-core_1%3a1.8.3.4-0ppa1~precise1_all.deb) ... Selecting previously unselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.42-1ubuntu2_amd64.deb) ... Selecting previously unselected package krb5-multidev. Unpacking krb5-multidev (from .../krb5-multidev_1.10+dfsg~beta1-2ubuntu0.3_amd64.deb) ... Selecting previously unselected package libalgorithm-diff-perl. Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build2_amd64.deb) ... Selecting previously unselected package libalgorithm-merge-perl. Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ... Selecting previously unselected package libidn11-dev. Unpacking libidn11-dev (from .../libidn11-dev_1.23-2_amd64.deb) ... Selecting previously unselected package libkrb5-dev. Unpacking libkrb5-dev (from .../libkrb5-dev_1.10+dfsg~beta1-2ubuntu0.3_amd64.deb) ... Selecting previously unselected package libldap2-dev. Unpacking libldap2-dev (from .../libldap2-dev_2.4.28-1.1ubuntu4.3_amd64.deb) ... Selecting previously unselected package libgpg-error-dev. Unpacking libgpg-error-dev (from .../libgpg-error-dev_1.10-2ubuntu1_amd64.deb) ... Selecting previously unselected package libgcrypt11-dev. Unpacking libgcrypt11-dev (from .../libgcrypt11-dev_1.5.0-3ubuntu0.2_amd64.deb) ... Selecting previously unselected package zlib1g-dev. Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu4_amd64.deb) ... Selecting previously unselected package libtasn1-3-dev. Unpacking libtasn1-3-dev (from .../libtasn1-3-dev_2.10-1ubuntu1.1_amd64.deb) ... Selecting previously unselected package libp11-kit-dev. Unpacking libp11-kit-dev (from .../libp11-kit-dev_0.12-2ubuntu1_amd64.deb) ... Selecting previously unselected package libgnutls-dev. Unpacking libgnutls-dev (from .../libgnutls-dev_2.12.14-5ubuntu3.4_amd64.deb) ... Selecting previously unselected package librtmp-dev. Unpacking librtmp-dev (from .../librtmp-dev_2.4~20110711.gitc28f1bab-1_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1-4ubuntu5.10_amd64.deb) ... Selecting previously unselected package libcurl4-openssl-dev. Unpacking libcurl4-openssl-dev (from .../libcurl4-openssl-dev_7.22.0-3ubuntu4.2_amd64.deb) ... Selecting previously unselected package libgdbm-dev. Unpacking libgdbm-dev (from .../libgdbm-dev_1.8.3-10_amd64.deb) ... Selecting previously unselected package libicu-dev. Unpacking libicu-dev (from .../libicu-dev_4.8.1.1-3_amd64.deb) ... Selecting previously unselected package libtinfo-dev. Unpacking libtinfo-dev (from .../libtinfo-dev_5.9-4_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-4_amd64.deb) ... Selecting previously unselected package libreadline6-dev. Unpacking libreadline6-dev (from .../libreadline6-dev_6.2-8_amd64.deb) ... Selecting previously unselected package libreadline-dev. Unpacking libreadline-dev (from .../libreadline-dev_6.2-8_amd64.deb) ... Selecting previously unselected package libssl-doc. Unpacking libssl-doc (from .../libssl-doc_1.0.1-4ubuntu5.10_all.deb) ... Selecting previously unselected package libxml2-dev. Unpacking libxml2-dev (from .../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.6_amd64.deb) ... Selecting previously unselected package libxslt1-dev. Unpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-8ubuntu1.3_amd64.deb) ... Selecting previously unselected package openssh-server. Unpacking openssh-server (from .../openssh-server_1%3a5.9p1-5ubuntu1.1_amd64.deb) ... Selecting previously unselected package redis-server. Unpacking redis-server (from .../redis-server_2%3a2.2.12-1build1_amd64.deb) ... Selecting previously unselected package libffi-dev. Unpacking libffi-dev (from .../libffi-dev_3.0.11~rc1-5_amd64.deb) ... Selecting previously unselected package libyaml-dev. Unpacking libyaml-dev (from .../libyaml-dev_0.1.4-2_amd64.deb) ... Selecting previously unselected package ssh-import-id. Unpacking ssh-import-id (from .../ssh-import-id_2.10-0ubuntu1_all.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 6 added doc-base files... Processing triggers for install-info ... Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Processing triggers for ufw ... Setting up libgssrpc4 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libkadm5clnt-mit8 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libkdb5-6 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libkadm5srv-mit8 (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libgnutls-openssl27 (2.12.14-5ubuntu3.4) ... Setting up libyaml-0-2 (0.1.4-2) ... Setting up libgnutlsxx27 (2.12.14-5ubuntu3.4) ... Setting up libtimedate-perl (1.2000-1) ... Setting up libdpkg-perl (1.16.1.2ubuntu7.1) ... Setting up dpkg-dev (1.16.1.2ubuntu7.1) ... Setting up checkinstall (1.6.2-3ubuntu1) ... Setting up curl (7.22.0-3ubuntu4.2) ... Setting up fakeroot (1.18.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. Setting up liberror-perl (0.17-1) ... Setting up git-man (1:1.8.3.4-0ppa1~precise1) ... Setting up git (1:1.8.3.4-0ppa1~precise1) ... Setting up git-core (1:1.8.3.4-0ppa1~precise1) ... Setting up comerr-dev (2.1-1.42-1ubuntu2) ... Setting up krb5-multidev (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libalgorithm-diff-perl (1.19.02-2) ... Setting up libalgorithm-diff-xs-perl (0.04-2build2) ... Setting up libalgorithm-merge-perl (0.08-2) ... Setting up libidn11-dev (1.23-2) ... Setting up libkrb5-dev (1.10+dfsg~beta1-2ubuntu0.3) ... Setting up libldap2-dev (2.4.28-1.1ubuntu4.3) ... Setting up libgpg-error-dev (1.10-2ubuntu1) ... Setting up libgcrypt11-dev (1.5.0-3ubuntu0.2) ... Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu4) ... Setting up libtasn1-3-dev (2.10-1ubuntu1.1) ... Setting up libp11-kit-dev (0.12-2ubuntu1) ... Setting up libgnutls-dev (2.12.14-5ubuntu3.4) ... Setting up librtmp-dev (2.4~20110711.gitc28f1bab-1) ... Setting up libssl-dev (1.0.1-4ubuntu5.10) ... Setting up libcurl4-openssl-dev (7.22.0-3ubuntu4.2) ... Setting up libgdbm-dev (1.8.3-10) ... Setting up libicu-dev (4.8.1.1-3) ... Setting up libtinfo-dev (5.9-4) ... Setting up libncurses5-dev (5.9-4) ... Setting up libreadline6-dev (6.2-8) ... Setting up libreadline-dev (6.2-8) ... Setting up libssl-doc (1.0.1-4ubuntu5.10) ... Setting up libxml2-dev (2.7.8.dfsg-5.1ubuntu4.6) ... Setting up libxslt1-dev (1.1.26-8ubuntu1.3) ... Setting up openssh-server (1:5.9p1-5ubuntu1.1) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... ssh start/running, process 9617 Setting up redis-server (2:2.2.12-1build1) ... Starting redis-server: redis-server. Setting up libffi-dev (3.0.11~rc1-5) ... Setting up libyaml-dev (0.1.4-2) ... Setting up ssh-import-id (2.10-0ubuntu1) ... Setting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ... Setting up g++-4.6 (4.6.3-1ubuntu5) ... Setting up g++ (4:4.6.3-1ubuntu5) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode. Setting up build-essential (11.5ubuntu2.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place tdtc010@tdtc010-Vostro-270:~$ python -V Python 2.7.3 tdtc010@tdtc010-Vostro-270:~$ sudo apt-get install python-docutils Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: docutils-common docutils-doc python-lxml python-pygments python-roman Suggested packages: texlive-latex-recommended texlive-latex-base texlive-lang-french ttf-linux-libertine python-lxml-dbg ttf-bitstream-vera The following NEW packages will be installed: docutils-common docutils-doc python-docutils python-lxml python-pygments python-roman 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 2,852 kB of archives. After this operation, 10.8 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://cn.archive.ubuntu.com/ubuntu/ precise/main docutils-common all 0.8.1-4ubuntu1 [153 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu/ precise/main docutils-doc all 0.8.1-4ubuntu1 [1,289 kB] Get:3 http://cn.archive.ubuntu.com/ubuntu/ precise/main python-roman all 0.8.1-4ubuntu1 [12.6 kB] Get:4 http://cn.archive.ubuntu.com/ubuntu/ precise/main python-docutils all 0.8.1-4ubuntu1 [382 kB] Get:5 http://cn.archive.ubuntu.com/ubuntu/ precise/main python-lxml amd64 2.3.2-1 [662 kB] Get:6 http://cn.archive.ubuntu.com/ubuntu/ precise/main python-pygments all 1.4+dfsg-2 [353 kB] Fetched 2,852 kB in 6s (461 kB/s) Selecting previously unselected package docutils-common. (Reading database ... 175460 files and directories currently installed.) Unpacking docutils-common (from .../docutils-common_0.8.1-4ubuntu1_all.deb) ... Selecting previously unselected package docutils-doc. Unpacking docutils-doc (from .../docutils-doc_0.8.1-4ubuntu1_all.deb) ... Selecting previously unselected package python-roman. Unpacking python-roman (from .../python-roman_0.8.1-4ubuntu1_all.deb) ... Selecting previously unselected package python-docutils. Unpacking python-docutils (from .../python-docutils_0.8.1-4ubuntu1_all.deb) ... Selecting previously unselected package python-lxml. Unpacking python-lxml (from .../python-lxml_2.3.2-1_amd64.deb) ... Selecting previously unselected package python-pygments. Unpacking python-pygments (from .../python-pygments_1.4+dfsg-2_all.deb) ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 added doc-base file... Setting up docutils-common (0.8.1-4ubuntu1) ... Setting up docutils-doc (0.8.1-4ubuntu1) ... Setting up python-roman (0.8.1-4ubuntu1) ... Setting up python-docutils (0.8.1-4ubuntu1) ... update-alternatives: using /usr/share/docutils/scripts/python2/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode. update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode. Setting up python-lxml (2.3.2-1) ... Setting up python-pygments (1.4+dfsg-2) ... tdtc010@tdtc010-Vostro-270:~$ sudo apt-get install -y postfix Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin dovecot-common postfix-cdb postfix-doc The following NEW packages will be installed: postfix 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,320 kB of archives. After this operation, 3,454 kB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main postfix amd64 2.9.6-1~12.04.1 [1,320 kB] Fetched 1,320 kB in 4s (328 kB/s) Preconfiguring packages ... Selecting previously unselected package postfix. (Reading database ... 176298 files and directories currently installed.) Unpacking postfix (from .../postfix_2.9.6-1~12.04.1_amd64.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up postfix (2.9.6-1~12.04.1) ... Adding group `postfix' (GID 126) ... Done. Adding system user `postfix' (UID 117) ... Adding new user `postfix' (UID 117) with group `postfix' ... Not creating home directory `/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding tcp map entry to /etc/postfix/dynamicmaps.cf Adding sqlite map entry to /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 127) ... Done. setting myhostname: tdtc010-Vostro-270 setting alias maps setting alias database mailname is not a fully qualified domain name. Not changing /etc/mailname. setting destinations: tdtc010-Vostro-270, localhost.localdomain, , localhost setting relayhost: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 setting mailbox_size_limit: 0 setting recipient_delimiter: + setting inet_interfaces: all /etc/aliases does not exist, creating it. WARNING: /etc/aliases exists, but does not have a root alias. Postfix is now set up with a default configuration. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Running newaliases * Stopping Postfix Mail Transport Agent postfix [ OK ] * Starting Postfix Mail Transport Agent postfix [ OK ] Processing triggers for libc-bin ... ldconfig deferred processing now taking place tdtc010@tdtc010-Vostro-270:~$ mkdir /tmp/ruby && cd /tmp/ruby tdtc010@tdtc010-Vostro-270:/tmp/ruby$ curl --progress ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz | tar xz ######################################################################## 100.0% ######################################################################## 100.0%tdtc010@tdtc010-Vostro-270:/tmp/ruby$ cd ruby-2.0.0-p247 tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ ls addr2line.c debug.c file.c known_errors.inc object.c regcomp.c string.c vm_core.h addr2line.h defs gc.c LEGAL optinsn.inc regenc.c struct.c vm_debug.h array.c dir.c gc.h lex.c opt_sc.inc regenc.h symbian vm_dump.c bcc32 dln.c gem_prelude.rb lex.c.blt optunifs.inc regerror.c template vm_eval.c benchmark dln_find.c golf_prelude.c lib pack.c regexec.c test vm_exec.c bignum.c dln.h golf_prelude.rb load.c parse.c regint.h thread.c vm_exec.h bin dmydln.c goruby.c main.c parse.h regparse.c thread_pthread.c vm.inc bootstraptest dmyencoding.c GPL Makefile.in parse.y regparse.h thread_pthread.h vm_insnhelper.c BSDL dmyext.c hash.c man prelude.rb regsyntax.c thread_win32.c vm_insnhelper.h ChangeLog dmyversion.c ia64.s marshal.c probes.d revision.h thread_win32.h vm_method.c class.c doc id.c math.c probes.dmyh ruby_atomic.h time.c vm_opts.h common.mk enc id.h method.h probes_helper.h ruby.c timev.h vmtc.inc compar.c encdb.h include miniprelude.c proc.c safe.c tool vm_trace.c compile.c encoding.c inits.c misc process.c sample transcode.c vsnprintf.c complex.c enum.c insns.def missing random.c signal.c transcode_data.h win32 configure enumerator.c insns.inc nacl range.c siphash.c transdb.h configure.in error.c insns_info.inc newline.c rational.c siphash.h util.c constant.h eval.c internal.h NEWS README sparc.c variable.c cont.c eval_error.c io.c node.c README.EXT spec version.c COPYING eval_intern.h iseq.c node.h README.EXT.ja sprintf.c version.h COPYING.ja eval_jump.c iseq.h node_name.inc README.ja st.c vm_backtrace.c cygwin ext KNOWNBUGS.rb numeric.c re.c strftime.c vm.c tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking for ld... ld checking whether the linker is GNU ld... yes checking whether gcc -E accepts -o... yes checking for ranlib... ranlib checking for ar... ar checking for as... as checking for objdump... objdump checking for objcopy... objcopy checking for nm... nm checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for a thread-safe mkdir -p... /bin/mkdir -p checking for dtrace... no checking for dot... no checking for doxygen... no checking for pkg-config... pkg-config checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for cd using physical directory... cd -P checking whether -Wno-unused-parameter is accepted as CFLAGS... yes checking whether -Wno-parentheses is accepted as CFLAGS... yes checking whether -Wno-long-long is accepted as CFLAGS... yes checking whether -Wno-missing-field-initializers is accepted as CFLAGS... yes checking whether -Wunused-variable is accepted as CFLAGS... yes checking whether -Wpointer-arith is accepted as CFLAGS... yes checking whether -Wwrite-strings is accepted as CFLAGS... yes checking whether -Wdeclaration-after-statement is accepted as CFLAGS... yes checking whether -Wshorten-64-to-32 is accepted as CFLAGS... no checking whether -Wimplicit-function-declaration is accepted as CFLAGS... yes checking whether -Wall -Wextra is accepted as CFLAGS... yes checking whether -ggdb3 is accepted as CFLAGS... yes checking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yes checking whether -fstack-protector is accepted as CFLAGS... yes checking whether -fstack-protector is accepted as LDFLAGS... yes checking whether -ansi -std=iso9899:199409 is accepted as CFLAGS... yes checking whether -fno-strict-overflow is accepted as CFLAGS... yes checking whether -fvisibility=hidden is accepted as CFLAGS... yes checking whether -fno-fast-math is accepted as CFLAGS... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking syscall.h usability... yes checking syscall.h presence... yes checking for syscall.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking a.out.h usability... yes checking a.out.h presence... yes checking for a.out.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking xti.h usability... no checking xti.h presence... no checking for xti.h... no checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking intrinsics.h usability... no checking intrinsics.h presence... no checking for intrinsics.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking net/socket.h usability... no checking net/socket.h presence... no checking for net/socket.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking whether char is unsigned... no checking for inline... __inline__ checking for working volatile... yes checking for long long... yes checking for off_t... yes checking char bit... 8 checking size of int... 4 checking size of short... 2 checking size of long... 8 checking size of long long... 8 checking size of __int64... 0 checking size of off_t... 8 checking size of void*... 8 checking size of float... 4 checking size of double... 8 checking size of time_t... 8 checking for printf prefix for long long... ll checking for pid_t... yes checking for convertible type of pid_t... INT checking for uid_t... yes checking for convertible type of uid_t... UINT checking for gid_t... yes checking for convertible type of gid_t... UINT checking for time_t... yes checking for convertible type of time_t... LONG checking for dev_t... yes checking for convertible type of dev_t... ULONG checking for mode_t... yes checking for convertible type of mode_t... UINT checking for rlim_t... yes checking for convertible type of rlim_t... ULONG checking for prototypes... yes checking token paste string... ansi checking stringization... #expr checking string literal concatenation... yes checking for variable length prototypes and stdarg.h... yes checking for variable length macro... yes checking for noreturn function attribute... __attribute__ ((noreturn)) x checking for deprecated function attribute... __attribute__ ((deprecated)) x checking for noinline function attribute... __attribute__ ((noinline)) x checking for stdcall function attribute... x checking for cdecl function attribute... x checking for fastcall function attribute... x checking for function alias... alias checking for atomic builtins... yes checking for __builtin_unreachable... yes checking for exported function attribute... __attribute__ ((visibility("default"))) checking whether sys_nerr is declared... yes checking for crypt in -lcrypt... yes checking for dlopen in -ldl... yes checking for shl_load in -ldld... no checking for socketpair in -lsocket... no checking for clock_gettime in -lrt... yes checking for size_t... yes checking size of size_t... 8 checking size of ptrdiff_t... 8 checking for printf prefix for size_t... z checking for printf prefix for ptrdiff_t... t checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking size of struct stat.st_size... SIZEOF_LONG checking size of struct stat.st_blocks... SIZEOF_LONG checking for struct stat.st_atim... yes checking for struct stat.st_atimespec... no checking for struct stat.st_atimensec... no checking for struct stat.st_mtim... yes checking for struct stat.st_mtimespec... no checking for struct stat.st_mtimensec... no checking for struct stat.st_ctim... yes checking for struct stat.st_ctimespec... no checking for struct stat.st_ctimensec... no checking for struct timeval... yes checking for struct timespec... yes checking for struct timezone... yes checking for clockid_t... yes checking for fd_mask... yes checking for int8_t... yes checking size of int8_t... 1 checking for uint8_t... yes checking size of uint8_t... 1 checking for int16_t... yes checking size of int16_t... 2 checking for uint16_t... yes checking size of uint16_t... 2 checking for int32_t... yes checking size of int32_t... 4 checking for uint32_t... yes checking size of uint32_t... 4 checking for int64_t... yes checking size of int64_t... 8 checking for uint64_t... yes checking size of uint64_t... 8 checking for int128_t... no checking for uint128_t... no checking for intptr_t... yes checking size of intptr_t... 8 checking for uintptr_t... yes checking size of uintptr_t... 8 checking for ssize_t... yes checking size of ssize_t... 8 checking for stack end address... __libc_stack_end checking for uid_t in sys/types.h... (cached) yes checking type of array argument to getgroups... gid_t checking return type of signal handlers... void checking for working alloca.h... yes checking for alloca... yes checking for dynamic size alloca... ok checking for working memcmp... yes checking for broken erfc of glibc-2.3.6 on IA64... no checking for dup2... yes checking for memmove... yes checking for strerror... yes checking for strchr... yes checking for strstr... yes checking for crypt... yes checking for flock... yes checking for isnan... yes checking for finite... yes checking for isinf... yes checking for hypot... yes checking for acosh... yes checking for erf... yes checking for tgamma... yes checking for lgamma_r... yes checking for cbrt... yes checking for strlcpy... no checking for strlcat... no checking for ffs... yes checking for setproctitle... no checking for signbit... yes checking for fmod... yes checking for killpg... yes checking for wait4... yes checking for waitpid... yes checking for fork... yes checking for spawnv... no checking for syscall... yes checking for __syscall... no checking for chroot... yes checking for getcwd... yes checking for eaccess... yes checking for truncate... yes checking for ftruncate... yes checking for ftello... yes checking for chsize... no checking for times... yes checking for utimes... yes checking for utimensat... yes checking for fcntl... yes checking for lockf... yes checking for lstat... yes checking for truncate64... yes checking for ftruncate64... yes checking for ftello64... yes checking for fseeko... yes checking for fseeko64... yes checking for link... yes checking for symlink... yes checking for readlink... yes checking for readdir_r... yes checking for fsync... yes checking for fdatasync... yes checking for fchown... yes checking for posix_fadvise... yes checking for setitimer... yes checking for setruid... no checking for seteuid... yes checking for setreuid... yes checking for setresuid... yes checking for socketpair... yes checking for setrgid... no checking for setegid... yes checking for setregid... yes checking for setresgid... yes checking for issetugid... no checking for pause... yes checking for lchown... yes checking for lchmod... no checking for getpgrp... yes checking for setpgrp... yes checking for getpgid... yes checking for setpgid... yes checking for initgroups... yes checking for getgroups... yes checking for setgroups... yes checking for getpriority... yes checking for getrlimit... yes checking for setrlimit... yes checking for sysconf... yes checking for close... yes checking for getpwnam_r... yes checking for getgrnam_r... yes checking for dlopen... yes checking for sigprocmask... yes checking for sigaction... yes checking for sigsetjmp... no checking for _setjmp... yes checking for _longjmp... yes checking for getsid... yes checking for setsid... yes checking for telldir... yes checking for seekdir... yes checking for fchmod... yes checking for cosh... yes checking for sinh... yes checking for tanh... yes checking for log2... yes checking for round... yes checking for llabs... yes checking for setuid... yes checking for setgid... yes checking for daemon... (cached) no checking for select_large_fdset... no checking for setenv... yes checking for unsetenv... yes checking for mktime... yes checking for timegm... yes checking for gmtime_r... yes checking for clock_gettime... yes checking for gettimeofday... yes checking for poll... yes checking for ppoll... yes checking for pread... yes checking for sendfile... yes checking for shutdown... yes checking for sigaltstack... yes checking for dl_iterate_phdr... yes checking for dup... yes checking for dup3... yes checking for pipe2... yes checking for posix_memalign... yes checking for memalign... yes checking for ioctl... yes checking for unsetenv returns a value... yes checking for __builtin_setjmp... no checking for setjmp type... _setjmp checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for external int daylight... yes checking for external timezone... long checking for external altzone... no checking for timezone... yes checking whether timezone requires zero arguments... yes checking for negative time_t for gmtime(3)... yes checking for localtime(3) overflow correctly... yes checking whether right shift preserve sign bit... yes checking read count field in FILE structures... not found (OK if using GNU libc) checking read buffer ptr field in FILE structures... _IO_read_ptr checking read buffer end field in FILE structures... _IO_read_end checking size of struct stat.st_ino... SIZEOF_LONG checking whether struct dirent.d_name is too small... no checking whether _SC_CLK_TCK is supported... yes checking stack growing direction on x86_64... -1 checking for pthread_kill in -lthr... no checking for pthread_kill in -lpthread... yes checking for pthread_np.h... no checking for sched_yield... yes checking for pthread_attr_setinheritsched... yes checking for pthread_getattr_np... yes checking for pthread_attr_get_np... no checking for pthread_attr_getstack... yes checking for pthread_get_stackaddr_np... no checking for pthread_get_stacksize_np... no checking for thr_stksegment... no checking for pthread_stackseg_np... no checking for pthread_getthrds_np... no checking for pthread_cond_init... yes checking for pthread_condattr_setclock... yes checking for pthread_condattr_init... yes checking for pthread_sigmask... yes checking for pthread_attr_init... yes checking for getcontext... yes checking for setcontext... yes checking if fork works with pthread... yes checking whether ELF binaries are produced... yes checking elf.h usability... yes checking elf.h presence... yes checking for elf.h... yes checking elf_abi.h usability... no checking elf_abi.h presence... no checking for elf_abi.h... no checking whether OS depend dynamic link works... yes checking for backtrace... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for strip... strip checking whether -fPIE is accepted as CFLAGS... yes checking whether -pie is accepted as LDFLAGS... yes checking for prefix of external symbols... NONE checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking if make is GNU make... yes checking for memmem... yes checking for broken memmem... no checking for nroff... /usr/bin/nroff .ext/include/x86_64-linux/ruby/config.h updated verconf.h updated ruby library version = 2.0.0 configure: creating ./config.status config.status: creating Makefile config.status: creating ruby-2.0.pc tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ make CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -ansi -std=iso9899:199409 XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. DLDFLAGS = -fstack-protector -pie SOLIBS = compiling main.c compiling dmydln.c compiling dmyencoding.c compiling version.c compiling dmyversion.c compiling miniprelude.c copying dummy probes.h compiling array.c compiling bignum.c compiling class.c compiling compar.c compiling complex.c compiling dir.c compiling dln_find.c compiling enum.c compiling enumerator.c compiling error.c compiling eval.c compiling load.c compiling proc.c compiling file.c compiling gc.c compiling hash.c compiling inits.c compiling io.c compiling marshal.c compiling math.c compiling node.c compiling numeric.c compiling object.c compiling pack.c compiling parse.c compiling process.c compiling random.c compiling range.c compiling rational.c compiling re.c compiling regcomp.c compiling regenc.c compiling regerror.c compiling regexec.c compiling regparse.c compiling regsyntax.c compiling ruby.c compiling safe.c compiling signal.c compiling sprintf.c compiling st.c compiling strftime.c compiling string.c compiling struct.c compiling time.c compiling transcode.c compiling util.c compiling variable.c compiling compile.c compiling debug.c compiling iseq.c compiling vm.c compiling vm_dump.c compiling vm_backtrace.c compiling vm_trace.c compiling thread.c compiling cont.c compiling ./enc/ascii.c compiling ./enc/us_ascii.c compiling ./enc/unicode.c compiling ./enc/utf_8.c compiling newline.c compiling ./missing/strlcpy.c compiling ./missing/strlcat.c compiling ./missing/setproctitle.c compiling addr2line.c compiling dmyext.c linking miniruby rbconfig.rb updated generating enc.mk compiling dln.c compiling encoding.c generating prelude.c compiling prelude.c linking static-library libruby-static.a verifying static-library libruby-static.a generating encdb.h encdb.h unchanged making enc make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' compiling ./enc/encdb.c linking encoding encdb.so compiling ./enc/big5.c linking encoding big5.so compiling ./enc/cp949.c linking encoding cp949.so compiling ./enc/emacs_mule.c linking encoding emacs_mule.so compiling ./enc/euc_jp.c linking encoding euc_jp.so compiling ./enc/euc_kr.c linking encoding euc_kr.so compiling ./enc/euc_tw.c linking encoding euc_tw.so compiling ./enc/gb2312.c linking encoding gb2312.so compiling ./enc/gb18030.c linking encoding gb18030.so compiling ./enc/gbk.c linking encoding gbk.so compiling ./enc/iso_8859_1.c linking encoding iso_8859_1.so compiling ./enc/iso_8859_2.c linking encoding iso_8859_2.so compiling ./enc/iso_8859_3.c linking encoding iso_8859_3.so compiling ./enc/iso_8859_4.c linking encoding iso_8859_4.so compiling ./enc/iso_8859_5.c linking encoding iso_8859_5.so compiling ./enc/iso_8859_6.c linking encoding iso_8859_6.so compiling ./enc/iso_8859_7.c linking encoding iso_8859_7.so compiling ./enc/iso_8859_8.c linking encoding iso_8859_8.so compiling ./enc/iso_8859_9.c linking encoding iso_8859_9.so compiling ./enc/iso_8859_10.c linking encoding iso_8859_10.so compiling ./enc/iso_8859_11.c linking encoding iso_8859_11.so compiling ./enc/iso_8859_13.c linking encoding iso_8859_13.so compiling ./enc/iso_8859_14.c linking encoding iso_8859_14.so compiling ./enc/iso_8859_15.c linking encoding iso_8859_15.so compiling ./enc/iso_8859_16.c linking encoding iso_8859_16.so compiling ./enc/koi8_r.c linking encoding koi8_r.so compiling ./enc/koi8_u.c linking encoding koi8_u.so compiling ./enc/shift_jis.c linking encoding shift_jis.so compiling ./enc/utf_16be.c linking encoding utf_16be.so compiling ./enc/utf_16le.c linking encoding utf_16le.so compiling ./enc/utf_32be.c linking encoding utf_32be.so compiling ./enc/utf_32le.c linking encoding utf_32le.so compiling ./enc/windows_31j.c linking encoding windows_31j.so compiling ./enc/windows_1251.c linking encoding windows_1251.so make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' making srcs under enc make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Nothing to be done for `srcs'. make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' generating transdb.h transdb.h unchanged making trans make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' compiling ./enc/trans/transdb.c linking transcoder transdb.so compiling ./enc/trans/big5.c linking transcoder big5.so compiling ./enc/trans/chinese.c linking transcoder chinese.so compiling ./enc/trans/emoji.c linking transcoder emoji.so compiling ./enc/trans/emoji_iso2022_kddi.c linking transcoder emoji_iso2022_kddi.so compiling ./enc/trans/emoji_sjis_docomo.c linking transcoder emoji_sjis_docomo.so compiling ./enc/trans/emoji_sjis_kddi.c linking transcoder emoji_sjis_kddi.so compiling ./enc/trans/emoji_sjis_softbank.c linking transcoder emoji_sjis_softbank.so compiling ./enc/trans/escape.c linking transcoder escape.so compiling ./enc/trans/gb18030.c linking transcoder gb18030.so compiling ./enc/trans/gbk.c linking transcoder gbk.so compiling ./enc/trans/iso2022.c linking transcoder iso2022.so compiling ./enc/trans/japanese.c linking transcoder japanese.so compiling ./enc/trans/japanese_euc.c linking transcoder japanese_euc.so compiling ./enc/trans/japanese_sjis.c linking transcoder japanese_sjis.so compiling ./enc/trans/korean.c linking transcoder korean.so compiling ./enc/trans/single_byte.c linking transcoder single_byte.so compiling ./enc/trans/utf8_mac.c linking transcoder utf8_mac.so compiling ./enc/trans/utf_16_32.c linking transcoder utf_16_32.so make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' making encs make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' generating makefile exts.mk configuring -test-/array/resize configuring -test-/bug-3571 configuring -test-/bug-3662 configuring -test-/bug-5832 configuring -test-/debug configuring -test-/exception configuring -test-/fatal configuring -test-/funcall configuring -test-/iter configuring -test-/load/dot.dot configuring -test-/marshal/compat configuring -test-/marshal/usr configuring -test-/method configuring -test-/num2int configuring -test-/old_thread_select configuring -test-/path_to_class configuring -test-/printf configuring -test-/st/numhash configuring -test-/st/update configuring -test-/string configuring -test-/symbol configuring -test-/typeddata configuring -test-/wait_for_single_fd configuring -test-/win32/dln Failed to configure -test-/win32/dln. It will not be installed. configuring -test-/win32/fd_setsize Failed to configure -test-/win32/fd_setsize. It will not be installed. configuring bigdecimal configuring continuation configuring coverage configuring curses header: ncurses.h library: ncurses configuring date configuring dbm header: gdbm-ndbm.h library: gdbm_compat configuring digest configuring digest/bubblebabble configuring digest/md5 configuring digest/rmd160 configuring digest/sha1 configuring digest/sha2 configuring dl configuring dl/callback configuring dl/win32 Failed to configure dl/win32. It will not be installed. configuring etc configuring fcntl configuring fiber configuring fiddle configuring fiddle/win32 Failed to configure fiddle/win32. It will not be installed. configuring gdbm configuring io/console configuring io/nonblock configuring io/wait configuring json configuring json/generator configuring json/parser configuring mathn/complex configuring mathn/rational configuring nkf configuring objspace configuring openssl configuring pathname configuring psych configuring pty configuring racc/cparse configuring readline configuring ripper configuring sdbm configuring socket configuring stringio configuring strscan configuring syslog configuring tk ........ check struct members.. check libraries.... Use ActiveTcl libraries (if available). Search tclConfig.sh and tkConfig.sh............................ Fail to find [tclConfig.sh, tkConfig.sh] Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh). Warning:: cannot find X11 library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options. If your Tcl/Tk don't require X11, please try --without-X11. Can't find X11 libraries. So, can't make tcltklib.so which is required by Ruby/Tk. Failed to configure tk. It will not be installed. configuring tk/tkutil Failed to configure tk/tkutil. It will not be installed. configuring win32ole Failed to configure win32ole. It will not be installed. configuring zlib make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/array/resize' compiling resize.c linking shared-object -test-/array/resize.so installing default resize libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/array/resize' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3571' compiling bug.c linking shared-object -test-/bug-3571/bug.so installing default bug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3571' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3662' compiling bug.c linking shared-object -test-/bug-3662/bug.so installing default bug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3662' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-5832' compiling bug.c linking shared-object -test-/bug-5832/bug.so installing default bug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-5832' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/debug' compiling init.c compiling inspector.c linking shared-object -test-/debug.so installing default debug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/debug' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/exception' compiling enc_raise.c compiling ensured.c compiling init.c linking shared-object -test-/exception.so installing default exception libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/exception' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/fatal' compiling rb_fatal.c linking shared-object -test-/fatal/rb_fatal.so installing default rb_fatal libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/fatal' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/funcall' compiling passing_block.c linking shared-object -test-/funcall/funcall.so installing default funcall libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/funcall' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/iter' compiling break.c linking shared-object -test-/iter/break.so installing default break libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/iter' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/load/dot.dot' compiling dot.dot.c linking shared-object -test-/load/dot.dot/dot.dot.so installing default dot.dot libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/load/dot.dot' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/compat' compiling usrcompat.c linking shared-object -test-/marshal/compat.so installing default compat libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/compat' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/usr' compiling usrmarshal.c linking shared-object -test-/marshal/usr.so installing default usr libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/usr' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/method' compiling init.c compiling arity.c linking shared-object -test-/method.so installing default method libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/method' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/num2int' compiling num2int.c linking shared-object -test-/num2int/num2int.so installing default num2int libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/num2int' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/old_thread_select' compiling old_thread_select.c linking shared-object -test-/old_thread_select/old_thread_select.so installing default old_thread_select libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/old_thread_select' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/path_to_class' compiling path_to_class.c linking shared-object -test-/path_to_class/path_to_class.so installing default path_to_class libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/path_to_class' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/printf' compiling printf.c linking shared-object -test-/printf.so installing default printf libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/printf' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/numhash' compiling numhash.c linking shared-object -test-/st/numhash.so installing default numhash libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/numhash' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/update' compiling update.c linking shared-object -test-/st/update.so installing default update libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/update' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/string' compiling qsort.c compiling enc_associate.c compiling set_len.c compiling enc_str_buf_cat.c compiling modify.c compiling init.c compiling cstr.c compiling coderange.c compiling ellipsize.c linking shared-object -test-/string/string.so installing default string libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/string' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/symbol' compiling init.c compiling intern.c linking shared-object -test-/symbol/symbol.so installing default symbol libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/symbol' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/typeddata' compiling typeddata.c linking shared-object -test-/typeddata/typeddata.so installing default typeddata libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/typeddata' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/wait_for_single_fd' compiling wait_for_single_fd.c linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so installing default wait_for_single_fd libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/wait_for_single_fd' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/dln' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/dln' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/fd_setsize' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/fd_setsize' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/bigdecimal' compiling bigdecimal.c linking shared-object bigdecimal.so installing default bigdecimal libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/bigdecimal' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/continuation' compiling continuation.c linking shared-object continuation.so installing default continuation libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/continuation' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/coverage' compiling coverage.c linking shared-object coverage.so installing default coverage libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/coverage' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/curses' compiling curses.c linking shared-object curses.so installing default curses libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/curses' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/date' compiling date_parse.c compiling date_strftime.c compiling date_core.c compiling date_strptime.c linking shared-object date_core.so installing default date_core libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/date' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dbm' compiling dbm.c linking shared-object dbm.so installing default dbm libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dbm' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest' compiling digest.c linking shared-object digest.so installing digest libraries installing default digest libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/bubblebabble' compiling bubblebabble.c linking shared-object digest/bubblebabble.so installing default bubblebabble libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/bubblebabble' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/md5' compiling md5init.c compiling md5ossl.c linking shared-object digest/md5.so installing default md5 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/md5' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/rmd160' compiling rmd160init.c compiling rmd160.c linking shared-object digest/rmd160.so installing default rmd160 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/rmd160' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha1' compiling sha1init.c compiling sha1ossl.c linking shared-object digest/sha1.so installing default sha1 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha1' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha2' compiling sha2init.c compiling sha2ossl.c linking shared-object digest/sha2.so installing default sha2 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha2' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl' compiling dl.c compiling cptr.c compiling handle.c compiling cfunc.c linking shared-object dl.so installing dl libraries installing default dl libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/callback' compiling callback.c compiling callback-0.c compiling callback-1.c compiling callback-2.c compiling callback-3.c compiling callback-4.c compiling callback-5.c compiling callback-6.c compiling callback-7.c compiling callback-8.c linking shared-object dl/callback.so installing default callback libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/callback' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/win32' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/etc' compiling etc.c linking shared-object etc.so installing default etc libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/etc' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fcntl' compiling fcntl.c linking shared-object fcntl.so installing default fcntl libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fcntl' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiber' compiling fiber.c linking shared-object fiber.so installing default fiber libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiber' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle' compiling conversions.c compiling pointer.c compiling handle.c compiling fiddle.c compiling function.c compiling closure.c linking shared-object fiddle.so installing default fiddle libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle/win32' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/gdbm' compiling gdbm.c linking shared-object gdbm.so installing default gdbm libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/gdbm' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/console' compiling console.c linking shared-object io/console.so installing default console libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/console' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/nonblock' compiling nonblock.c linking shared-object io/nonblock.so installing default nonblock libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/nonblock' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/wait' compiling wait.c linking shared-object io/wait.so installing default wait libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/wait' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/json' installing default libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/json' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/generator' compiling generator.c linking shared-object json/ext/generator.so installing default generator libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/generator' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/parser' compiling parser.c linking shared-object json/ext/parser.so installing default parser libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/parser' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/complex' compiling complex.c linking shared-object mathn/complex.so installing default complex libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/complex' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/rational' compiling rational.c linking shared-object mathn/rational.so installing default rational libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/rational' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/nkf' compiling nkf.c linking shared-object nkf.so installing default nkf libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/nkf' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/objspace' compiling objspace.c linking shared-object objspace.so installing default objspace libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/objspace' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/openssl' compiling ossl_x509.c compiling ossl_pkcs12.c compiling ossl_rand.c compiling ossl_ocsp.c compiling ossl_pkey_dsa.c compiling ossl_pkey.c compiling ossl_x509req.c compiling ossl_bio.c compiling ossl_x509attr.c compiling ossl_x509ext.c compiling ossl_digest.c compiling openssl_missing.c compiling ossl_engine.c compiling ossl_x509store.c compiling ossl_bn.c compiling ossl_x509crl.c compiling ossl_hmac.c compiling ossl_cipher.c compiling ossl_pkey_ec.c compiling ossl_pkcs7.c compiling ossl_pkcs5.c compiling ossl_ns_spki.c compiling ossl_x509name.c compiling ossl_config.c compiling ossl.c compiling ossl_asn1.c compiling ossl_ssl.c compiling ossl_ssl_session.c compiling ossl_x509cert.c compiling ossl_x509revoked.c compiling ossl_pkey_rsa.c compiling ossl_pkey_dh.c linking shared-object openssl.so installing default openssl libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/openssl' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/pathname' compiling pathname.c linking shared-object pathname.so installing default pathname libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/pathname' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/psych' compiling psych.c compiling psych_emitter.c compiling psych_to_ruby.c compiling psych_parser.c compiling psych_yaml_tree.c linking shared-object psych.so installing default psych libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/psych' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/pty' compiling pty.c linking shared-object pty.so installing default pty libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/pty' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/racc/cparse' compiling cparse.c linking shared-object racc/cparse.so installing default cparse libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/racc/cparse' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/readline' compiling readline.c linking shared-object readline.so installing default readline libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/readline' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/ripper' compiling ripper.c linking shared-object ripper.so installing default ripper libraries checking ../.././parse.y and ../.././ext/ripper/eventids2.c make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/ripper' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/sdbm' compiling init.c compiling _sdbm.c linking shared-object sdbm.so installing default sdbm libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/sdbm' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/socket' generating constant definitions compiling init.c compiling constants.c compiling basicsocket.c compiling socket.c compiling ipsocket.c compiling tcpsocket.c compiling tcpserver.c compiling sockssocket.c compiling udpsocket.c compiling unixsocket.c compiling unixserver.c compiling option.c compiling ancdata.c compiling raddrinfo.c linking shared-object socket.so installing default socket libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/socket' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/stringio' compiling stringio.c linking shared-object stringio.so installing default stringio libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/stringio' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/strscan' compiling strscan.c linking shared-object strscan.so installing default strscan libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/strscan' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/syslog' compiling syslog.c linking shared-object syslog.so installing default syslog libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/syslog' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk/tkutil' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk/tkutil' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/win32ole' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/win32ole' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/zlib' compiling zlib.c linking shared-object zlib.so installing default zlib libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/zlib' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' linking ruby make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' Generating RDoc documentation Parsing sources... 100% [905/905] vsnprintf.c Generating RI format into /tmp/ruby/ruby-2.0.0-p247/.ext/rdoc... Files: 905 Classes: 1411 ( 0 undocumented) Modules: 312 ( 4 undocumented) Constants: 2282 ( 724 undocumented) Attributes: 1138 ( 340 undocumented) Methods: 10863 (2552 undocumented) Total: 16006 (3620 undocumented) 77.38% documented Elapsed: 124.4s tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ sudo make install CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -ansi -std=iso9899:199409 XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I. DLDFLAGS = -fstack-protector -pie SOLIBS = generating encdb.h encdb.h unchanged making enc make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Nothing to be done for `enc'. make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' making srcs under enc make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Nothing to be done for `srcs'. make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' generating transdb.h transdb.h unchanged making trans make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Nothing to be done for `./enc/trans'. make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' making encs make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' generating makefile exts.mk Failed to configure -test-/win32/dln. It will not be installed. Failed to configure -test-/win32/fd_setsize. It will not be installed. Failed to configure dl/win32. It will not be installed. Failed to configure fiddle/win32. It will not be installed. configuring socket Failed to configure tk. It will not be installed. Failed to configure tk/tkutil. It will not be installed. Failed to configure win32ole. It will not be installed. make[1]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/array/resize' installing default resize libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/array/resize' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3571' installing default bug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3571' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3662' installing default bug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-3662' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-5832' installing default bug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/bug-5832' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/debug' installing default debug libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/debug' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/exception' installing default exception libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/exception' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/fatal' installing default rb_fatal libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/fatal' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/funcall' installing default funcall libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/funcall' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/iter' installing default break libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/iter' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/load/dot.dot' installing default dot.dot libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/load/dot.dot' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/compat' installing default compat libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/compat' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/usr' installing default usr libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/marshal/usr' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/method' installing default method libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/method' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/num2int' installing default num2int libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/num2int' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/old_thread_select' installing default old_thread_select libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/old_thread_select' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/path_to_class' installing default path_to_class libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/path_to_class' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/printf' installing default printf libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/printf' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/numhash' installing default numhash libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/numhash' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/update' installing default update libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/st/update' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/string' installing default string libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/string' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/symbol' installing default symbol libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/symbol' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/typeddata' installing default typeddata libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/typeddata' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/wait_for_single_fd' installing default wait_for_single_fd libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/wait_for_single_fd' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/dln' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/dln' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/fd_setsize' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/-test-/win32/fd_setsize' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/bigdecimal' installing default bigdecimal libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/bigdecimal' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/continuation' installing default continuation libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/continuation' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/coverage' installing default coverage libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/coverage' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/curses' installing default curses libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/curses' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/date' installing default date_core libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/date' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dbm' installing default dbm libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dbm' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest' installing digest libraries installing default digest libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/bubblebabble' installing default bubblebabble libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/bubblebabble' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/md5' installing default md5 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/md5' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/rmd160' installing default rmd160 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/rmd160' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha1' installing default sha1 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha1' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha2' installing default sha2 libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/digest/sha2' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl' installing dl libraries installing default dl libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/callback' installing default callback libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/callback' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/dl/win32' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/etc' installing default etc libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/etc' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fcntl' installing default fcntl libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fcntl' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiber' installing default fiber libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiber' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle' installing default fiddle libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/fiddle/win32' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/gdbm' installing default gdbm libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/gdbm' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/console' installing default console libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/console' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/nonblock' installing default nonblock libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/nonblock' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/wait' installing default wait libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/io/wait' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/json' installing default libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/json' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/generator' installing default generator libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/generator' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/parser' installing default parser libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/json/parser' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/complex' installing default complex libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/complex' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/rational' installing default rational libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/mathn/rational' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/nkf' installing default nkf libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/nkf' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/objspace' installing default objspace libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/objspace' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/openssl' installing default openssl libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/openssl' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/pathname' installing default pathname libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/pathname' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/psych' installing default psych libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/psych' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/pty' installing default pty libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/pty' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/racc/cparse' installing default cparse libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/racc/cparse' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/readline' installing default readline libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/readline' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/ripper' installing default ripper libraries checking ../.././parse.y and ../.././ext/ripper/eventids2.c make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/ripper' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/sdbm' installing default sdbm libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/sdbm' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/socket' linking shared-object socket.so installing default socket libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/socket' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/stringio' installing default stringio libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/stringio' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/strscan' installing default strscan libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/strscan' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/syslog' installing default syslog libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/syslog' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk/tkutil' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/tk/tkutil' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/win32ole' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/win32ole' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247/ext/zlib' installing default zlib libraries make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247/ext/zlib' make[2]: Entering directory `/tmp/ruby/ruby-2.0.0-p247' make[2]: `ruby' is up to date. make[2]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' make[1]: Leaving directory `/tmp/ruby/ruby-2.0.0-p247' Generating RDoc documentation No newer files. Files: 0 Classes: 0 (0 undocumented) Modules: 0 (0 undocumented) Constants: 0 (0 undocumented) Attributes: 0 (0 undocumented) Methods: 0 (0 undocumented) Total: 0 (0 undocumented) 0.00% documented Elapsed: 0.0s ./miniruby -I./lib -I. -I.ext/common ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --install=all --rdoc-output=".ext/rdoc" installing binary commands: /usr/local/bin installing base libraries: /usr/local/lib installing arch files: /usr/local/lib/ruby/2.0.0/x86_64-linux installing pkgconfig data: /usr/local/lib/pkgconfig installing extension objects: /usr/local/lib/ruby/2.0.0/x86_64-linux installing extension objects: /usr/local/lib/ruby/site_ruby/2.0.0/x86_64-linux installing extension objects: /usr/local/lib/ruby/vendor_ruby/2.0.0/x86_64-linux installing extension headers: /usr/local/include/ruby-2.0.0/x86_64-linux installing extension scripts: /usr/local/lib/ruby/2.0.0 installing extension scripts: /usr/local/lib/ruby/site_ruby/2.0.0 installing extension scripts: /usr/local/lib/ruby/vendor_ruby/2.0.0 installing extension headers: /usr/local/include/ruby-2.0.0/ruby installing rdoc: /usr/local/share/ri/2.0.0/system installing capi-docs: /usr/local/share/doc/ruby installing command scripts: /usr/local/bin installing library scripts: /usr/local/lib/ruby/2.0.0 installing common headers: /usr/local/include/ruby-2.0.0 installing manpages: /usr/local/share/man/man1 installing default gems: /usr/local/lib/ruby/gems/2.0.0 (build_info, cache, doc, gems, specifications) bigdecimal 1.2.0 io-console 0.4.2 json 1.7.7 minitest 4.3.2 psych 2.0.0 rake 0.9.6 rdoc 4.0.0 test-unit 2.0.0.0 tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ sudo gem install bundler --no-ro --no-rdoc ERROR: While executing gem ... (OptionParser::InvalidOption) invalid option: --no-ro tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ sudo gem install bundler --no-ri --no-rdoc Fetching: bundler-1.3.5.gem (100%) Successfully installed bundler-1.3.5 1 gem installed tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ sudo adduser --disabled-login --gecos 'GitLab' git Adding user `git' ... Adding new group `git' (1001) ... Adding new user `git' (1001) with group `git' ... Creating home directory `/home/git' ... Copying files from `/etc/skel' ... tdtc010@tdtc010-Vostro-270:/tmp/ruby/ruby-2.0.0-p247$ cd /home/git tdtc010@tdtc010-Vostro-270:/home/git$ ls examples.desktop tdtc010@tdtc010-Vostro-270:/home/git$ sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git Cloning into 'gitlab-shell'... remote: Counting objects: 773, done. remote: Compressing objects: 100% (484/484), done. remote: Total 773 (delta 398), reused 624 (delta 261) Receiving objects: 100% (773/773), 117.27 KiB | 61.00 KiB/s, done. Resolving deltas: 100% (398/398), done. Checking connectivity... done tdtc010@tdtc010-Vostro-270:/home/git$ cd gitlab-shell tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ ls bin CHANGELOG config.yml.example Gemfile Gemfile.lock Guardfile hooks lib LICENSE README.md spec support VERSION tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ sudo -u git -H git checkout v1.7.0 Note: checking out 'v1.7.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at be15f4a... Time for 1.7.0 tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ sudo -u git -H cp config.yml.example config.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ sudo -u git -H editor config.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ sudo -u git -H ./bin/install mkdir -p /home/git/repositories: true mkdir -p /home/git/.ssh: true chmod 700 /home/git/.ssh: true touch /home/git/.ssh/authorized_keys: true chmod 600 /home/git/.ssh/authorized_keys: true chmod -R ug+rwX,o-rwx /home/git/repositories: true find /home/git/repositories -type d -print0 | xargs -0 chmod g+s: true tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18 libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5 Suggested packages: libipc-sharedcache-perl tinyca mailx The following NEW packages will be installed: libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient-dev libmysqlclient18 libnet-daemon-perl libplrpc-perl libterm-readkey-perl mysql-client mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Need to get 28.6 MB of archives. After this operation, 103 MB of additional disk space will be used. Get:1 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.32-0ubuntu0.12.04.1 [13.3 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient18 amd64 5.5.32-0ubuntu0.12.04.1 [944 kB] Get:3 http://cn.archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB] Get:4 http://cn.archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB] Get:5 http://cn.archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB] Get:6 http://cn.archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB] Get:7 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.32-0ubuntu0.12.04.1 [1,921 kB] Get:8 http://cn.archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 kB] Get:9 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.32-0ubuntu0.12.04.1 [8,284 kB] Get:10 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 amd64 5.5.32-0ubuntu0.12.04.1 [6,071 kB] Get:11 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 amd64 5.5.32-0ubuntu0.12.04.1 [8,818 kB] Get:12 http://cn.archive.ubuntu.com/ubuntu/ precise/main libhtml-template-perl all 2.10-1 [65.0 kB] Get:13 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main libmysqlclient-dev amd64 5.5.32-0ubuntu0.12.04.1 [1,398 kB] Get:14 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client all 5.5.32-0ubuntu0.12.04.1 [11.4 kB] Get:15 http://cn.archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server all 5.5.32-0ubuntu0.12.04.1 [11.5 kB] Fetched 28.6 MB in 1min 29s (319 kB/s) Preconfiguring packages ... Selecting previously unselected package mysql-common. (Reading database ... 176484 files and directories currently installed.) Unpacking mysql-common (from .../mysql-common_5.5.32-0ubuntu0.12.04.1_all.deb) ... Selecting previously unselected package libmysqlclient18. Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.32-0ubuntu0.12.04.1_amd64.deb) ... Selecting previously unselected package libnet-daemon-perl. Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ... Selecting previously unselected package libplrpc-perl. Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ... Selecting previously unselected package libdbi-perl. Unpacking libdbi-perl (from .../libdbi-perl_1.616-1build2_amd64.deb) ... Selecting previously unselected package libdbd-mysql-perl. Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ... Selecting previously unselected package mysql-client-core-5.5. Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.32-0ubuntu0.12.04.1_amd64.deb) ... Selecting previously unselected package libterm-readkey-perl. Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build3_amd64.deb) ... Selecting previously unselected package mysql-client-5.5. Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.32-0ubuntu0.12.04.1_amd64.deb) ... Selecting previously unselected package mysql-server-core-5.5. Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.32-0ubuntu0.12.04.1_amd64.deb) ... Processing triggers for man-db ... Setting up mysql-common (5.5.32-0ubuntu0.12.04.1) ... Selecting previously unselected package mysql-server-5.5. (Reading database ... 176862 files and directories currently installed.) Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.32-0ubuntu0.12.04.1_amd64.deb) ... Selecting previously unselected package libhtml-template-perl. Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ... Selecting previously unselected package libmysqlclient-dev. Unpacking libmysqlclient-dev (from .../libmysqlclient-dev_5.5.32-0ubuntu0.12.04.1_amd64.deb) ... Selecting previously unselected package mysql-client. Unpacking mysql-client (from .../mysql-client_5.5.32-0ubuntu0.12.04.1_all.deb) ... Selecting previously unselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.5.32-0ubuntu0.12.04.1_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up libmysqlclient18 (5.5.32-0ubuntu0.12.04.1) ... Setting up libnet-daemon-perl (0.48-1) ... Setting up libplrpc-perl (0.2020-2) ... Setting up libdbi-perl (1.616-1build2) ... Setting up libdbd-mysql-perl (4.020-1build2) ... Setting up mysql-client-core-5.5 (5.5.32-0ubuntu0.12.04.1) ... Setting up libterm-readkey-perl (2.30-4build3) ... Setting up mysql-client-5.5 (5.5.32-0ubuntu0.12.04.1) ... Setting up mysql-server-core-5.5 (5.5.32-0ubuntu0.12.04.1) ... Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ... mysql start/running, process 28143 Setting up libhtml-template-perl (2.10-1) ... Setting up libmysqlclient-dev (5.5.32-0ubuntu0.12.04.1) ... Setting up mysql-client (5.5.32-0ubuntu0.12.04.1) ... Setting up mysql-server (5.5.32-0ubuntu0.12.04.1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42 Server version: 5.5.32-0ubuntu0.12.04.1 (Ubuntu) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE USER 'gitlab'@'localhost' IDENTIFIED BY 'qaz1xsw2'; Query OK, 0 rows affected (0.00 sec) mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`; Query OK, 1 row affected (0.00 sec) mysql> GRANT SELECT, LOCK TABLES, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gitlabhq_production`.* TO 'gitlab'@'localhost';Query OK, 0 rows affected (0.00 sec) mysql> \q Bye tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ sudo -u git -H mysql -u gitlab -p -D gitlabhq_production Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 43 Server version: 5.5.32-0ubuntu0.12.04.1 (Ubuntu) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> \q Bye tdtc010@tdtc010-Vostro-270:/home/git/gitlab-shell$ cd /home/git tdtc010@tdtc010-Vostro-270:/home/git$ sudo -u git -H git clone https://github.com/gitlabhq/gitlabhq.git gitlab Cloning into 'gitlab'... remote: Counting objects: 55491, done. remote: Compressing objects: 100% (19582/19582), done. remote: Total 55491 (delta 40551), reused 49619 (delta 35194) Receiving objects: 100% (55491/55491), 22.80 MiB | 60.00 KiB/s, done. Resolving deltas: 100% (40551/40551), done. Checking connectivity... done tdtc010@tdtc010-Vostro-270:/home/git$ cd gitlab tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H git checkout 6-0-stable Branch 6-0-stable set up to track remote branch 6-0-stable from origin. Switched to a new branch '6-0-stable' tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H cp config/gitlab.yml.example config/gitlab.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H editor config/gitlab.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chown -R git log/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chown -R git tmp/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chmod -R u+rwX log/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chmod -R u+rwX tmp/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H mkdir /home/git/gitlab-satellites tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H mkdir tmp/pids/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H mkdir tmp/sockets/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chmod -R u+rwX tmp/pids/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chmod -R u+rwX tmp/sockets/ tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H mkdir public/uploads tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chmod -R u+rwX public/uploads tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H cp config/unicorn.rb.example config/unicorn.rb tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H editor config/unicorn.rb tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H git config --global user.name "GitLab" tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H git config --global user.email "gitlab@localhost" tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H git config --global core.autocrlf input tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git cp config/database.yml.mysql config/database.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H editor config/database.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H chmod o-rwx config/database.yml tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo gem install charlock_holmes --version '0.6.9.4' Fetching: charlock_holmes-0.6.9.4.gem (100%) Building native extensions. This could take a while... Successfully installed charlock_holmes-0.6.9.4 Parsing documentation for charlock_holmes-0.6.9.4 unable to convert "\x80" from ASCII-8BIT to UTF-8 for lib/charlock_holmes/charlock_holmes.so, skipping Installing ri documentation for charlock_holmes-0.6.9.4 1 gem installed tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H bundle install --deployment --without development test postgres aws Fetching source index from https://rubygems.org/ Fetching https://github.com/gitlabhq/raphael-rails.git remote: Counting objects: 46, done. remote: Compressing objects: 100% (31/31), done. remote: Total 46 (delta 7), reused 45 (delta 6) Unpacking objects: 100% (46/46), done. Installing rake (10.1.0) Installing i18n (0.6.1) Installing multi_json (1.7.9) Installing activesupport (3.2.13) Installing builder (3.0.4) Installing activemodel (3.2.13) Installing erubis (2.7.0) Installing journey (1.0.4) Installing rack (1.4.5) Installing rack-cache (1.2) Installing rack-test (0.6.2) Installing hike (1.2.3) Installing tilt (1.4.1) Installing sprockets (2.2.2) Installing actionpack (3.2.13) Installing mime-types (1.23) Installing polyglot (0.3.3) Installing treetop (1.4.14) Installing mail (2.5.4) Installing actionmailer (3.2.13) Installing arel (3.0.2) Installing tzinfo (0.3.37) Installing activerecord (3.2.13) Installing activeresource (3.2.13) Using bundler (1.3.5) Installing rack-ssl (1.3.3) Using json (1.7.7) Installing rdoc (3.12.2) Installing thor (0.18.1) Installing railties (3.2.13) Installing rails (3.2.13) Installing acts-as-taggable-on (2.4.1) Installing asciidoctor (0.1.3) Installing backports (3.3.2) Installing bcrypt-ruby (3.1.1) Installing sass (3.2.9) Installing bootstrap-sass (2.3.2.0) Installing carrierwave (0.8.0) Installing timers (1.1.0) Installing celluloid (0.14.1) Installing charlock_holmes (0.6.9.4) Installing coffee-script-source (1.6.2) Installing execjs (1.4.0) Installing coffee-script (2.2.0) Installing coffee-rails (3.2.2) Installing chunky_png (1.2.8) Installing fssm (0.2.10) Installing compass (0.12.2) Installing compass-rails (1.0.3) Installing sass-rails (3.2.6) Installing chosen-rails (1.0.0) Installing colored (1.2) Installing connection_pool (1.1.0) Installing d3_rails (3.1.10) Installing descendants_tracker (0.0.1) Installing orm_adapter (0.4.0) Installing warden (1.2.3) Installing devise (2.2.5) Installing diff-lcs (1.2.4) Installing dotenv (0.8.0) Installing enumerize (0.6.1) Installing escape_utils (0.2.4) Installing eventmachine (1.0.3) Installing multipart-post (1.2.0) Installing faraday (0.8.7) Installing faraday_middleware (0.9.0) Installing font-awesome-rails (3.2.1.2) Installing foreman (0.63.0) Installing gemoji (1.2.1) Installing posix-spawn (0.3.6) Installing yajl-ruby (1.1.0) Installing pygments.rb (0.4.2) Installing github-linguist (2.3.4) Installing github-markdown (0.5.3) Installing github-markup (0.7.5) Installing gitlab-grit (2.6.0) Installing nokogiri (1.5.10) Installing sanitize (2.0.3) Installing stringex (1.5.1) Installing gitlab-gollum-lib (1.0.1) Installing gitlab-grack (1.0.1) Installing gitlab-pygments.rb (0.3.2) Installing gitlab_git (2.1.0) Installing gitlab_meta (6.0) Installing net-ldap (0.3.1) Installing hashie (1.2.0) Installing omniauth (1.1.4) Installing pyu-ruby-sasl (0.0.3.3) Installing rubyntlm (0.1.1) Installing gitlab_omniauth-ldap (1.0.3) Installing gon (4.1.1) Installing multi_xml (0.5.4) Installing rack-accept (0.4.5) Installing rack-mount (0.8.3) Installing virtus (0.5.5) Installing grape (0.4.1) Installing grape-entity (0.3.0) Installing haml (4.0.3) Installing haml-rails (0.4) Installing httparty (0.11.0) Installing hipchat (0.9.0) Installing http_parser.rb (0.5.3) Installing httpauth (0.2.0) Installing jquery-atwho-rails (0.3.0) Installing jquery-rails (2.1.3) Installing turbolinks (1.2.0) Installing jquery-turbolinks (1.0.0) Installing jquery-ui-rails (2.0.2) Installing jwt (0.1.8) Installing kaminari (0.14.1) Installing kgio (2.8.0) Installing libv8 (3.11.8.17) Installing modernizr (2.6.2) Installing mysql2 (0.3.11) Installing oauth (0.4.7) Installing oauth2 (0.8.1) Installing omniauth-oauth2 (1.1.1) Installing omniauth-github (1.1.0) Installing omniauth-google-oauth2 (0.1.19) Installing omniauth-oauth (1.0.1) Installing omniauth-twitter (0.0.17) Installing rack-protection (1.5.0) Installing raindrops (0.11.0) Using raphael-rails (2.1.0) from https://github.com/gitlabhq/raphael-rails.git (at master) Installing redcarpet (2.2.2) Installing redis (3.0.4) Installing redis-store (1.1.3) Installing redis-rack (1.4.2) Installing redis-actionpack (3.2.3) Installing redis-activesupport (3.2.3) Installing redis-namespace (1.3.0) Installing redis-rails (3.2.3) Installing ref (1.0.5) Installing seed-fu (2.2.0) Installing select2-rails (3.4.2) Installing settingslogic (2.0.9) Installing sidekiq (2.12.4) Installing simple_oauth (0.1.9) Installing sinatra (1.4.3) Installing six (0.2.0) Installing temple (0.6.5) Installing slim (2.0.0) Installing stamp (0.5.0) Installing state_machine (1.2.0) Installing therubyracer (0.11.4) Installing twitter-stream (0.1.16) Installing tinder (1.9.2) Installing uglifier (2.1.1) Installing underscore-rails (1.4.4) Installing unicorn (4.6.3) Your bundle is complete! Gems in the groups development, test, postgres and aws were not installed. It was installed into ./vendor/bundle Post-install message from rdoc: Depending on your version of ruby, you may need to install ruby rdoc/ri data: <= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install >= 1.9.2 : nothing to do! Yay! Post-install message from haml: HEADS UP! Haml 4.0 has many improvements, but also has changes that may break your application: * Support for Ruby 1.8.6 dropped * Support for Rails 2 dropped * Sass filter now always outputs <style> tags * Data attributes are now hyphenated, not underscored * html2haml utility moved to the html2haml gem * Textile and Maruku filters moved to the haml-contrib gem For more info see: http://rubydoc.info/github/haml/haml/file/CHANGELOG.md Post-install message from httparty: When you HTTParty, you must party hard! tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production [sudo] password for tdtc010: This will create the necessary database tables and seed the database. You will lose any previous data stored in the database. Do you want to continue (yes/no)? yes gitlabhq_production already exists -- create_table("deploy_keys_projects", {:force=>true}) -> 0.1039s -- add_index("deploy_keys_projects", ["project_id"], {:name=>"index_deploy_keys_projects_on_project_id"}) -> 0.4839s -- create_table("events", {:force=>true}) -> 0.1000s -- add_index("events", ["action"], {:name=>"index_events_on_action"}) -> 0.1507s -- add_index("events", ["author_id"], {:name=>"index_events_on_author_id"}) -> 0.1506s -- add_index("events", ["created_at"], {:name=>"index_events_on_created_at"}) -> 0.2770s -- add_index("events", ["project_id"], {:name=>"index_events_on_project_id"}) -> 0.1339s -- add_index("events", ["target_id"], {:name=>"index_events_on_target_id"}) -> 0.1423s -- add_index("events", ["target_type"], {:name=>"index_events_on_target_type"}) -> 0.1506s -- create_table("forked_project_links", {:force=>true}) -> 0.1085s -- add_index("forked_project_links", ["forked_to_project_id"], {:name=>"index_forked_project_links_on_forked_to_project_id", :unique=>true}) -> 0.1591s -- create_table("issues", {:force=>true}) -> 0.1002s -- add_index("issues", ["assignee_id"], {:name=>"index_issues_on_assignee_id"}) -> 0.1507s -- add_index("issues", ["author_id"], {:name=>"index_issues_on_author_id"}) -> 0.1589s -- add_index("issues", ["created_at"], {:name=>"index_issues_on_created_at"}) -> 0.1506s -- add_index("issues", ["milestone_id"], {:name=>"index_issues_on_milestone_id"}) -> 0.1506s -- add_index("issues", ["project_id"], {:name=>"index_issues_on_project_id"}) -> 0.1507s -- add_index("issues", ["title"], {:name=>"index_issues_on_title"}) -> 0.1505s -- create_table("keys", {:force=>true}) -> 0.1085s -- add_index("keys", ["user_id"], {:name=>"index_keys_on_user_id"}) -> 0.1436s -- create_table("merge_requests", {:force=>true}) -> 0.1001s -- add_index("merge_requests", ["assignee_id"], {:name=>"index_merge_requests_on_assignee_id"}) -> 0.1341s -- add_index("merge_requests", ["author_id"], {:name=>"index_merge_requests_on_author_id"}) -> 0.1839s -- add_index("merge_requests", ["created_at"], {:name=>"index_merge_requests_on_created_at"}) -> 0.2089s -- add_index("merge_requests", ["milestone_id"], {:name=>"index_merge_requests_on_milestone_id"}) -> 0.1589s -- add_index("merge_requests", ["source_branch"], {:name=>"index_merge_requests_on_source_branch"}) -> 0.1672s -- add_index("merge_requests", ["source_project_id"], {:name=>"index_merge_requests_on_project_id"}) -> 0.1507s -- add_index("merge_requests", ["target_branch"], {:name=>"index_merge_requests_on_target_branch"}) -> 0.1839s -- add_index("merge_requests", ["title"], {:name=>"index_merge_requests_on_title"}) -> 0.1506s -- create_table("milestones", {:force=>true}) -> 0.0918s -- add_index("milestones", ["due_date"], {:name=>"index_milestones_on_due_date"}) -> 0.1341s -- add_index("milestones", ["project_id"], {:name=>"index_milestones_on_project_id"}) -> 0.1173s -- create_table("namespaces", {:force=>true}) -> 0.0847s -- add_index("namespaces", ["name"], {:name=>"index_namespaces_on_name"}) -> 0.1507s -- add_index("namespaces", ["owner_id"], {:name=>"index_namespaces_on_owner_id"}) -> 0.1506s -- add_index("namespaces", ["path"], {:name=>"index_namespaces_on_path"}) -> 0.1506s -- add_index("namespaces", ["type"], {:name=>"index_namespaces_on_type"}) -> 0.1506s -- create_table("notes", {:force=>true}) -> 0.0919s -- add_index("notes", ["author_id"], {:name=>"index_notes_on_author_id"}) -> 0.1424s -- add_index("notes", ["commit_id"], {:name=>"index_notes_on_commit_id"}) -> 0.1340s -- add_index("notes", ["created_at"], {:name=>"index_notes_on_created_at"}) -> 0.1339s -- add_index("notes", ["noteable_id", "noteable_type"], {:name=>"index_notes_on_noteable_id_and_noteable_type"}) -> 0.1340s -- add_index("notes", ["noteable_type"], {:name=>"index_notes_on_noteable_type"}) -> 0.1256s -- add_index("notes", ["project_id", "noteable_type"], {:name=>"index_notes_on_project_id_and_noteable_type"}) -> 0.1337s -- add_index("notes", ["project_id"], {:name=>"index_notes_on_project_id"}) -> 0.1258s -- create_table("projects", {:force=>true}) -> 0.1013s -- add_index("projects", ["creator_id"], {:name=>"index_projects_on_owner_id"}) -> 0.1508s -- add_index("projects", ["last_activity_at"], {:name=>"index_projects_on_last_activity_at"}) -> 0.1423s -- add_index("projects", ["namespace_id"], {:name=>"index_projects_on_namespace_id"}) -> 0.1423s -- create_table("protected_branches", {:force=>true}) -> 0.1085s -- add_index("protected_branches", ["project_id"], {:name=>"index_protected_branches_on_project_id"}) -> 0.2174s -- create_table("services", {:force=>true}) -> 0.0835s -- add_index("services", ["project_id"], {:name=>"index_services_on_project_id"}) -> 0.1508s -- create_table("snippets", {:force=>true}) -> 0.1001s -- add_index("snippets", ["author_id"], {:name=>"index_snippets_on_author_id"}) -> 0.1424s -- add_index("snippets", ["created_at"], {:name=>"index_snippets_on_created_at"}) -> 0.1256s -- add_index("snippets", ["expires_at"], {:name=>"index_snippets_on_expires_at"}) -> 0.1505s -- add_index("snippets", ["project_id"], {:name=>"index_snippets_on_project_id"}) -> 0.1507s -- create_table("taggings", {:force=>true}) -> 0.0917s -- add_index("taggings", ["tag_id"], {:name=>"index_taggings_on_tag_id"}) -> 0.1603s -- add_index("taggings", ["taggable_id", "taggable_type", "context"], {:name=>"index_taggings_on_taggable_id_and_taggable_type_and_context"}) -> 0.1422s -- create_table("tags", {:force=>true}) -> 0.0918s -- create_table("user_team_project_relationships", {:force=>true}) -> 0.0919s -- create_table("user_team_user_relationships", {:force=>true}) -> 0.0837s -- create_table("user_teams", {:force=>true}) -> 0.0836s -- create_table("users", {:force=>true}) -> 0.0836s -- add_index("users", ["admin"], {:name=>"index_users_on_admin"}) -> 0.1341s -- add_index("users", ["authentication_token"], {:name=>"index_users_on_authentication_token", :unique=>true}) -> 0.1339s -- add_index("users", ["email"], {:name=>"index_users_on_email", :unique=>true}) -> 0.1172s -- add_index("users", ["extern_uid", "provider"], {:name=>"index_users_on_extern_uid_and_provider", :unique=>true}) -> 0.1255s -- add_index("users", ["name"], {:name=>"index_users_on_name"}) -> 0.1340s -- add_index("users", ["reset_password_token"], {:name=>"index_users_on_reset_password_token", :unique=>true}) -> 0.1256s -- add_index("users", ["username"], {:name=>"index_users_on_username"}) -> 0.2591s -- create_table("users_groups", {:force=>true}) -> 0.2084s -- add_index("users_groups", ["user_id"], {:name=>"index_users_groups_on_user_id"}) -> 0.2522s -- create_table("users_projects", {:force=>true}) -> 0.0917s -- add_index("users_projects", ["project_access"], {:name=>"index_users_projects_on_project_access"}) -> 0.1424s -- add_index("users_projects", ["project_id"], {:name=>"index_users_projects_on_project_id"}) -> 0.1506s -- add_index("users_projects", ["user_id"], {:name=>"index_users_projects_on_user_id"}) -> 0.1423s -- create_table("web_hooks", {:force=>true}) -> 0.0751s -- add_index("web_hooks", ["project_id"], {:name=>"index_web_hooks_on_project_id"}) -> 0.1091s -- initialize_schema_migrations_table() -> 0.3101s -- assume_migrated_upto_version(20130812143708, ["/home/git/gitlab/db/migrate"]) -> 4.7189s == Seed from /home/git/gitlab/db/fixtures/production/001_admin.rb 2013-08-23T15:28:34Z 4148 TID-ov67q8arg INFO: Sidekiq client using redis://localhost:6379 with options {:namespace=>"resque:gitlab"} Administrator account created: login.........admin@local.host password......5iveL!fe tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-0-stable/lib/support/init.d/gitlab % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3293 100 3293 0 0 1494 0 0:00:02 0:00:02 --:--:-- 2651 tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo chmod +x /etc/init.d/gitlab tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo update-rc.d gitlab defaults 21 Adding system startup for /etc/init.d/gitlab ... /etc/rc0.d/K21gitlab -> ../init.d/gitlab /etc/rc1.d/K21gitlab -> ../init.d/gitlab /etc/rc6.d/K21gitlab -> ../init.d/gitlab /etc/rc2.d/S21gitlab -> ../init.d/gitlab /etc/rc3.d/S21gitlab -> ../init.d/gitlab /etc/rc4.d/S21gitlab -> ../init.d/gitlab /etc/rc5.d/S21gitlab -> ../init.d/gitlab tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production System information System: Ubuntu 12.04 Current User: git Using RVM: no Ruby Version: 2.0.0p247 Gem Version: 2.0.3 Bundler Version:1.3.5 Rake Version: 10.1.0 GitLab information Version: 6.0.0 Revision: 86c9737 Directory: /home/git/gitlab DB Adapter: mysql2 URL: http://localhost HTTP Clone URL: http://localhost/some-project.git SSH Clone URL: git@localhost:some-project.git Using LDAP: no Using Omniauth: no GitLab Shell Version: 1.7.0 Repositories: /home/git/repositories/ Hooks: /home/git/gitlab-shell/hooks/ Git: /usr/bin/git tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo service gitlab start GitLab service started tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production Checking Environment ... Git configured for git user? ... yes Has python2? ... yes python2 is supported version? ... yes Checking Environment ... Finished Checking GitLab Shell ... GitLab Shell version >= 1.7.0 ? ... OK (1.7.0) Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwxrws---? ... yes post-receive hook up-to-date? ... yes post-receive hooks in repos are links: ... can't check, you have no projects Checking GitLab Shell ... Finished Checking Sidekiq ... Running? ... yes Checking Sidekiq ... Finished Checking GitLab ... Database config exists? ... yes Database is SQLite ... no All migrations up? ... yes GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Init script exists? ... yes Init script up-to-date? ... yes Projects have satellites? ... can't check, you have no projects Redis version >= 2.0.0? ... yes Your git bin path is "/usr/bin/git" Git version >= 1.7.10 ? ... yes (1.8.3) Checking GitLab ... Finished tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo apt-get install -y nginx Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: nginx-common nginx-full Suggested packages: nginx-doc fcgiwrap The following NEW packages will be installed: nginx nginx-common nginx-full 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 605 kB of archives. After this operation, 1,298 kB of additional disk space will be used. Get:1 http://ppa.launchpad.net/nginx/stable/ubuntu/ precise/main nginx-common all 1.4.1-1ppa1~precise [77.2 kB] Get:2 http://ppa.launchpad.net/nginx/stable/ubuntu/ precise/main nginx-full amd64 1.4.1-1ppa1~precise [462 kB] Get:3 http://ppa.launchpad.net/nginx/stable/ubuntu/ precise/main nginx all 1.4.1-1ppa1~precise [65.2 kB] Fetched 605 kB in 17s (33.7 kB/s) Selecting previously unselected package nginx-common. (Reading database ... 177033 files and directories currently installed.) Unpacking nginx-common (from .../nginx-common_1.4.1-1ppa1~precise_all.deb) ... Selecting previously unselected package nginx-full. Unpacking nginx-full (from .../nginx-full_1.4.1-1ppa1~precise_amd64.deb) ... Selecting previously unselected package nginx. Unpacking nginx (from .../nginx_1.4.1-1ppa1~precise_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Setting up nginx-common (1.4.1-1ppa1~precise) ... Setting up nginx-full (1.4.1-1ppa1~precise) ... Setting up nginx (1.4.1-1ppa1~precise) ... tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo curl --output /etc/nginx/sites-available/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-0-stable/lib/support/nginx/gitlab % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1314 100 1314 0 0 771 0 0:00:01 0:00:01 --:--:-- 1646 tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo ln -s /etc/nginx/sites-available/gitlab /etc/nginx/sites-enabled/gitlab tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo editor /etc/nginx/sites-available/gitlab tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo mv /etc/nginx/sites-available/default /etc/nginx/default.bak tdtc010@tdtc010-Vostro-270:/home/git/gitlab$ sudo service nginx restart (责任编辑:IT) |