Subject: pkg/13318: www/apache-current doesn't build
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/26/2001 18:29:49
>Number:         13318
>Category:       pkg
>Synopsis:       www/apache-current doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 26 18:28:00 PDT 2001
>Originator:     Koji Kondo
>Release:        NetBSD 1.5.1
NetBSD 1.5.1 NetBSD 1.5.1 (EMAIL) #0: Tue Jun 26 13:46:23 JST 2001 i386

www/apache-current fails to make configure.

% make configure
===> Configuring for apache-2.0.16
loading cache ./config.cache
configuring package in srclib/apr now
loading cache ../.././config.cache
checking host system type... i386--netbsd
checking target system type... i386--netbsd
checking build system type... i386--netbsd
Configuring APR library
Platform: i386--netbsd
Applying APR hints file rules for i386--netbsd
  Adding "-lcrypt" to LIBS
(Default will be unix)
checking for gcc... cc
checking whether the C compiler (cc -O2  -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
configure failed for srclib/apr
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache-current
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache-current
*** Error code 1

make: stopped in /usr/pkgsrc/www/apache-current


% diff -ur Makefile
---        Tue Apr 10 22:19:13 2001
+++ Makefile    Wed Jun 27 10:21:43 2001
@@ -16,7 +16,7 @@
 # autodetect
 BUILD_DEFS+=           USE_INET6
-GNU_CONFIGURE=         # defined
+HAS_CONFIGURE=         # defined
 USE_GMAKE=             yes
 USE_SSL=               yes
 CONFIGURE_ARGS+=       --enable-layout=NetBSD