Error during "make" after ./configure --with-http_perl_module --with-mail

Winnie lammywinnie at gmail.com
Sat Aug 18 15:41:28 MSD 2007


"./configure --with-http_perl_module --with-mail " shown as below:
many many thx again...
regards,
winnie


checking for OS
 + Linux 2.4.20-8 i686
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
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 Linux specific features
 + rt signals found
checking for epoll ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... not found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... found
checking for zlib library ... found
checking for perl
 + perl version: v5.8.0 built for i386-linux-thread-multi
 + perl interpreter multiplicity found
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 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 ... little endianess
checking for size_t size ... 4 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 4 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for strerror_r() ... found but is not working
checking for gnu style strerror_r() ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for sched_yield() ... 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 struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found

Configuration summary
  + threads are not used
  + using system PCRE library
  + OpenSSL library is not used
  + md5 library is not used
  + sha1 library is not used
  + using system zlib library

  nginx path prefix: "/usr/local/nginx"
  nginx binary file: "/usr/local/nginx/sbin/nginx"
  nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
  nginx pid file: "/usr/local/nginx/logs/nginx.pid"
  nginx error log file: "/usr/local/nginx/logs/error.log"
  nginx http access log file: "/usr/local/nginx/logs/access.log"
  nginx http client request body temporary files: 
"/usr/local/nginx/client_body_
temp"
  nginx http proxy temporary files: "/usr/local/nginx/proxy_temp"
  nginx http fastcgi temporary files: "/usr/local/nginx/fastcgi_temp"

"Jeremy Hinegardner" <jeremy at hinegardner.org> 
???????:20070818082331.GD13531 at hinegardner.org...
> On Sat, Aug 18, 2007 at 11:32:51AM +0400, Igor Sysoev wrote:
>> On Sat, Aug 18, 2007 at 01:27:43AM -0600, Jeremy Hinegardner wrote:
>>
>> > I'm betting that pcre.h is /usr/include/pcre/pcre.h on Redhat 9.  I 
>> > just
>> > finished building nginx on RHEL 4 and that was the case.
>> >
>> > add
>> >
>> >     --with-cc-opt=$(pcre-config --cflags)
>> >
>> > If pcre-config doesn't exist on RH9 then change to
>> >
>> >     --with-cc-opt=-I/usr/include/pcre
>> >
>> > enjoy,
>>
>> nginx configure tests pcre.h in /usr/include/pcre/ so it should work.
>
> I'm using some other options too, maybe there is an unforseen
> side effect, this is a failed build:
>
> 
> http://buildsys.fedoraproject.org/logs/fedora-4-epel/35727-nginx-0.5.31-2.el4/i386/build.log
>
> The configure detects PCRE but compilation fails.  It appears to me that
> the detection of PCRE is not propogated to the compilation or the
> #include isn't munged appropriately or something along those lines is
> not correctly fixed.
>
> I changed the build to effectively have:
>
>    --with-cc-opt=$(pcre-config --cflags) and we have a success
>
> 
> http://buildsys.fedoraproject.org/logs/fedora-4-epel/35729-nginx-0.5.31-3.el4/i386/build.log
>
> Please let me know if I should have done this in a different manner.
>
> enjoy,
>
> -jeremy
>
> -- 
> ========================================================================
> Jeremy Hinegardner 
> jeremy at hinegardner.org
>
>
> 








More information about the nginx mailing list