Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2004 13:00:52 GMT
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/72999: www/nginx does not compile when PREFIX= used
Message-ID:  <200410221300.i9MD0qSI035076@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/72999; it has been noted by GNATS.

From: Alexandr Kovalenko <never@nevermind.kiev.ua>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/72999: www/nginx does not compile when PREFIX= used
Date: Fri, 22 Oct 2004 16:00:13 +0300

 Hello, Alexandr Kovalenko!
 
 On Fri, Oct 22, 2004 at 03:37:30PM +0300, you wrote:
 
 > 
 > >Number:         72999
 > >Category:       ports
 > >Synopsis:       www/nginx does not compile when PREFIX= used
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    freebsd-ports-bugs
 > >State:          open
 > >Quarter:        
 > >Keywords:       
 > >Date-Required:
 > >Class:          sw-bug
 > >Submitter-Id:   current-users
 > >Arrival-Date:   Fri Oct 22 12:40:23 GMT 2004
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Alexandr Kovalenko
 > >Release:        FreeBSD 5.2.1-RELEASE-p9 i386
 > >Organization:
 > Mirotel ISP, Kiev, Ukraine, http://mirotel.net/
 > >Environment:
 > System: FreeBSD xxx.ua 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Mon Aug 16 15:54:11 EEST 2004     root@xxx.ua:/usr/obj/usr/src/sys/xxxx  i386
 > Latest ports.
 > 
 > >Description:
 > bash-2.05b# make clean
 > ===>  Cleaning for libtool-1.5.10
 > ===>  Cleaning for pcre-5.0
 > ===>  Cleaning for nginx-0.1.2
 > bash-2.05b# make PREFIX=/usr/local/nginx
 > ===>  Extracting for nginx-0.1.2
 > >How-To-Repeat:
 > cd /usr/ports/www/nginx && make PREFIX=/usr/local/nginx
 > >Fix:
 > N/A
 
 Port maintainer misused PREFIX, should be LOCALBASE instead
 
 Apply following patch:
 
 --- Makefile.orig	Fri Oct 22 15:55:58 2004
 +++ Makefile	Fri Oct 22 15:56:22 2004
 @@ -23,8 +23,8 @@
  HAS_CONFIGURE=	yes
  CONFIGURE_ENV+=	LINK="${CC}"
  CONFIGURE_ARGS=	--prefix=${PREFIX}/etc/nginx \
 -		--with-cc-opt="-I ${PREFIX}/include" \
 -		--with-ld-opt="-L ${PREFIX}/lib" \
 +		--with-cc-opt="-I ${LOCALBASE}/include" \
 +		--with-ld-opt="-L ${LOCALBASE}/lib" \
  		--conf-path=${PREFIX}/etc/nginx/nginx.conf \
  		--sbin-path=${PREFIX}/sbin/nginx \
  		--pid-path=${RUNDIR}/nginx.pid \
 
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 >  >> Checksum OK for nginx-0.1.2.tar.gz.
 >  ===>  Patching for nginx-0.1.2
 >  ===>  Applying FreeBSD patches for nginx-0.1.2
 >  ===>   nginx-0.1.2 depends on shared library: pcre.0 - found
 >  ===>  Configuring for nginx-0.1.2
 >  checking for unistd.h ... found
 >  checking for inttypes.h ... found
 >  checking for limits.h ... found
 >  checking for sys/filio.h ... found
 >  checking for C compiler ... using GNU C compiler
 >  checking for gcc variadic macros ... found
 >  checking for C99 variadic macros ... found
 >  checking for OS
 >   + FreeBSD 5.2.1-RELEASE-p9 i386
 >   + using sendfile()
 >   + using kqueue
 >   + using kqueue's NOTE_LOWAT
 >  checking for /dev/poll ... not found
 >  checking for PCRE library ... not found
 >  checking for zlib library ... found
 >  checking for int size ... 4 bytes
 >  checking for int printf() format ... "%d" is appropriate
 >  checking for long size ... 4 bytes
 >  checking for long printf() format ... "%ld" is appropriate
 >  checking for long long size ... 8 bytes
 >  checking for long long printf() format ... "%lld" is appropriate, "%qd" is appropriate
 >  checking for void * size ... 4 bytes
 >  checking for void * printf() format ... "%08X" used
 >  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 off_t size ... 8 bytes
 >  checking for off_t printf() format ... "%lld" used
 >  checking for time_t size ... 4 bytes
 >  checking for time_t printf() format ... "%d" used
 >  checking for size_t size ... 4 bytes
 >  checking for size_t printf() format ... "%d" used
 >  checking for pid_t size ... 4 bytes
 >  checking for pid_t printf() format ... "%d" used
 >  checking for rlim_t size ... 8 bytes
 >  checking for rlim_t printf() format ... "%lld" used
 >  checking for pread() ... found
 >  checking for pwrite() ... found
 >  checking for strerror_r() ... found
 >  checking for gnu_strerror_r() ... found
 >  checking for localtime_r() ... found
 >  checking for posix_memalign() ... not 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
 >  checking for System V shared memory ... found
 >  checking for struct sockaddr_in.sin_len ... found
 >  checking for struct msghdr.msg_control ... found
 >  checking for ioctl(FIONBIO) ... found
 >  checking for struct tm.tm_gmtoff ... found
 >  
 >  Configuration summary
 >    + PCRE library is not found
 >    + md5 library is not used
 >    + OpenSSL library is not used
 >    + using system zlib library
 >  
 >  ./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.
 >  
 >  ===>  Script "configure" failed unexpectedly.
 >  Please report the problem to osa@FreeBSD.org [maintainer] and attach the
 >  "/usr/ports/www/nginx/work/nginx-0.1.2/config.log" including the output of
 >  the failure of your make command. Also, it might be a good idea to provide
 >  an overview of all packages installed on your system (e.g. an `ls
 >  /var/db/pkg`).
 >  *** Error code 1
 >  
 >  Stop in /usr/ports/www/nginx.
 >  
 > _______________________________________________
 > freebsd-ports-bugs@freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
 > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
 
 -- 
 NEVE-RIPE, will build world for food
 Ukrainian FreeBSD User Group
 http://uafug.org.ua/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410221300.i9MD0qSI035076>