From owner-freebsd-ports@FreeBSD.ORG Wed May 25 00:49:41 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC3A1106564A for ; Wed, 25 May 2011 00:49:41 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 2E5AF8FC16 for ; Wed, 25 May 2011 00:49:40 +0000 (UTC) Received: (qmail invoked by alias); 25 May 2011 00:49:39 -0000 Received: from u18-124.dslaccess.de (EHLO [172.20.1.100]) [194.231.39.124] by mail.gmx.net (mp030) with SMTP; 25 May 2011 02:49:39 +0200 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX18yI3Menu4yGzQdPrD9yBbUnr/7+DkW89gvo5+0F2 Di8vPo9cJXeAIz Message-ID: <4DDC5224.500@gmx.de> Date: Wed, 25 May 2011 02:49:40 +0200 From: olli hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: "Edwin L. Culp W." References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Greg Larkin , freebsd-ports Subject: Re: I could sure use a way around the strange error I get when trying to update devel/apr on 7.4-STABLE FreeBSD 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: Wed, 25 May 2011 00:49:41 -0000 On 2011-05-24 17:56, Edwin L. Culp W. wrote: > The compile finishes during configuration with: > > checking for minix/config.h... no > checking whether it is safe to define __EXTENSIONS__... yes > checking for library containing strerror... none required > checking whether system uses EBCDIC... no > performing libtool configuration... > ./configure: 9904: Syntax error: word unexpected (expecting ")") > *** Error code 2 > > Stop in /new/usr/local/ports/devel/apr1. > *** Error code 1 > > I posted this about 10 days ago but thought that it would be fixec > with portgrading but it hasn't and the error makes me think there is a > conflict with one of my ports that is out of date or . . . .? > > This is the result of my make showconfig > > /usr/ports/devel/apr1 # make showconfig > ===> The following configuration options are available for > apr-ipv6-devrandom-gdbm-db46-ldap24-1.4.5.1.3.12: > THREADS=on (default) "Enable Threads in apr" > IPV6=on (default) "Enable IPV6 Support in apr" > BDB=on (default) "Enable Berkley BDB support in apr-util" > GDBM=on (default) "Enable GNU dbm support in apr-util" > LDAP=off (default) "Enable LDAP support in apr-util" > MYSQL=off (default) "Enable MySQL suport in apr-util" > NDBM=off (default) "Enable NDBM support in apr-util" > PGSQL=off (default) "Enable Postgresql suport in apr-util" > SQLITE=off (default) "Enable SQLite3 support in apr-util" > DEVRANDOM=on (default) "Use /dev/random or compatible in apr" > > I originally had ldap enabled but removed it for doubts. I obviously > can't compile a new apache22, I'm usinging the older package for now. > > Sorry to post this again but I have spent hours without finding a ray of light. > I think the issue is not apr it's apr-util (both are build togehter in apr1) To verify this. edit the apr1/Makefile so it looks this around line 241: do-build: cd ${APR_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE} # cd ${APU_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE} Then use the commands $> make configure If you see no error, then $> make I suspect also here no errors, now change this lines to do-build: # cd ${APR_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE} cd ${APU_WRKDIR}; ${SETENV} ${MAKE_ENV} ${MAKE} delete only the file .build_done.apr._usr_local $> rm work/.build_done.apr._usr_local and fire the command $> make If the build breaks here it is the configure script of apr-util. Maybe the configure script finds some leftover libs. # head -n 9912 work/apr-util-1.3.12/configure | tail -n 10 fi as_ac_Lib=`$as_echo "ac_cv_lib_${ldaplib}''_ldap_sslinit" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_sslinit in -l${ldaplib}" >&5 $as_echo_n "checking for ldap_sslinit in -l${ldaplib}... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l${ldaplib} ${extralib} $LIBS"