为了更好地了解MHA的原理,计划对MHA源码进行详细的阅读,本文主要为部署源码阅读环境。

一、概述

mha是由perl语言开发,这里想通过eclipse+perl组件来阅读其源码,所以我们环境需要安装eclispe软件、perl软件以及eclipse perl插件,最后及时将mha源码包导入eclipse程序。

软件名称 版本 备注
操作系统 windows 10 X64  
eclipse Version: Oxygen.3a Release (4.7.3a)  
AcitvePerl for Windows ActivePerl-5.24.3.2404-MSWin32-x64-404865 https://www.activestate.com/activeperl/downloads
EPIC Eclipse Perl Integration  http://www.epic-ide.org/download.php

二、环境搭建

1.perl安装

下面安装类型我这边选择的是经典安装(typical)

安装完,通过cmd命令检查:perl  -v

2.eclipse安装

略(可参考我之前的文章,mycat源码分析

3.EPIC安装

After starting Eclipse select Help > Install New Software... from the menu. Click the Add... button and enter:
    http://www.epic-ide.org/updates for the stable 0.6.x, older version of EPIC
    http://www.epic-ide.org/updates/testing for the most recent 0.7.x version
 

安装完需要重启eclipse,安装EPIC完毕

4.eclipse创建perl工程

我们要使用perl程序,需要创建perl工程兵配置perl编译器,否则会报错

创建perl工程

在perl include path写入工程绝对路径D:\app_install\eclipse-workspace\Perl_Project_MHA

5.eclipse导入perl文件

最新文章

  1. HDU2471_History of Languages
  2. CentOS Linux系统下安装Redis过程和配置参数说明
  3. Creating Object Library OLB in Oracle D2k Form
  4. Winform DataGridView扩展
  5. poj 3979 分数加减法
  6. 求1+2+...+n
  7. OC中extern,static,const的用法
  8. java学习笔记----java入门
  9. python unittest 测试笔记(二):使用Requests
  10. 可以在手机上看电脑本地html步骤,我自己总结的哦!
  11. monkeyrunner_获取apk的包名和activity名
  12. 第36节:Java当中的线程
  13. sql 索引笔记
  14. Android Studio_更新Gradle
  15. Python:线程之定位与销毁
  16. Using Java in Debian
  17. [LeetCode] 884. Uncommon Words from Two Sentences_Easy tag: Hash Table
  18. mysql for update语句
  19. CVPR 2013 关于图像/场景分类(classification)的文章paper list
  20. Longest Word in Dictionary through Deleting - LeetCode

热门文章

  1. java io 处理流,BufferdInputStream、BufferedWriter、BufferedReader
  2. shiro学习笔记_0500_授权
  3. manjaro 清理系统
  4. WPF Lambda
  5. jQuery适用技巧笔记整合
  6. Spring----有关bean的配置
  7. 基于ASP.NET Core 创建 Web API
  8. mac平台安装配置TomCat
  9. centos 6.X系统里的网卡em1还原为eth0
  10. String拾遗