Benchmarks

George nginx-forum at nginx.us
Sun Oct 9 06:31:07 UTC 2011


thanks for sharing, trying installing weighttp myself but fails to
install on centos 6.0 64bit

[root at centos6 weighttp-master]# yum list libevent*
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: centos.vr-zone.com
 * extras: centos.vr-zone.com
 * rpmforge: apt.sw.be
 * updates: centos.vr-zone.com
Installed Packages
libevent.x86_64                                        1.4.13-1.el6     
                            @anaconda-CentOS-201106060106.x86_64/6.0
libevent-devel.x86_64                                  1.4.13-1.el6     
                            @base                                   

[root at centos6 weighttp-master]# python -V
Python 2.7.2

[root at centos6 weighttp-master]# ./waf configure -vv
Checking for program gcc,cc              : ok /usr/bin/gcc 
Checking for program cpp                 : ok /usr/bin/cpp 
Checking for program ar                  : ok /usr/bin/ar 
Checking for program ranlib              : ok /usr/bin/ranlib 
Checking for gcc                         : ok  
Checking for library ev                  : 16:29:51 runner system
command -> ['/usr/bin/gcc', '-std=gnu99', '-Wall', '-Wshadow', '-W',
'-pedantic', '-g', '-g2', '-O2', '-Wmissing-declarations',
'-Wdeclaration-after-statement', '-Wno-pointer-sign', '-Wcast-align',
'-Winline', '-Wsign-compare', '-Wnested-externs', '-Wpointer-arith',
'-Wbad-function-cast', '-Wmissing-prototypes', '-fPIC',
'-fno-strict-aliasing', '../test.c', '-c', '-o', 'default/test_1.o']
16:29:51 runner system command -> ['/usr/bin/gcc', 'default/test_1.o',
'-o',
'/usr/local/src/weighttp-master/build/.conf_check_0/testbuild/default/testprog',
'-Wl,-Bdynamic', '-lev']
not found 
 error: Traceback (most recent call last):
  File
"/usr/local/src/weighttp-master/.waf-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Tools/config_c.py",
line 348, in run_c_code
    bld.compile()
  File
"/usr/local/src/weighttp-master/.waf-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Build.py",
line 169, in compile
    raise BuildError(self,self.task_manager.tasks_done)
BuildError: Build failed
 -> task failed (err #1): 
        {task: cc_link test_1.o -> testprog}

  File "./waf", line 148, in <module>
        Scripting.prepare(t, cwd, VERSION, wafdir)
  File
"/usr/local/src/weighttp-master/.waf-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Scripting.py",
line 104, in prepare
        error(str(e))

any ideas or tips ?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,216392,216413#msg-216413



More information about the nginx mailing list