Kudu 源码编译-aarch架构 1.17.1版本

跟着官方文档编译

第一个问题:在make阶段时会报的问题:

cpp 复制代码
kudu/src/kudu/util/block_bloom_filter.cc:210:3: error: 'vst1q_u32_x2' was not declared in this scope
kudu/src/kudu/util/block_bloom_filter.cc:436:5: error: 'vst1q_u8_x2' was not declared in this scope

vst1q_u32_x2: vst2q_u32

vst1q_u8_x2: vst2q_u8

用这两个函数代替;

第二个问题:gradle-7.6.4-all.zip下载不下来

java 复制代码
Exception in thread "main" java.io.IOException: Downloading from https://services.gradle.org/distributions/gradle-7.6.4-all.zip failed: timeout

用迅雷本地下载(翻墙),上传至下面这个目录,最后一个目录名是随机生成的。

java 复制代码
/root/.gradle/wrapper/dists/gradle-7.6.4-all/69w292fwwbbevpookp42lrbux

第三个问题:gradle源要换成国内源

java 复制代码
Execution failed for task ':buildSrc:compileGroovy'.
		> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
		   > Could not download gradle-versions-plugin-0.41.0.jar (com.github.ben-manes:gradle-versions-plugin:0.41.0)
			  > Could not get resource 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.
				 > Could not HEAD 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.
		Execution failed for task ':buildSrc:compileGroovy'.
		> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
		   > Could not download gradle-versions-plugin-0.41.0.jar (com.github.ben-manes:gradle-versions-plugin:0.41.0)
			  > Could not get resource 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.
				 > Could not HEAD 'https://plugins.gradle.org/m2/com/github/ben-manes/gradle-versions-plugin/0.41.0/gradle-versions-plugin-0.41.0.jar'.

下面这个文件可以改gradle源,换成国内源:

java 复制代码
kudu/java/buildSrc/build.gradle

本人换成的源地址:

java 复制代码
repositories {
    maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } //gradle-plugin
	maven { url 'https://maven.aliyun.com/repository/google' } //google
	maven { url 'https://maven.aliyun.com/repository/public' } //public
	maven { url 'https://maven.aliyun.com/repository/jcenter' } //jcenter
	/*google()
	mavenCentral()
	gradlePluginPortal()*/
}

笔记记录一下

相关推荐
web安全工具库1 小时前
Makefile 模式规则精讲:从 %.o: %.c 到静态模式规则的终极自动化
linux·运维·c语言·开发语言·数据库·自动化
wudl55663 小时前
Flink 1.20 flink-config.yml 配置详解
大数据·flink
华东数交3 小时前
企业与国有数据资产:入表全流程管理及资产化闭环理论解析
大数据·人工智能
盒马coding8 小时前
第19节-非规范化数据类型-Composite-types
数据库·postgresql
-雷阵雨-8 小时前
MySQL——桥梁JDBC
数据库·mysql·oracle
B站_计算机毕业设计之家8 小时前
计算机毕业设计:Python农业数据可视化分析系统 气象数据 农业生产 粮食数据 播种数据 爬虫 Django框架 天气数据 降水量(源码+文档)✅
大数据·爬虫·python·机器学习·信息可视化·课程设计·农业
亿坊电商8 小时前
在PHP框架里如何进行数据库连接?
数据库·oracle·php
满昕欢喜9 小时前
SQL Server从入门到项目实践(超值版)读书笔记 28
数据库·sql·sqlserver
楚韵天工9 小时前
宠物服务平台(程序+文档)
java·网络·数据库·spring cloud·编辑器·intellij-idea·宠物
Apache Flink10 小时前
Flink Agents 0.1.0 发布公告
大数据·flink