George nginx-forum at
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:
 * extras:
 * rpmforge:
 * updates:
Installed Packages
libevent.x86_64                                        1.4.13-1.el6     
libevent-devel.x86_64                                  1.4.13-1.el6     

[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',
'-Wl,-Bdynamic', '-lev']
not found 
 error: Traceback (most recent call last):
line 348, in run_c_code
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)
line 104, in prepare

any ideas or tips ?

Posted at Nginx Forum:,216392,216413#msg-216413

More information about the nginx mailing list