[root@centos12 thmsoftware]# wget http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz
--2018-01-23 11:53:06-- http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz
Resolving people.seas.harvard.edu (people.seas.harvard.edu)... 54.172.197.41
Connecting to people.seas.harvard.edu (people.seas.harvard.edu)|54.172.197.41|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 191800 (187K) [application/x-gzip]
Saving to: ‘stress-1.0.4.tar.gz’
100%[========================>] 191,800 84.4KB/s in 2.2s
2018-01-23 11:53:14 (84.4 KB/s) - ‘stress-1.0.4.tar.gz’ saved [191800/191800]
See the INSTALL file for generic installation instructions. The quick
version is:
./configure && make && sudo make install
You can see the program‘s usage statement by invoking it with --help. A
typical invocation is:
stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s
A user manual is available:
info stress
The project home page is:
http://weather.ou.edu/~apw/projects/stress/
This program works really well for me, but it might not have some of the
features that you want. If you would like, please extend the code and send
me the patch. Please use the context diff format. That is: save the
original program as stress.c.orig, then make and test your desired changes
to stress.c, then run `diff -u stress.c.orig stress.c‘ to produce a context
diff. Enjoy the program :-)
Amos Waterland <apw@rossby.metr.ou.edu>
Norman, Oklahoma
27 Nov 2001
[root@centos12 stress-1.0.4]# ./configure && make && make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in /thmsoftware/stress-1.0.4‘:<br/>configure: error: no acceptable C compiler found in $PATH<br/>See
config.log‘ for more details.
[root@centos12 stress-1.0.4]# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure
hostname = centos12
uname -m = x86_64
uname -r = 3.10.0-693.11.1.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Mon Dec 4 23:52:40 UTC 2017
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
configure:1858: checking for a BSD-compatible install
configure:1926: result: /usr/bin/install -c
configure:1937: checking whether build environment is sane
configure:1980: result: yes
configure:2005: checking for a thread-safe mkdir -p
configure:2044: result: /usr/bin/mkdir -p
configure:2057: checking for gawk
configure:2073: found /usr/bin/gawk
configure:2084: result: gawk
configure:2095: checking whether make sets $(MAKE)
configure:2117: result: yes
configure:2350: checking for gcc
configure:2380: result: no
configure:2443: checking for cc
configure:2490: result: no
configure:2546: checking for cl.exe
configure:2576: result: no
configure:2600: error: in /thmsoftware/stress-1.0.4‘:<br/>configure:2603: error: no acceptable C compiler found in $PATH<br/>See
config.log‘ for more details.
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install=‘/usr/bin/install -c‘
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
ACLOCAL=‘${SHELL} /thmsoftware/stress-1.0.4/missing --run aclocal-1.10‘
AMDEPBACKSLASH=‘‘
AMDEP_FALSE=‘‘
AMDEP_TRUE=‘‘
AMTAR=‘${SHELL} /thmsoftware/stress-1.0.4/missing --run tar‘
AUTOCONF=‘${SHELL} /thmsoftware/stress-1.0.4/missing --run autoconf‘
AUTOHEADER=‘${SHELL} /thmsoftware/stress-1.0.4/missing --run autoheader‘
AUTOMAKE=‘${SHELL} /thmsoftware/stress-1.0.4/missing --run automake-1.10‘
AWK=‘gawk‘
CC=‘‘
CCDEPMODE=‘‘
CFLAGS=‘‘
CPP=‘‘
CPPFLAGS=‘‘
CYGPATH_W=‘echo‘
DEFS=‘‘
DEPDIR=‘‘
ECHO_C=‘‘
ECHO_N=‘-n‘
ECHO_T=‘‘
EGREP=‘‘
EXEEXT=‘‘
GREP=‘‘
INSTALL_DATA=‘${INSTALL} -m 644‘
INSTALL_PROGRAM=‘${INSTALL}‘
INSTALL_SCRIPT=‘${INSTALL}‘
INSTALL_STRIP_PROGRAM=‘$(install_sh) -c -s‘
LDFLAGS=‘‘
LIBOBJS=‘‘
LIBS=‘‘
LTLIBOBJS=‘‘
MAKEINFO=‘${SHELL} /thmsoftware/stress-1.0.4/missing --run makeinfo‘
MKDIR_P=‘/usr/bin/mkdir -p‘
OBJEXT=‘‘
PACKAGE=‘stress‘
PACKAGE_BUGREPORT=‘‘
PACKAGE_NAME=‘‘
PACKAGE_STRING=‘‘
PACKAGE_TARNAME=‘‘
PACKAGE_VERSION=‘‘
PATH_SEPARATOR=‘:‘
SET_MAKE=‘‘
SHELL=‘/bin/sh‘
STRIP=‘‘
VERSION=‘1.0.4‘
ac_ct_CC=‘‘
amfastdepCC_FALSE=‘‘
am__fastdepCC_TRUE=‘‘
aminclude=‘‘
amisrc=‘‘
amleading_dot=‘.‘
amquote=‘‘
amtar=‘${AMTAR} chof - "$$tardir"‘
am__untar=‘${AMTAR} xf -‘
bindir=‘${exec_prefix}/bin‘
build_alias=‘‘
datadir=‘${datarootdir}‘
datarootdir=‘${prefix}/share‘
docdir=‘${datarootdir}/doc/${PACKAGE}‘
dvidir=‘${docdir}‘
exec_prefix=‘NONE‘
host_alias=‘‘
htmldir=‘${docdir}‘
includedir=‘${prefix}/include‘
infodir=‘${datarootdir}/info‘
install_sh=‘$(SHELL) /thmsoftware/stress-1.0.4/install-sh‘
libdir=‘${exec_prefix}/lib‘
libexecdir=‘${exec_prefix}/libexec‘
localedir=‘${datarootdir}/locale‘
localstatedir=‘${prefix}/var‘
mandir=‘${datarootdir}/man‘
mkdir_p=‘/usr/bin/mkdir -p‘
oldincludedir=‘/usr/include‘
pdfdir=‘${docdir}‘
prefix=‘NONE‘
program_transform_name=‘s,x,x,‘
psdir=‘${docdir}‘
sbindir=‘${exec_prefix}/sbin‘
sharedstatedir=‘${prefix}/com‘
sysconfdir=‘${prefix}/etc‘
target_alias=‘‘
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "stress"
#define VERSION "1.0.4"
configure: exit 1
[root@centos12 stress-1.0.4]#
原文:http://blog.51cto.com/guanhaizhan/2064174