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()*/
}

笔记记录一下

相关推荐
weixin_424999361 分钟前
Golang reflect反射怎么用_Golang反射教程【通俗】
jvm·数据库·python
2301_815279523 分钟前
mysql如何配置慢查询日志记录_开启long_query_time并分析
jvm·数据库·python
biaotan10283 分钟前
销售实用工具合集:全流程提效,轻松做好客户与业绩
大数据
InfinteJustice3 分钟前
如何在 CGO 中正确处理带 const char- 参数的 C 回调函数
jvm·数据库·python
m0_493934535 分钟前
mysql如何使用HAVING过滤分组_mysql分组后的二次筛选
jvm·数据库·python
2301_764150568 分钟前
如何在 Laravel Excel 导入时校验并阻止重复列值
jvm·数据库·python
2401_8716965210 分钟前
PHP源码对主板M.2插槽数量有要求吗_扩展性规划建议【方法】
jvm·数据库·python
qq_1898070311 分钟前
防止SQL注入的运维实践_实时清理数据库缓存与历史记录
jvm·数据库·python
weixin_4585801211 分钟前
MongoDB广告点击追踪如何建模_点击事件聚合与去重记录
jvm·数据库·python
justjinji12 分钟前
CSS如何实现垂直居中对齐_CSS Grid容器内的完美居中方案
jvm·数据库·python