Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2010 10:40:36 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Dylan Leigh <dleigh@internode.on.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: devel/apr1 upgrade fails with Xcc/etc errors ...
Message-ID:  <alpine.BSF.2.00.1006031037060.75550@hub.org>
In-Reply-To: <20100603123255.GA72458@clarence.dleigh.ath.cx>
References:  <alpine.BSF.2.00.1006021253420.75550@hub.org> <20100603123255.GA72458@clarence.dleigh.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Jun 2010, Dylan Leigh wrote:

> On Wed, Jun 02, 2010 at 01:02:11PM -0300, Marc G. Fournier wrote:
>> X--mode=compile: not found
>> *** Warning: inferring the mode of operation is deprecated.: not found
>> *** Future versions of Libtool will require --mode=MODE be specified.: not
>> found
>> Xcc: not found
>> X-g: not found
>> X-O2: not found
>> X-DHAVE_CONFIG_H: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/usr/local/include: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: not
>> found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>> found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I./include/arch/unix: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>> found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
>> X-c: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> Xpasswd/apr_getpass.lo: not found
>> libtool: compile: cannot determine name of library object from `': not
>> found
>
> I got the same errors. As I only need apr for Subversion I was able to
> work around it by editing the subversion makefile to use apr0. The svn
> port will use apr0 if ${APACHE_VERSION} > 20, but if 2+ or no apache
> is installed it insists on apr1.

I've tried to build apr1 on a few different boxes, and get the same 
errors, so I suspect its a relatively common problem ... the weird thing 
I'm finding is I can't find even where Xcc (or similar) is being defined:

ams# cd /home/ports/usr/ports/devel/apr1/work
ams# grep -r Xcc .
ams# grep -r Xcc /usr/ports/Mk
ams# cd /usr/ports/devel/apr1
ams# grep -r Xcc .

Is it using the wrong libtool?

/bin/sh /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool --silent 
--mode=compile cc -g -O2   -DHAVE_CONFIG_H   -I


----
Marc G. Fournier                        Hub.Org Hosting Solutions S.A.
scrappy@hub.org                                     http://www.hub.org

Yahoo:yscrappy    Skype: hub.org    ICQ:7615664    MSN:scrappy@hub.org



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