質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

Redmine

Redmineは、プロジェクトのタスク管理、進捗管理、情報共有が可能な、 オープンソースプロジェクト管理ソフトウェアです。

Q&A

解決済

2回答

7847閲覧

Centos7 redmine導入

cray

総合スコア29

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

Linux

Linuxは、Unixをベースにして開発されたオペレーティングシステムです。日本では「リナックス」と呼ばれています。 主にWebサーバやDNSサーバ、イントラネットなどのサーバ用OSとして利用されています。 上位500のスーパーコンピュータの90%以上はLinuxを使用しています。 携帯端末用のプラットフォームAndroidは、Linuxカーネル上に構築されています。

Redmine

Redmineは、プロジェクトのタスク管理、進捗管理、情報共有が可能な、 オープンソースプロジェクト管理ソフトウェアです。

0グッド

1クリップ

投稿2016/06/24 07:01

編集2016/06/24 07:10

virtualboxにCentos7を入れました。
そこにredmineを導入しようと思い、
http://blog.redmine.jp/articles/3_2/install/centos/
の記事を参考に進めてみました。

しかしPassengerのインストールのところでエラーが起きて進まなくなってしまいました。

PassengerのApache用モジュールのインストールの
passenger-install-apache2-module --auto

を実行すると

In file included from /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/os_defines.h:39:, from /usr/include/c++/4.8.2/x86_64-redhat-linux/bits/c++config.h:2097, from /usr/include/c++/4.8.2/string:38, from src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp:25, from src/cxx_supportlib/oxt/tracable_exception.hpp:31, from src/cxx_supportlib/Exceptions.h:62, from src/cxx_supportlib/Exceptions.cpp:27: /usr/include/features.h:330:4: 警告: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ mkdir -p buildout/apache2/module_libpassenger_common/Utils c++ -o buildout/apache2/module_libpassenger_common/Utils/SystemTime.o -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Isrc/cxx_supportlib/vendor-copy/libuv/include -fPIC -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apr-1 -I/usr/include/apr-1 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/httpd -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -std=gnu++11 -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -c src/cxx_supportlib/Utils/SystemTime.cpp In file included from src/agent/Shared/ApiServerUtils.h:73:0, from src/agent/Watchdog/WatchdogMain.cpp:63: src/cxx_supportlib/DataStructures/LString.h:83:2: 警告: always_inline function might not be inlinable [-Wattributes] psg_lstr_last_byte(const LString *str) { ^ src/cxx_supportlib/DataStructures/LString.h:78:2: 警告: always_inline function might not be inlinable [-Wattributes] psg_lstr_first_byte(const LString *str) { ^ c++ -o buildout/support-binaries/CoreMain.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Isrc/cxx_supportlib/vendor-copy/libuv/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -feliminate-unused-debug-symbols -feliminate-unused-debug-types -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -g -DHAS_ALLOCA_H -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -std=gnu++11 -Wno-unused-local-typedefs -DHASH_NAMESPACE="__gnu_cxx" -DHASH_MAP_HEADER="<hash_map>" -DHASH_MAP_CLASS="hash_map" -DHASH_FUN_H="<hash_fun.h>" -c src/agent/Core/CoreMain.cpp In file included from src/agent/Shared/ApiServerUtils.h:73:0, from src/agent/Core/CoreMain.cpp:73:

という文が(一部省略しています)ループで表示されて先に進みません。
/usr/include/features.h:330:4: 警告: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
warning _FORTIFY_SOURCE requires compiling with optimization (-O)
がいけないのかと思うのですがどうしたら解決できるかわかりません。何がいけないのでしょうか。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答2

0

ベストアンサー

virtualboxにCentos7を入れてということなので、以下のURLが参考になるかもしれません。
要はコンパイルするのにメモリが足りていないということのようです。
https://github.com/phusion/passenger/issues/1578

投稿2016/06/24 07:48

yourill

総合スコア73

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

cray

2016/06/24 08:03

回答ありがとうございます。確認してみます。
guest

0

SELinuxが有効になっているような気がします。
SELinux無効にして、OS再起動しましたでしょうか?

投稿2016/06/24 07:42

over

総合スコア4309

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

cray

2016/06/24 07:52

回答ありがとうございます。getenforceを実行するとDisabledと表示されるので無効になっているかと思われます。
over

2016/06/24 07:54

見当違いでした。すいません。
cray

2016/06/24 07:57

いえいえ、SELinuxが原因でないと分かっただけでも十分です!ありがとうございました!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問