[MacPorts] #22161: Nginx does not build on SL

MacPorts noreply at macports.org
Mon Oct 19 06:41:24 PDT 2009


#22161: Nginx does not build on SL
----------------------------+-----------------------------------------------
 Reporter:  hwr@…           |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  1.8.1                                
 Keywords:                  |        Port:                                       
----------------------------+-----------------------------------------------
 sh-3.2# port install nginx
 --->  Computing dependencies for nginx
 --->  Fetching nginx
 --->  Attempting to fetch nginx-0.7.59.tar.gz from
 http://arn.se.distfiles.macports.org/nginx
 --->  Verifying checksum(s) for nginx
 --->  Extracting nginx
 --->  Applying patches to nginx
 --->  Configuring nginx
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_nginx/work/nginx-0.7.59"
 && ./configure --prefix=/opt/local --with-cc-opt="-I/opt/local/include
 -O2" --with-ld-opt="-L/opt/local/lib" --conf-
 path=/opt/local/etc/nginx/nginx.conf --error-log-
 path=/opt/local/var/log/nginx/error.log --http-log-
 path=/opt/local/var/log/nginx/access.log --pid-
 path=/opt/local/var/run/nginx/nginx.pid --lock-
 path=/opt/local/var/run/nginx/nginx.lock --http-client-body-temp-
 path=/opt/local/var/run/nginx/client_body_temp --http-proxy-temp-
 path=/opt/local/var/run/nginx/proxy_temp --http-fastcgi-temp-
 path=/opt/local/var/run/nginx/fastcgi_temp " returned error 1
 Command output: checking for setproctitle() ... not found
 checking for pread() ... found
 checking for pwrite() ... found
 checking for strerror_r() ... found
 checking for gnu style strerror_r() ... found but is not working
 checking for localtime_r() ... found
 checking for posix_memalign() ... found
 checking for memalign() ... not found
 checking for sched_yield() ... found
 checking for mmap(MAP_ANON|MAP_SHARED) ... found
 checking for mmap("/dev/zero", MAP_SHARED) ... found but is not working
 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
 checking for struct dirent.d_namlen ... found
 checking for struct dirent.d_type ... found

 Configuration summary
   + PCRE library is not found
   + OpenSSL library is not used
   + md5 library is not found
   + sha1 library is not used
   + zlib library is not found

 ./configure: error: the HTTP rewrite module requires the PCRE library.
 You can either disable the module by using --without-http_rewrite_module
 option, or install the PCRE library into the system, or build the PCRE
 library
 statically from the source with nginx by using --with-pcre=<path> option.


 Error: Status 1 encountered during processing.
 sh-3.2#

-- 
Ticket URL: <http://trac.macports.org/ticket/22161>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list