netty源代码编译_mac os
工作中会用到netty,有随手整理笔记的习惯,故学习整理下,之前看过了理论知识,接下来就看下源码了,先来编译下
个人 fork git:https://github.com/ending06/netty
netty 学习wiki记录:https://github.com/ending06/netty/wiki/Netty%E6%BA%90%E7%A0%81%E7%BC%96%E8%AF%91%E2%80%94%E2%80%94MAC-OS
1. 下载源码 https://github.com/netty/netty
2.之前编译了一次,失败了,具体错误不贴了,看了下https://netty.io/wiki/native-transports.html
3.修改配置,父parent
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.5..Final</version>
</extension>
</extensions>
...
</build>
Building the MacOS/BSD native transport To build the native transport, you need to use MacOS 10.12 or higher. Please also install the required tools and libraries:
brew install autoconf automake libtool
4. mvn -U -X clean package 看具体出错的位置
5. 编译环境
1.系统:Mac os high sierra 10.13.6 2
2.jdk
~ $ java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) -Bit Server VM (build 25.191-b12, mixed mode)
3.mvn
~ $ mvn -version
Apache Maven 3.5.
Maven home:
/XXXXXX/apache-maven-3.5.
Java version: 1.8.0_191, vendor: Oracle Corporation
Java home: /XXXXXX/jdk1..0_191.jdk/Contents/Home/jre
Default locale: zh_CN, platform encoding: UTF-
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
4.ide
6.mvn install -DskipTests
7.result
[INFO] Reactor Summary:
[INFO]
[INFO] Netty/Dev-Tools .................................... SUCCESS [ 1.438 s]
[INFO] Netty .............................................. SUCCESS [ 6.160 s]
[INFO] Netty/Common ....................................... SUCCESS [ 45.395 s]
[INFO] Netty/Buffer ....................................... SUCCESS [ 13.871 s]
[INFO] Netty/Resolver ..................................... SUCCESS [ 4.270 s]
[INFO] Netty/Transport .................................... SUCCESS [ 12.567 s]
[INFO] Netty/Codec ........................................ SUCCESS [ 10.514 s]
[INFO] Netty/Codec/DNS .................................... SUCCESS [ 6.099 s]
[INFO] Netty/Codec/HAProxy ................................ SUCCESS [ 3.874 s]
[INFO] Netty/Handler ...................................... SUCCESS [ 12.510 s]
[INFO] Netty/Codec/HTTP ................................... SUCCESS [ 12.516 s]
[INFO] Netty/Codec/HTTP2 .................................. SUCCESS [ 12.402 s]
[INFO] Netty/Codec/Memcache ............................... SUCCESS [ 4.390 s]
[INFO] Netty/Codec/MQTT ................................... SUCCESS [ 5.057 s]
[INFO] Netty/Codec/Redis .................................. SUCCESS [ 5.322 s]
[INFO] Netty/Codec/SMTP ................................... SUCCESS [ 3.429 s]
[INFO] Netty/Codec/Socks .................................. SUCCESS [ 5.034 s]
[INFO] Netty/Codec/Stomp .................................. SUCCESS [ 3.950 s]
[INFO] Netty/Codec/XML .................................... SUCCESS [ 3.838 s]
[INFO] Netty/Handler/Proxy ................................ SUCCESS [ 5.261 s]
[INFO] Netty/Resolver/DNS ................................. SUCCESS [ 14.965 s]
[INFO] Netty/Transport/RXTX ............................... SUCCESS [ 2.460 s]
[INFO] Netty/Transport/SCTP ............................... SUCCESS [ 5.019 s]
[INFO] Netty/Transport/UDT ................................ SUCCESS [ 4.724 s]
[INFO] Netty/Example ...................................... SUCCESS [ 8.419 s]
[INFO] Netty/Transport/Native/Unix/Common ................. SUCCESS [ 5.272 s]
[INFO] Netty/Testsuite .................................... SUCCESS [ 6.433 s]
[INFO] Netty/Transport/Native/Unix/Common/Tests ........... SUCCESS [ 5.337 s]
[INFO] Netty/Transport/Native/KQueue ...................... SUCCESS [ 26.313 s]
[INFO] Netty/All-in-One ................................... SUCCESS [ 7.457 s]
[INFO] Netty/Tarball ...................................... SUCCESS [ 1.681 s]
[INFO] Netty/Transport/Native/Epoll ....................... SUCCESS [ 7.063 s]
[INFO] Netty/Testsuite/Autobahn ........................... SUCCESS [ 3.038 s]
[INFO] Netty/Testsuite/Http2 .............................. SUCCESS [ 4.000 s]
[INFO] Netty/Testsuite/OSGI ............................... SUCCESS [ 4.870 s]
[INFO] Netty/Testsuite/Shading ............................ SUCCESS [ 12.622 s]
[INFO] Netty/Microbench ................................... SUCCESS [ 30.042 s]
[INFO] Netty/BOM .......................................... SUCCESS [ 0.009 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: : min
[INFO] Finished at: --21T09::+:
[INFO] Final Memory: 95M/759M
[INFO] ------------------------------------------------------------------------
netty源代码编译_mac os的更多相关文章
- 在 Mac OS X 环境中从源代码编译安装 FFmpeg
最近因为一个项目要求,需要开发实时视频编解码功能,准备采用 FFmpeg 以 x264 方式进行实时的视频编解码.Windows 以及 Linux 环境下的 FFmpeg 动态库.头文件等资源都非常容 ...
- Nginx+Php-fpm+MySQL+Redis源代码编译安装指南
说明:本教程主要包括以下三个部分: 1. 源代码编译安装Nginx 2. 源代码编译安装php以及mysql.redis扩展模块 3. 配置虚拟主机 文中所涉及安装包程序均提供下载链接,欢迎使用 运行 ...
- React Native Android入门实战及深入源代码分析系列(2)——React Native源代码编译
本文为老曾原创.转载需注明出处:viewmode=contents">http://blog.csdn.net/minimicall?viewmode=contents 在上一节中,我 ...
- SUSE Linux源代码编译安装MySQL 5.6
这篇文章主要介绍了SUSE Linux下源代码编译方式安装MySQL 5.6过程分享,本文使用SUSE Linux Enterprise Server 10 SP3 (x86_64)系统,须要的朋友能 ...
- Win7+VS2010:mysql 源代码编译与调试
win7+vs2010源代码编译mysql 近期因为在实习,工作重点在于一些数据库的开发,为了更好的理解数据库的实现机制.眼下萌生了要研究一下mysql数据库源代码的想法.那么好吧,说干就干.首先我们 ...
- 源代码编译安装Python3.5.2
由于没有找到Python3.5的rpm安装包,因此进行源代码编译安装 1.下载Python3.5.2 [root@seastar ~]# cd /usr/local/src [root@seastar ...
- Android 6.0 源代码编译实践
http://www.judymax.com/archives/1087 Android 6.0 源代码编译实践 https://mirrors.tuna.tsinghua.edu.cn/help/A ...
- 3DSlicer源代码编译过程vs2008+windows xp [转]
一 下载QT源代码编译 1. 简述 在 Windows2000/xp/vista 下,安装 VS2008, QT 4.7.2 :并在 VS2008上建立 QT 的集成开发环境,利用 VS2008 ...
- 官方发布的新版本Qt已经不支持XP了,要自己从源代码编译
官方发布的新版本Qt已经不支持XP了,要自己从源代码编译,编译选项里有个-target项,用来提供XP支持的,编译时加上-target xp就可以了 http://www.qtcn.org/bbs/r ...
随机推荐
- 新人须知的网站文件和MySQL数据库备份流程思路
昨天老左再次遇到一个网友告知使用的一台服务器自己无意中点击主机商面板的导致服务器被重新安装系统(居然这也可以),问问是否可以恢复数据.这个同学和之前遇到好几次的网友真相似,从开始购买服务器,到自己网站 ...
- Hibernate 工具类
1.HibernateConfigUtil.java(HIbernate配置工具类) import org.hibernate.Session; import org.hibernate.Sessio ...
- FJOI2019 游记[大概是考完会解封?]
Day -1 不知不觉就快省选了啊...从NOIP的爆炸到现在也已经过了两个月了啊... 因为高一没有封闭[划] 所以这些内容是翘了课[划]在机房写的 嘛...感觉自己还有好多东西不会啊……这两天一直 ...
- 怎么搭建一个5T的私有云盘
视频 点击打开视频 下载地址 免费域名网址: https://www.freewebhostingarea.com/ ftp工具: http://t.cn/EXWxYUI oneindex: http ...
- macOS High Sierra 10.13正式版USB安装盘制作
1.首先,准备一个 8GB 或更大容量的 U盘,并备份好里面的所有资料. 2.下载好 macOS High Sierra 正式版的安装程序:https://support.apple.com/zh-c ...
- css hack 汇整
针对Chrome和Safari等Webkit核心浏览器的CSS hack代码: @media screen and (-webkit-min-device-pixel-ratio:0) { …… } ...
- eclipse中提示js或者JQuery代码
当你在eclipse中的JSP中写JavaScript或者JQuery代码的时候,eclipse是不会自动提示的,所以你需要在eclipse中安装一下插件,该插件的名字叫:Spket IDE,它可以作 ...
- memcached 学习笔记 3
适合什么场合 memcached不是万能的,它也不是适用在所有场合. Memcached是“分布式”的内存对象缓存系统,那么就是说,那些不需要“分布”的,不需要共享的,或者干脆规模小到只有一台服务器的 ...
- UVM序列篇之二:sequence和item(上)
无论是自驾item,穿过sequencer交通站,通往终点driver,还是坐上sequence的大巴,一路沿途观光,最终跟随导游停靠到风景点driver,在介绍如何驾驶item和sequence,遵 ...
- 大数据sql引擎
Hive:把sql解析后用MapReduce跑 SparkSQL:把sql解析后用Spark跑,比hive快点 Phoenix:一个绕过了MapReduce运行在HBase上的SQL框架 Drill/ ...