Chinaunix首页 | 论坛 | 博客
  • 博客访问: 134713
  • 博文数量: 20
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 247
  • 用 户 组: 普通用户
  • 注册时间: 2014-04-12 22:24
个人简介

学霸

文章分类

全部博文(20)

文章存档

2016年(1)

2015年(11)

2014年(8)

我的朋友

分类: 服务器与存储

2015-04-01 13:31:12

工具包下载地址:open pegasus install for linux

脚本文件pegs_linux.sh

点击(此处)折叠或打开

  1. #!/bin/bash

  2. export BUILD_ROOT=/home/xiaohei
  3. export PEGASUS_HOME=$BUILD_ROOT/pegasus
  4. export PEGASUS_ROOT=$PEGASUS_HOME
  5. unset BUILD_ROOT
  6. export PEGASUS_PLATFORM=LINUX_IX86_GNU

在shell中执行:source pegs_linux.sh(使设置的环境变量在shell中生效)
进入解压后的pegasus,直接make即可

open pegasus install for windows

批处理文件pegs_windows.bat

点击(此处)折叠或打开

  1. call "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
  2. set PEGASUS_DEBUG=true
  3. set PEGASUS_ROOT=D:\pegasus
  4. set PEGASUS_HOME=%PEGASUS_ROOT%
  5. set PEGASUS_PLATFORM=WIN64_X86_64_MSVC
  6. set path=%path%;%PEGASUS_HOME%\bin;C:\usr\local\bin
另外open pegasus 在windows上编译需要visual studio 编译环境,如bat脚本中call 就是指定编译环境路径
将附件中压缩包解压拷贝到C盘根目录下,win + r 进入pegasus所在目录直接make即可

pegs_windows.rar   pegs_linux.rar   usr.rar  

本文参考工具包README.html和
阅读(1665) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~