编译Tengine,


download了下taobao开源的tengine,make时有2个error,不过修改objs/MakeFile配置文件,已编译成功,查看所增加的module,发现可真不少了,如下:

root@ubuntu:/home/gavin/programs# /opt/tengine/sbin/nginx -V
Tengine version: Tengine/1.2.0 (nginx/1.0.10)
built by gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
configure arguments: --prefix=/opt/tengine --with-openssl=../openssl-1.0.0e --with-pcre=../pcre-8.13 --add-module=../nginx_upload_module-2.2.0 --add-module=../masterzen-nginx-upload-progress-module-436ec80
compiled in modules:
    ngx_core_module
    ngx_errlog_module
    ngx_conf_module
    ngx_events_module
    ngx_event_core_module
    ngx_epoll_module
    ngx_http_module
    ngx_http_core_module
    ngx_http_log_module
    ngx_http_upstream_module
    ngx_http_static_module
    ngx_http_autoindex_module
    ngx_http_index_module
    ngx_http_auth_basic_module
    ngx_http_access_module
    ngx_http_limit_zone_module
    ngx_http_limit_req_module
    ngx_http_geo_module
    ngx_http_map_module
    ngx_http_split_clients_module
    ngx_http_referer_module
    ngx_http_rewrite_module
    ngx_http_proxy_module
    ngx_http_fastcgi_module
    ngx_http_uwsgi_module
    ngx_http_scgi_module
    ngx_http_memcached_module
    ngx_http_empty_gif_module
    ngx_http_browser_module
    ngx_http_upstream_ip_hash_module
    ngx_http_upload_module
    ngx_http_write_filter_module
    ngx_http_header_filter_module
    ngx_http_chunked_filter_module
    ngx_http_range_header_filter_module
    ngx_http_gzip_filter_module
    ngx_http_postpone_filter_module
    ngx_http_ssi_filter_module
    ngx_http_charset_filter_module
    ngx_http_userid_filter_module
    ngx_http_footer_filter_module
    ngx_http_uploadprogress_module
    ngx_http_headers_filter_module
    ngx_http_copy_filter_module
    ngx_http_range_body_filter_module
    ngx_http_not_modified_filter_module

 能有的module基本都有了,再看看我之前项目中所编译的nginx的配置吧!

root@ubuntu:/home/gavin/programs# /opt/nginx-1.0.8/sbin/nginx -V
nginx: nginx version: nginx/1.0.8
nginx: built by gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
nginx: configure arguments: --prefix=/opt/nginx-1.0.8 --with-openssl=../openssl-1.0.0e --with-pcre=../pcre-8.13 --add-module=../nginx_upload_module-2.2.0 --add-module=../masterzen-nginx-upload-progress-module-436ec80
 

 

淘宝增加的很多module,不过有一些还不清楚是啥,具体的官方文档也没有找到。

注:

在编译时,需要pcre 及openssl模块

 

相关内容

    暂无相关文章