18-19單獨安裝MariaDB皆失敗!!
我的是甲骨文VPS,Oracle Linux 8-4核心24gb,64位ARM架構附上LOG
抱歉了,無法修改,所以檔案附在這裏https://app.tmp.link/?tmpui_page=/file&ukey=6274a660ae1e8 Building CXX object storage/myisam/CMakeFiles/myisam.dir/ha_myisam.cc.o
In file included from /root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql.h:22,
from /root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:33,
from /root/lnmp1.9/src/mariadb-10.6.5/storage/myisam/ha_myisam.cc:34:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h: In member function ‘int handler::ha_write_tmp_row(uchar*)’:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7347:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_INSERT_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:200:38: note: in definition of macro ‘MYSQL_INSERT_ROW_START’
__dtrace_mysql___insert__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:645:49: note: initializing argument 1 of ‘void __dtrace_mysql___insert__row__start(char*, char*)’
extern void __dtrace_mysql___insert__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7347:71: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_INSERT_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:200:44: note: in definition of macro ‘MYSQL_INSERT_ROW_START’
__dtrace_mysql___insert__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:645:57: note: initializing argument 2 of ‘void __dtrace_mysql___insert__row__start(char*, char*)’
extern void __dtrace_mysql___insert__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h: In member function ‘int handler::ha_delete_tmp_row(uchar*)’:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7358:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_DELETE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:74:38: note: in definition of macro ‘MYSQL_DELETE_ROW_START’
__dtrace_mysql___delete__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:561:49: note: initializing argument 1 of ‘void __dtrace_mysql___delete__row__start(char*, char*)’
extern void __dtrace_mysql___delete__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7358:71: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_DELETE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:74:44: note: in definition of macro ‘MYSQL_DELETE_ROW_START’
__dtrace_mysql___delete__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:561:57: note: initializing argument 2 of ‘void __dtrace_mysql___delete__row__start(char*, char*)’
extern void __dtrace_mysql___delete__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h: In member function ‘int handler::ha_update_tmp_row(const uchar*, uchar*)’:
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7369:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:506:38: note: in definition of macro ‘MYSQL_UPDATE_ROW_START’
__dtrace_mysql___update__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:849:49: note: initializing argument 1 of ‘void __dtrace_mysql___update__row__start(char*, char*)’
extern void __dtrace_mysql___update__row__start(char *, char *);
^~~~~~
/root/lnmp1.9/src/mariadb-10.6.5/sql/sql_class.h:7369:71: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
MYSQL_UPDATE_ROW_START(table_share->db.str, table_share->table_name.str);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:506:44: note: in definition of macro ‘MYSQL_UPDATE_ROW_START’
__dtrace_mysql___update__row__start(arg0, arg1)
^~~~
/root/lnmp1.9/src/mariadb-10.6.5/include/probes_mysql_dtrace.h:849:57: note: initializing argument 2 of ‘void __dtrace_mysql___update__row__start(char*, char*)’
extern void __dtrace_mysql___update__row__start(char *, char *);
^~~~~~
make: *** Error 1
make: *** Error 2
按日志看都是一样的问题,没甲骨文的机器没法测试,oracle linux 8的x86_64测试过没问题,猜测可能是aarch64下mariadb的兼容性问题,可用尝试安装mysql licess 发表于 2022-5-6 18:54
按日志看都是一样的问题,没甲骨文的机器没法测试,oracle linux 8的x86_64测试过没问题,猜测可能是aarch ...
Oracle Linux8的x86也是同樣的問題,不論是mysql還是mariadb,不論是什麼版本通通不行,但是自已手動安裝,用DNF或是編譯源碼安裝,一切沒有問題,另外Ubunt的系統則可以用lnmp安裝,沒有問題。
另外如果Licess需要甲骨文的機器,我可以提供一個給你測試用,謝謝。
我是一直感覺,應該是相關軟件沒有安裝上的關係,不知可否提供lnmp安裝mariadb的相關軟件,我想先行安裝好,然 後再去用lnmp安裝,看看可不可行!!謝謝。 ahmadkholil 发表于 2022-5-7 14:04
Oracle Linux8的x86也是同樣的問題,不論是mysql還是mariadb,不論是什麼版本通通不行,但是自已手動安裝 ...
缺少依赖包的话无法进行到编译安装这一步,前面check部分就直接退出了
这个有测试机器没法调试得需要官方在代码上做适配
mysql也是一样的错误吗? 是的,mysql也是同樣的情況,看樣子Oracle Linux系統是跟lnmp無緣了,可惜了,lnmp真的讓安裝的人省了很多功夫,看樣子只能自已動手安裝了,真是累~~~ ahmadkholil 发表于 2022-5-8 12:00
是的,mysql也是同樣的情況,看樣子Oracle Linux系統是跟lnmp無緣了,可惜了,lnmp真的讓安裝的人省了很多 ...
这个应该是aarch64架构有很大关系的,x86平台上的oracle linux都测试过没有问题的 我正在搶位置,等搶到了,測試好了,再跟你說結果,心 中已有猜測,就不知對不對;P 我知道問題出在那裏了,原來是甲骨文的Oracle Linux 8.5版本系統,應該是甲骨文自已定制的版本, 所以才和lnmp裏的MariaDB定制參數不合,才會一直安裝失敗,我同樣的機器的4c24gb,改成ubuntuu,就馬上一切正常了。:L:L:L
最後我還是覺得應該是安裝相關軟件出了問題,因為我一直看到有很多有執行但是沒有檔案所以出現查無此檔的訊息,換成ubuntu後,那個訊息每個多是成功。感謝LNMP的奉獻真是讓我省了80%的時間,雖然自已一個一個裝也是可以也是同樣結果,但是真的費時又費功,現在只要一行指令就解決了,一個字爽:lol:lol:lol
另外 補充一下,只有1GB的機器也是可以安裝的,沒有問題,我試過至少十遍了,每次多是oK的,只是 會很慢~~非常的慢,平均安裝一次要8個小時以上:funk:
页:
[1]