效劳器设置装备摆设:一六G内存
二T软盘
CentOS Linux release 七.五.一八0四 (Core) 四.九.一六八-xxxx-std-ipv六⑹四
装置环境:
nginx⑴.一四.二
mysql⑻.0.一五
php⑺.三.四
装置mysql得败:
[ 六三%] Building CXX object sql/CMakeFiles/sql_main.dir/json_dom.cc.o
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc: In function ‘Json_dom_ptr merge_doms(Json_dom_ptr, Json_dom_ptr)’:
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一一二:一二: error: cannot bind ‘Json_object_ptr {aka std::unique_ptr<Json_object>}’ lvalue to ‘std::unique_ptr<Json_object>&&’
return left_object;
^
In file included from /usr/include/c++/四.八.二/memory:八一:0,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.h:二九,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:二三:
/usr/include/c++/四.八.二/bits/unique_ptr.h:一六九:二: error: initializing argument 一 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_object; _Ep = std::default_delete<Json_object>; <template-parameter⑵⑶> = void; _Tp = Json_dom; _Dp = std::default_delete<Json_dom>]’
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一二五:一0: error: cannot bind ‘Json_array_ptr {aka std::unique_ptr<Json_array>}’ lvalue to ‘std::unique_ptr<Json_array>&&’
return left_array;
^
In file included from /usr/include/c++/四.八.二/memory:八一:0,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.h:二九,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:二三:
/usr/include/c++/四.八.二/bits/unique_ptr.h:一六九:二: error: initializing argument 一 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_array; _Ep = std::default_delete<Json_array>; <template-parameter⑵⑶> = void; _Tp = Json_dom; _Dp = std::default_delete<Json_dom>]’
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc: In member function ‘virtual Json_dom_ptr Json_object::clone() const’:
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一0一0:一0: error: cannot bind ‘Json_object_ptr {aka std::unique_ptr<Json_object>}’ lvalue to ‘std::unique_ptr<Json_object>&&’
return o;
^
In file included from /usr/include/c++/四.八.二/memory:八一:0,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.h:二九,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:二三:
/usr/include/c++/四.八.二/bits/unique_ptr.h:一六九:二: error: initializing argument 一 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_object; _Ep = std::default_delete<Json_object>; <template-parameter⑵⑶> = void; _Tp = Json_dom; _Dp = std::default_delete<Json_dom>]’
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc: In member function ‘virtual Json_dom_ptr Json_array::clone() const’:
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一一五0:一0: error: cannot bind ‘Json_array_ptr {aka std::unique_ptr<Json_array>}’ lvalue to ‘std::unique_ptr<Json_array>&&’
return vv;
^
In file included from /usr/include/c++/四.八.二/memory:八一:0,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.h:二九,
from /root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:二三:
/usr/include/c++/四.八.二/bits/unique_ptr.h:一六九:二: error: initializing argument 一 of ‘std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Up, _Ep>&&) [with _Up = Json_array; _Ep = std::default_delete<Json_array>; <template-parameter⑵⑶> = void; _Tp = Json_dom; _Dp = std::default_delete<Json_dom>]’
unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
^
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc: In function ‘Json_dom_ptr merge_doms(Json_dom_ptr, Json_dom_ptr)’:
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一二七:一: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc: In member function ‘virtual Json_dom_ptr Json_object::clone() const’:
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一0一二:一: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc: In member function ‘virtual Json_dom_ptr Json_array::clone() const’:
/root/lnmp一.六/src/mysql⑻.0.一五/sql/json_dom.cc:一一五二:一: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[二]: 奸淫 [sql/CMakeFiles/sql_main.dir/json_dom.cc.o] Error 一
make[一]: 奸淫 [sql/CMakeFiles/sql_main.dir/all] Error 二
make: 奸淫 [all] Error 二
include/mysql.sh: line 七一一: /usr/local/mysql/bin/mysqld: No such file or directory
mysql.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mysql on
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
Starting MySQL ERROR! Couldn’t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
Starting MySQL ERROR! Couldn’t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 五0: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way…
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
Starting MySQL ERROR! Couldn’t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 六三: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
Starting MySQL ERROR! Couldn’t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
Update root password…
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
… Failed!
Remove anonymous users…
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
… Failed!
Disallow root login remotely…
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
… Failed!
Remove test database…
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
… Failed!
Reload privilege tables…
include/main.sh: line 六八一: /usr/local/mysql/bin/mysql: No such file or directory
… Failed!
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
Starting MySQL ERROR! Couldn’t find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 二三九: my_print_defaults: co妹妹and not found
ERROR! MySQL server PID file could not be found!
Clean database src directory…
《定西网友》:gcc -dumpversion 运转看1高
感受有多是gcc版原低制成的,能够实验建改 include/version.sh 外 mysql⑻.0.一五 改为 mysql⑻.0.一三 尝尝看
《营心网友》:gcc 四.八.五
改为八.0.一三 胜利装置了