Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.1.11 не собирается на Solari s 10 SPARC
On 20.12.2011, at 19:47, saken wrote:
> здравствуйте.
>
> пытаюсь собрать по Solaris 10 SPARC
> PCRE & OpenSSL установлены в /opt/local
В Solaris /bin/sh старый и не posix-compliant,
поэтому замените /bin/sh в первой строчке configure на
/usr/xpg4/bin/sh
>
> bash-3.2$ CC="cc" ./configure --prefix=/opt/local/nginx
> --with-cpu-opt="sparc64" --with-http_ssl_module --with-cc-opt="-I
> /opt/local/include" --with-ld-opt="-L /opt/local/lib -R /lib -R /usr/lib
> -R /opt/local/lib"
> checking for OS
> + SunOS 5.10 sun4u
> checking for C compiler ... found
> + using Sun C compiler
> + Sun C version: 5.12 SunOS_sparc 2011/11/16
> checking for --with-ld-opt="-L /opt/local/lib -R /lib -R /usr/lib -R
> /opt/local/lib" ... found
> checking for gcc builtin atomic operations ... not found
> checking for C99 variadic macros ... found
> checking for gcc variadic macros ... found
> checking for unistd.h ... found
> checking for inttypes.h ... found
> checking for limits.h ... found
> checking for sys/filio.h ... found
> checking for sys/param.h ... found
> checking for sys/mount.h ... found
> checking for sys/statvfs.h ... found
> checking for crypt.h ... found
> checking for SunOS specific features
> checking for sendfilev() ... found
> checking for event ports ... found
> checking for nobody group ... found
> checking for poll() ... found
> checking for /dev/poll ... found
> checking for kqueue ... not found
> checking for crypt() ... found
> checking for F_READAHEAD ... not found
> checking for posix_fadvise() ... not found
> checking for O_DIRECT ... not found
> checking for F_NOCACHE ... not found
> checking for directio() ... found
> checking for statfs() ... not found
> checking for statvfs() ... found
> checking for dlopen() ... found
> checking for sched_yield() ... not found
> checking for sched_yield() in librt ... found
> checking for SO_SETFIB ... not found
> checking for SO_ACCEPTFILTER ... not found
> checking for TCP_DEFER_ACCEPT ... not found
> checking for TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT ... not found
> checking for accept4() ... not found
> checking for int size ... 4 bytes
> checking for long size ... 8 bytes
> checking for long long size ... 8 bytes
> checking for void * size ... 8 bytes
> checking for uint64_t ... found
> checking for sig_atomic_t ... found
> checking for sig_atomic_t size ... 4 bytes
> checking for socklen_t ... found
> checking for in_addr_t ... found
> checking for in_port_t ... found
> checking for rlim_t ... found
> checking for uintptr_t ... uintptr_t found
> checking for system endianess ... big endianess
> checking for size_t size ... 8 bytes
> checking for off_t size ... 8 bytes
> checking for time_t size ... 8 bytes
> checking for setproctitle() ... not found
> checking for pread() ... found
> checking for pwrite() ... found
> checking for sys_nerr ... not found
> checking for _sys_nerr ... not found
> checking for maximum errno ... found
> checking for localtime_r() ... found
> checking for posix_memalign() ... not found
> checking for memalign() ... found
> checking for mmap(MAP_ANON|MAP_SHARED) ... found
> checking for mmap("/dev/zero", MAP_SHARED) ... found
> checking for System V shared memory ... found
> checking for POSIX semaphores ... not found
> checking for POSIX semaphores in libpthread ... not found
> checking for POSIX semaphores in librt ... found
> checking for struct msghdr.msg_control ... not found
> checking for ioctl(FIONBIO) ... found
> checking for struct tm.tm_gmtoff ... not found
> checking for struct dirent.d_namlen ... not found
> checking for struct dirent.d_type ... not found
> checking for PCRE library ... found
> checking for OpenSSL library ... found
> checking for zlib library ... found
> creating objs/Makefile
> ./configure: test: argument expected
>
> bash-3.2$ make
> make: Fatal error: Don't know how to make target `build'
>
> bash-3.2$ make -f objs/Makefile
> "src/core/nginx.c", line 1034: undefined symbol: NGX_USER
> "src/core/nginx.c", line 1034: improper pointer/integer combination: arg
> #1
> "src/core/nginx.c", line 1036: syntax error before or at: NGX_USER
> "src/core/nginx.c", line 1041: improper pointer/integer combination: op
> "="
> "src/core/nginx.c", line 1045: undefined symbol: NGX_GROUP
> "src/core/nginx.c", line 1045: improper pointer/integer combination: arg
> #1
> "src/core/nginx.c", line 1047: syntax error before or at: NGX_GROUP
> cc: acomp failed for src/core/nginx.c
> make: Fatal error: Command failed for target `objs/src/core/nginx.o'
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?21,220311,220311#msg-220311
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|