[原]nginx在Slackware 11.0下的编译安装
Posted by bianbian on 2007-09-16 00:24
configure就不说了,make的时候提示:
objs/src/event/ngx_event.o(.text+0xdbc): In function `ngx_event_init_conf’:src/event/ngx_event.c:1140: warning: warning: epoll_create is not implemented and will always fail
objs/src/event/modules/ngx_epoll_module.o(.text+0×1cc): In function `ngx_epoll_add_event’:src/event/modules/ngx_epoll_module.c:250: warning: warning: epoll_ctl is not implemented and will always fail
objs/src/event/modules/ngx_epoll_module.o(.text+0×416): In function `ngx_epoll_process_events’:src/event/modules/ngx_epoll_module.c:402: warning: warning: epoll_wait is not implemented and will always fail
epoll是高性能网络io,居然不被系统支持,我明明用的是2.6.17的内核。于是make menuconfig,到 General setup / Configure standard kernel features 发现’Enable event poll’ 是关闭的,于是启用。
然后重新编译内核:
make bzImage
make modules
make modules_install
cp System.map /boot/
cp arch/i386/boot/bzImage /boot/vmlinuz
lilo
reboot
话说,Slackware 12.0都出来几个月了,改天我要去装一下。^_^
标签: nginx, slackware, 编译遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道
September 16th, 2007 at 07:29:57
给你装了相关主题了