From owner-freebsd-ports@FreeBSD.ORG Mon May 22 23:43:08 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7803F16A6EF for ; Mon, 22 May 2006 23:43:08 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BC3643D48 for ; Mon, 22 May 2006 23:43:07 +0000 (GMT) (envelope-from beech@alaskaparadise.com) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id 739945D24; Mon, 22 May 2006 15:43:07 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 Received: from [192.168.241.104] (7-137-58-66.gci.net [66.58.137.7]) by pinnacle.akherb.com (Postfix) with ESMTP id CED5D5CBF for ; Mon, 22 May 2006 15:43:04 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-ports@freebsd.org Date: Mon, 22 May 2006 15:43:00 -0800 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605221543.02228.beech@alaskaparadise.com> Subject: Help with configure.in X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 May 2006 23:43:08 -0000 I'm working on a fix for proftpd. The developer sent me the following patch for configure.in: --- configure.in Thu Mar 9 09:12:35 2006 +++ configure.in Mon May 22 15:01:23 2006 @@ -161,12 +161,14 @@ [ if test "$withval" != "no" ; then LIB_OBJS="$LIB_OBJS getopt.o getopt1.o" - AC_CHECK_FUNCS(getopt) + AC_CHECK_FUNCS(getopt getopt_long) + AC_CHECK_HEADERS(getopt.h) fi ], [ LIB_OBJS="$LIB_OBJS getopt.o getopt1.o" - AC_CHECK_FUNCS(getopt) + AC_CHECK_FUNCS(getopt getopt_long) + AC_CHECK_HEADERS(getopt.h) ]) dnl Modules...'nuff said. @@ -850,7 +852,7 @@ ac_build_static_modules="modules/mod_cap.o $ac_build_static_modules" fi -AC_CHECK_HEADERS(ctype.h getopt.h crypt.h bstring.h iconv.h inttypes.h langinfo.h limits.h) +AC_CHECK_HEADERS(ctype.h crypt.h bstring.h iconv.h inttypes.h langinfo.h limits.h) AC_CHECK_HEADERS(string.h strings.h stropts.h) AC_CHECK_HEADERS(sys/file.h sys/mman.h sys/types.h sys/uio.h) @@ -1110,7 +1112,7 @@ ) AC_CHECK_FUNCS(getcwd getenv gethostbyname2 gethostname getnameinfo) -AC_CHECK_FUNCS(getopt_long gettimeofday hstrerror inet_aton inet_ntop inet_pton) +AC_CHECK_FUNCS(gettimeofday hstrerror inet_aton inet_ntop inet_pton) AC_CHECK_FUNCS(memcpy mempcpy mkdir mkstemp mlock mlockall munlock munlockall) AC_CHECK_FUNCS(rmdir select setgroups socket statfs strchr strcoll strerror) AC_CHECK_FUNCS(strsep strtol strtoull setprotoent setspent endprotoent) I added the patch with a version check for 4.x in the makefile.The patch applies cleanly, but now when it gets to the build stage it bails with the following: ===> Building for proftpd-1.3.0_2 cd . && autoconf autoconf: not found gmake: *** [configure] Error 127 *** Error code 2 What am I doing wrong? Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------