FreeBSD Port: devel/apr1

Abello, Vinny Vinny_Abello at dell.com
Thu Jun 3 23:59:21 UTC 2010


FYI - I was able to properly resolve this without all of that work. I found I had leftover libtool15 files in /usr/local/bin and /usr/local/share/. I removed these and all the build problems I was having are now resolved. I was also running into similar problems with a handful of other ports since I last emailed and this helped me narrow it down more to a libtool conflict. Whatever process I went through in the past to upgrade libtool must not have cleaned up the old version or I didn't read something somewhere to remove the old files.

Thanks again for your help!

-Vinny

On Jun 3, 2010, at 2:08 AM, Philip M. Gollucci wrote:

> Your system is in a bad state indicitive of devel/libtool22 errors or 
> other auto* tool errors.
> 
> I would suggest deinstalling most of your packages, verify /usr/local/ 
> is clean by hand
> 
> THEN and only THEN
> 
> install things again.
> 
> This bug has nothing to do with the devel/apr[01] ports themselves.
> 
> 
> On 06/02/10 21:14, Abello, Vinny wrote:
>> Hello,
>> 
>> 
>> 
>> I'm having a horrible time with devel/apr1 on one of my FreeBSD systems. I'm
>> currently running FreeBSD 6.4-RELEASE i386. I just upgraded it from a build
>> of 6.2 thinking that was the problem but no luck.
>> 
>> 
>> 
>> Basically, I tried to upgrade Apache22 to the latest build to fix a security
>> vulnerability and devel/apr1 will not compile no matter what I try. I get
>> the following error consistently no matter how I try to compile it and I've
>> recompiled libtool and various other things I can't remember now. I found
>> one other person having this problem but no clear way to fix it. Here is my
>> make output:
>> 
>> 
>> 
>> ===>   Building for apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1
>> 
>> cd /usr/ports/devel/apr1/work/apr-1.4.2; /usr/bin/env SHELL=/bin/sh
>> NO_LINT=YES ACLOCAL=/usr/local/bin/aclocal-1.9
>> AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=19
>> AUTOCONF=/usr/local/bin/autoconf-2.62
>> AUTOHEADER=/usr/local/bin/autoheader-2.62
>> AUTOIFNAMES=/usr/local/bin/ifnames-2.62
>> AUTOM4TE=/usr/local/bin/autom4te-2.62
>> AUTORECONF=/usr/local/bin/autoreconf-2.62
>> AUTOSCAN=/usr/local/bin/autoscan-2.62
>> AUTOUPDATE=/usr/local/bin/autoupdate-2.62 AUTOCONF_VERSION=262
>> LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize
>> LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 PREFIX=/usr/local
>> LOCALBASE=/usr/local X11BASE=/usr/local  MOTIFLIB="-L/usr/local/lib -lXm
>> -lXp" LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -fno-strict-aliasing -pipe"
>> CXX="c++" CXXFLAGS="-O2 -fno-strict-aliasing -pipe"  MANPREFIX="/usr/local"
>> BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"
>> BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"
>> BSD_INSTALL_DATA="install  -o root -g wheel -m 444"
>> BSD_INSTALL_MAN="install  -o root -g wheel -m 444" make
>> 
>> /bin/sh /usr/ports/devel/apr1/work/apr-1.4.2/libtool --silent --mode=compile
>> cc -g -O2   -DHAVE_CONFIG_H    -I./include
>> -I/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix
>> -I./include/arch/unix
>> -I/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix
>> -I/usr/ports/devel/apr1/work/apr-1.4.2/include  -o passwd/apr_getpass.lo -c
>> passwd/apr_getpass.c&&  touch passwd/apr_getpass.lo
>> 
>> 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
>> 
>> /usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: not found
>> 
>> /usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not found
>> 
>> /usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include/arch/unix: not
>> found
>> 
>> /usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not found
>> 
>> /usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
>> 
>> X-c: not found
>> 
>> /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
>> 
>> *** Error code 1
>> 
>> 
>> 
>> Stop in /usr/ports/devel/apr1/work/apr-1.4.2.
>> 
>> *** Error code 1
>> 
>> 
>> 
>> Stop in /usr/ports/devel/apr1/work/apr-1.4.2.
>> 
>> *** Error code 1
>> 
>> 
>> 
>> Stop in /usr/ports/devel/apr1.
>> 
>> *** Error code 1
>> 
>> 
>> 
>> Stop in /usr/ports/devel/apr1.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Version info:
>> 
>> 
>> 
>> engbox# uname -a
>> 
>> FreeBSD engbox.tellurian.net 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Jun  2
>> 01:55:41 EDT 2010     root at engbox.tellurian.net:/usr/obj/usr/src/sys/GENERIC
>> i386
>> 
>> 
>> 
>> All config options are defaults.
>> 
>> 
>> 
>> Any direction you can provide in helping me fix this would be greatly
>> appreciated. I have no issues compiling this on other FreeBSD boxes that I
>> have running newer versions of FreeBSD. I was considering bringing the box
>> up to 8.0 (which I was going to do eventually anyway) but wasn't sure if
>> that would even fix the error or is related to the problem. Poking around
>> and trying to determine the cause of the problem is unfortunately beyond my
>> skill set.
>> 
>> 
>> 
>> Thanks!
>> 
>> 
>> 
>> Vinny Abello
>> 
>> Network Engineer
>> 
>> Dell | Physician Services
>> 
>> office +1 973 940 6125
>> 
>> mobile +1 973 868 0610
>> 
>> vinny_abello at dell.com
>> 
>> 
>> 
> 
> 
> -- 
> ------------------------------------------------------------------------
> 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
> Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
> VP Apache Infrastructure; Member, Apache Software Foundation
> Committer,                        FreeBSD Foundation
> Consultant,                       P6M7G8 Inc.
> Sr. System Admin,                 Ridecharge Inc.
> 
> Work like you don't need the money,
> love like you'll never get hurt,
> and dance like nobody's watching.



More information about the freebsd-apache mailing list