configure error while configure
Igor Sysoev
is at rambler-co.ru
Thu Aug 20 18:10:06 MSD 2009
On Thu, Aug 20, 2009 at 09:41:46AM -0400, dawson wrote:
> while i configure the nginx-0.7.39 , I found the error .what should i do ?
> I configure the other version of nginx , but the same error occur .Is there anyone could provide the useful information .
> Thank you!
>
>
> root at u15353017 nginx-0.7.39]# ./configure --user=webuser --group=webuser --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-md5=/usr/lib --with-sha1=/usr/lib --with-http_gzip_static_module
> checking for OS
> + Linux 2.6.30rootserver-20090525a x86_64
> checking for C compiler ... found
> + using GNU C compiler
> + gcc version: 4.1.2 20080704 (Red Hat 4.1.2-44)
> checking for gcc -pipe switch ... found
> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found
> checking for unistd.h ... found
> checking for inttypes.h ... found
> checking for limits.h ... found
> checking for sys/filio.h ... not found
> checking for crypt.h ... found
> checking for Linux specific features
> auto/os/linux: line 20: 2*256*256+6*256+30rootserver: value too great for base (error token is "30rootserver")
> # cd ..
Try the attached patch.
--
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
Index: auto/os/linux
===================================================================
--- auto/os/linux (revision 2353)
+++ auto/os/linux (working copy)
@@ -18,7 +18,7 @@
# Linux kernel version
version=$((`uname -r \
- | sed 's/^\([^.]*\)\.\([^.]*\)\.\([^.-]*\).*/\1*256*256+\2*256+\3/'`))
+ | sed 's/^\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1*256*256+\2*256+\3/'`))
version=${version:-0}
More information about the nginx
mailing list