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)
がいけないのかと思うのですがどうしたら解決できるかわかりません。何がいけないのでしょうか。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/06/24 08:03