nginx-0.1.28. error on FreeBSD 5.3

Alexey Bestciokov proforg at maloletka.ru
Tue May 3 17:39:22 MSD 2005


совсем недавно обсуждали :)
--with-pcre :: set path to PCRE library sources
то есть --with-pcre=/usr/local/lib
значит что в /usr/local/lib должны лежать сорцы pcre

если prce установлена,
то нужно сказать где живут её хедеры: --with-cc-opt="-I  /usr/include/pcre"
если configure сам их не находит


RE> # ./configure --prefix=/opt/ngnix --with-pcre=/usr/local/lib
RE> checking for unistd.h ... found
RE> checking for inttypes.h ... found
RE> checking for limits.h ... found
RE> checking for sys/filio.h ... found
RE> checking for C compiler ... using GNU C compiler
RE>  + gcc version: 3.4.2 [FreeBSD] 20040728
RE> checking for gcc -pipe switch ... found
RE> checking for gcc variadic macros ... found
RE> checking for C99 variadic macros ... found
RE> checking for OS
RE>  + FreeBSD 5.3-RELEASE i386
RE>  + using sendfile()
RE>  + using kqueue
RE>  + using kqueue's NOTE_LOWAT
RE> checking for nobody group ... found
RE> checking for poll() ... found
RE> checking for /dev/poll ... not found
RE> checking for zlib library ... found
RE> checking for int size ... 4 bytes
RE> checking for long size ... 4 bytes
RE> checking for long long size ... 8 bytes
RE> checking for void * size ... 4 bytes
RE> checking for uint64_t ... found
RE> checking for sig_atomic_t ... found
RE> checking for sig_atomic_t size ... 4 bytes
RE> checking for socklen_t ... found
RE> checking for in_addr_t ... found
RE> checking for in_port_t ... found
RE> checking for rlim_t ... found
RE> checking for uintptr_t ... uintptr_t found
RE> checking for system endianess ... little endianess
RE> checking for size_t size ... 4 bytes
RE> checking for off_t size ... 8 bytes
RE> checking for time_t size ... 4 bytes
RE> checking for setproctitle() ... found
RE> checking for pread() ... found
RE> checking for pwrite() ... found
RE> checking for strerror_r() ... found
RE> checking for gnu style strerror_r() ... found but is not working
RE> checking for localtime_r() ... found
RE> checking for posix_memalign() ... not found
RE> checking for memalign() ... not found
RE> checking for sched_yield() ... found
RE> checking for mmap(MAP_ANON|MAP_SHARED) ... found
RE> checking for mmap("/dev/zero", MAP_SHARED) ... found
RE> checking for System V shared memory ... found
RE> checking for struct msghdr.msg_control ... found
RE> checking for ioctl(FIONBIO) ... found
RE> checking for struct tm.tm_gmtoff ... found

RE> Configuration summary
RE>   + threads are not used
RE>   + using PCRE library: /usr/local/lib
RE>   + OpenSSL library is not used
RE>   + md5 library is not used
RE>   + using system zlib library

RE>   nginx path prefix: "/opt/ngnix"
RE>   nginx binary file: "/opt/ngnix/sbin/nginx"
RE>   nginx configuration file: "/opt/ngnix/conf/nginx.conf"
RE>   nginx pid file: "/opt/ngnix/logs/nginx.pid"
RE>   nginx error log file: "/opt/ngnix/logs/error.log"
RE>   nginx http access log file: "/opt/ngnix/logs/access.log"
RE>   nginx http client request body temporary files:
RE> "/opt/ngnix/client_body_temp"
RE>   nginx http proxy temporary files: "/opt/ngnix/proxy_temp"
RE>   nginx http fastcgi temporary files: "/opt/ngnix/fastcgi_temp"

RE> # make
RE> make -f objs/Makefile
RE> cd /usr/local/lib  && if [ -f Makefile ]; then make distclean; fi
RE> cd /usr/local/lib  && CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -pipe "
RE> ./configure --disable-shared
RE> ./configure: not found
RE> *** Error code 127

RE> Stop in /opt/tmp/nginx-0.1.28.
RE> *** Error code 1

RE> Stop in /opt/tmp/nginx-0.1.28.
RE> #



Алексей Бещёков.
proforg at maloletka.ru






More information about the nginx-ru mailing list