s
tsung 安装
http://niuzhenxin.iteye.com/blog/2102408
第一步:从官网上下载tsung,链接是:http://tsung.erlang-projects.org/
第二步:如果安装tsung必须先安装erlang环境,从官网上下载:http://www.erlang.org/download.html
第三步:如果安装erlang的时候需要安装yum install ncurses-devel。
如果没啥问题,就安装完成。
CentOS 下压力测试工具Tsung安装和使用
http://blog.csdn.net/jimesum1/article/details/7847924
软件下载,redhat 6.3 64位安装wxWidgets、erlang、tsung环境
http://tsung.erlang-projects.org/dist/tsung-1.6.0.tar.gz
http://erlang.org/download/otp_src_19.0.tar.gz
http://120.52.73.47/jaist.dl.sourceforge.net/project/wxwindows/3.0.2/wxWidgets-3.0.2.zip
系统环境RedHat 6.3 64位 各种yum安装
[root@bogon wxWidgets-3.0.2]# more /etc/yum.repos.d/cd.repo
[yum-cd]
name=cd rpm
baseurl=http://10.27.97.1/rh63/x86_64
gpgcheck=0
enabled=1
[root@bogon wxWidgets-3.0.2]#
yum install gcc
yum install gcc-c++
yum install libtool
yum install libtool-ltdl-devel
yum install ncurses-devel
yum install unixODBC.x86_64
yum install unixODBC-devel.x86_64
yum install crypto-utils.x86_64
yum install qca2.x86_64
yum install mesa*
yum install mesa-libGLw.x86_64
yum install openssl
yum install openssl-devel
yum install make kernel-devel m4
yum install xsltproc fop
yum install freeglut*
yum install gtk+extra
yum install gtk*
yum install dos2unix
yum install git unzip libssl-dev libmicrohttpd-dev cmake pkg-config libgtk2.0-dev
yum install -y gcc gcc-c++ libtool libtool-ltdl-devel ncurses-devel unixODBC.x86_64 unixODBC-devel.x86_64 crypto-utils.x86_64 qca2.x86_64 mesa* mesa-libGLw.x86_64 openssl openssl-devel make kernel-devel m4 xsltproc fop freeglut* gtk+extra gtk* dos2unix git unzip libssl-dev libmicrohttpd-dev cmake pkg-config libgtk2.0-dev
Redhat 6.3 64bit 安装 wxWidgets 为erlang安装提供环境
http://120.52.73.47/jaist.dl.sourceforge.net/project/wxwindows/3.0.2/wxWidgets-3.0.2.zip
http://tenet.dl.sourceforge.net/project/wxwindows/2.8.12/wxWidgets-2.8.12.tar.bz2
tar jxf wxWidgets-2.8.12.tar.bz2
./configure --enable-unicode --with-opengl
1. 下载Erlang R16B02源码包
http://www.erlang.org/download/otp_src_R16B02.tar.gz
2. 由于编译Erlang的过程中需要用到java,所以先安装JDK并配置相应环境变量,在此使用jdk-6u43-linux-x64.bin
export JAVA_HOME=/usr/local/jdk1.6.0_43
export PATH=$PATH:$JAVA_HOME/bin:
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
3. 安装Erlang依赖包
apt-get install g++ build-essential libncurses5-dev libgl1-mesa-dev libglu1-mesa-dev
4. 解包后执行以下命令,其中--enable-smp-support选项用于打开多处理器支持,--enable-kernel-poll选项用于打开epoll支持
./configure --prefix=/usr/local/erlang --enable-smp-support --enable-threads --enable-kernel-poll --enable-hipe
配置结束会有如下结果
*********************************************************************
********************** APPLICATIONS INFORMATION ***
*********************************************************************
wx : Can not link the wx driver, wx will NOT be useable
*********************************************************************
./configure --prefix=/usr/local/erlang --enable-smp-support --enable-threads --enable-kernel-poll --enable-hipe
ubuntu下wxWidget的安装及相关问题解决
Ubuntu 12.04 LTS 64位下编译安装Erlang R16B02
http://www.linuxdiyf.com/viewarticle.php?id=416426
其中,
crypto : No usable OpenSSL found
ssh : No usable OpenSSL found
ssl : No usable OpenSSL found
可以通过:apt-get install libssl-dev 解决
odbc : ODBC library - link check failed
可以通过:apt-get install unixodbc unixodbc-dev 解决
wx : wxWidgets not found, wx will NOT be usable
这就必须通过安装wxWidgets库来解决
九、测试
cd /home/hr2000/wxWidget-2.8.10/sample/listctrl
make clean
make all
./listctrl
如果出现一个列表框就说明wxWidget安装成功了。
ReHat 6.3 64位 wxwindows 安装遇到问题,需要dos2unix一下下。
http://www.splok.org/node/93
Unpack the compressed file and run
./configure
Configured wxWidgets 3.0.1 for `armv7l-unknown-linux-gnueabi'
Which GUI toolkit should wxWidgets use? GTK+ 2 with support for GTK+ printing libnotify
Should wxWidgets be compiled into single library? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets support Unicode? yes (using wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.6 no
wxWidgets 2.8 yes
Which libraries should wxWidgets use?
STL no
jpeg builtin
png sys
regex builtin
tiff builtin
zlib sys
expat sys
libmspack no
sdl no
make
(This takes about two hours on a CubieTruck...)
make install
NOTE:
If you receive weird errors during compiling, or running wx-config after installing, it might be because the line endings of the files are in DOS format.
cd ./src/stc && ./gen_iface.py
: No such file or directory
make: *** [include/wx/stc/stc.h] Error 127
root@CubieTruck:~/wxWidgets-3.0.0# cd src/stc/
root@CubieTruck:~/wxWidgets-3.0.0/src/stc# ./gen_iface.py
: No such file or directory
root@CubieTruck:~/wxWidgets-3.0.0/src/stc# dos2unix gen_iface.py
dos2unix: converting file gen_iface.py to Unix format ...
root@CubieTruck:~/wxWidgets-3.0.0# wx-config
bash: /usr/local/bin/wx-config: /bin/sh^M: bad interpreter: No such file or directory
root@CubieTruck:~/wxWidgets-3.0.0# ls -l /usr/local/bin/wx-config
lrwxrwxrwx 1 root root 41 Aug 12 22:56 /usr/local/bin/wx-config -> /usr/local/lib/wx/config/gtk2-unicode-3.0
root@CubieTruck:~/wxWidgets-3.0.0# dos2unix /usr/local/lib/wx/config/gtk2-unicode-3.0
dos2unix: converting file /usr/local/lib/wx/config/gtk2-unicode-3.0 to Unix format ...
ln -s /usr/local/tsung/bin/tsung /usr/local/bin/tsung
安装erlang] 解决方法 an not link the wx driver, wx will NOT be
http://blog.csdn.net/cntway/article/details/17377955
Erlang Build Fails: Can not link the wx driver, wx will NOT be useable
http://stackoverflow.com/questions/24776745/erlang-build-fails-can-not-link-the-wx-driver-wx-will-not-be-useable
安装erlang] 解决方法 an not link the wx driver, wx will NOT be
********************** APPLICATIONS INFORMATION ***************
wx : Can not link the wx driver, wx will NOT be
以下是来自http://argan.javaeye.com/文章因为ubuntu维护的erlang版本太旧,因此从某时开始,我就开始自己维护我使用的erlang版本,下载源代码来编译 以前编译的时候总是有odbc和wx两个无法链接,因为不使用到,也就忽略过去了,这次因为想看看debugger的东西,需要wx支持,才去想办法编译wx的driver,不过碰到一些问题,留给大家 首先,下载了源代码,configure一下,发现无法link odbc和wx,于是安装wx相关的dev包,重新configure,还是不行,几乎把wx相关的dev包都装上去了,还是不行,放狗n次,终于在maillist里找到原因 ,原来是configure的cache的缘故,nnd,以后要多长个心眼了 Just a note to help people trying to build wx on Debian and derivatives (such as ubuntu.) I've found the minimal requirements to be;apt-get install freeglut3-dev libwxgtk2.8-dev g++ Also, there seems to be a caching problem; if these packages are not installed when configure runs, subsequent configures will also fail. Deleting the build directory and re-unpacking the tarball works. There's probably a better method that I'm unaware of.
apt-get install freeglut3-dev libwxgtk2.8-dev g++
end