从源头建设网络时出现问题 [英] Issue while building netty from source

查看:232
本文介绍了从源头建设网络时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从源头构建网络时,构建失败于

When I build netty from source, the build fails at

[INFO] Netty/Transport/Native/Epoll .......................失败[5.927 s]

[INFO] Netty/Transport/Native/Epoll ....................... FAILURE [ 5.927 s]

我收到的错误消息是

[错误]无法在项目netty-transport-native-epoll上执行目标org.fusesource.hawtjni:maven-hawtjni-plugin:1.10:build(build-native-lib):构建失败:org.apache.maven .plugin.MojoExecutionException:提取的程序包看起来不包含本机源版本. -> [帮助1]

[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.10:build (build-native-lib) on project netty-transport-native-epoll: build failed: org.apache.maven.plugin.MojoExecutionException: Extracted package did not look like it contained a native source build. -> [Help 1]

推荐答案

看起来您想编译一个本机库,为此,您应该在Linux下并从

Looks like you want to compile a native library, to do so you should be under Linux and have additional libraries installed from http://netty.io/wiki/native-transports.html.

这篇关于从源头建设网络时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆