Build Frustrations

Paul Schmehl pauls at utdallas.edu
Mon Nov 19 22:48:05 PST 2007


--On November 19, 2007 10:17:18 PM -0500 "Dan Mahoney, System Admin" 
<danm at prime.gushi.org> wrote:
>
> *headdesk, repeatedly*
>
> Apache2 is a complete piece of crap.  "Portable Runtime" my ass.  Was
> there something so wrong with APACI?  Apache1.3 built out of the box on
> every system in the world.
>
I understand you may be frustrated right now, but really, this is a bit 
over the top.  I just upgrade to apache2.2 and it runs just fine.  I doubt 
seriously I'm the only person running it on FreeBSD.

> Using ports is no better.  And again, I'll take anything anyone can
> offer to explain half this behavior:
>
Easily explained....

> prime# make PREFIX=/usr/local/apache2-fa WITH_MPM=worker
> ===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/perl5.8.8 -
> found
> ===>   apache-worker-2.2.6_2 depends on file:
> /usr/local/bin/autoconf-2.61 - not found
> ===>    Verifying install for /usr/local/bin/autoconf-2.61 in
> /usr/ports/devel/autoconf261
> ===>   Returning to build of apache-worker-2.2.6_2
> ===>   apache-worker-2.2.6_2 depends on file: /usr/local/bin/libtool -
> found
> ===>   apache-worker-2.2.6_2 depends on shared library: expat.6 - found
> ===>   apache-worker-2.2.6_2 depends on shared library: iconv.3 - found
> ===>  Configuring for apache-worker-2.2.6_2
> found apr source: srclib/apr
> found apr-util source: srclib/apr-util
> rebuilding srclib/apr/configure
> buildconf: checking installation...
> buildconf: autoconf not found.
>             You need autoconf version 2.50 or newer installed
>             to build APR from SVN.

See this?  It's telling you what's wrong.  You need autoconf 2.50 or 
better.

> ./buildconf failed for apr
> *** Error code 1
>
> Stop in /usr/ports/www/apache22.
> *** Error code 1
>
> Stop in /usr/ports/www/apache22.
> prime#
>
> ls /var/db/pkg | grep auto
> autoconf-2.13.000227_5
> autoconf-2.59_2
> autoconf-2.61
> autoconf-2.61_2
> autoconf-wrapper-20071109
> automake-1.10
> automake-1.4.6_2
> automake-1.9.6
>
ls /var/db/pkg/ | grep auto
autoconf-2.61_2
autoconf-wrapper-20071109
automake-1.4.6_4
automake-wrapper-20071109

Notice a difference?  Uninstall all the previous versions so your system 
isn't totally confused and fubared.  Or run pkgdb -F and watch what 
happens.

Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/



More information about the freebsd-questions mailing list