Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 11:22:51 +0100
From:      olli hauer <ohauer@gmx.de>
To:        "apache@FreeBSD.org" <apache@FreeBSD.org>
Cc:        Srinivasa Kanduru <SKanduru@a10networks.com>
Subject:   Re: apache installation failed
Message-ID:  <50C85AFB.4070902@gmx.de>
In-Reply-To: <4ACB26D93525C544864D91BE088FDC0D51E260@SJ-MB02.corp.a10networks.com>
References:  <4ACB26D93525C544864D91BE088FDC0D51E260@SJ-MB02.corp.a10networks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-12-12 08:07, Srinivasa Kanduru wrote:> Hello,
> 
> I was trying to setup IPv6 TAHI test-suites on FreeBSD 9.0 for IPv6 conformance certification .
> 
> I got the following error when I was trying to install apache 20 as well as 22 from the ports directory.  The package installer suggested to attach the following information for your perusal.
> 
> I would appreciate if you can let me know if there is anything wrong in my setup.
> 
> Thanks a lot for your help.
> 
> Regards,
> Srinivas.
> 
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to apache@FreeBSD.org [maintainer] and attach the
> "/usr/ports/www/apache20/work/httpd-2.0.64/config.log" including the output
> of the failure of your make command. Also, it might be a good idea to provide
> an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> 
> [root@tahi-ipv6 apache20]#ls /var/db/pkg
> apr-0.9.20.0.9.19                       kbproto-1.0.5
> apr-ipv6-gdbm-db42-1.4.5.1.3.12_1       libiconv-1.13.1_1
> autoconf-2.68                           libsigsegv-2.10
> autoconf-wrapper-20101119               libtool-2.4_1
> automake-1.11.1                         m4-1.4.16,1
> automake-wrapper-20101119               p5-Expect-1.21
> bash-4.1.11                             p5-IO-Tty-1.10
> bison-2.4.3,1                           p5-Locale-gettext-1.05_3
> ct-2.1.2                                pcre-8.20
> db42-4.2.52_5                           perl-5.12.4_3
> elinks-0.11.7_2                         python27-2.7.2_3
> expat-2.0.1_2                           screen-4.0.3_13
> gdbm-1.9.1                              v6eval-3.3.2
> gettext-0.18.1.1                        v6eval-remotes-3.0
> gmake-3.82                              vim-lite-7.3.121
> help2man-1.40.4
> 

Hi Srinivas,

first your ports tree is really outdated, apache20 and apr0 was
removed from the portstree in Aug.

>From your pkg listing I see apr0 and apr1 are installed you have
to remove apr0 first. I suspect you are using the older pkg tools so
the command `pkg_delete -rx apr' should work.

Next
$> cd ports/devel/apr1
$> make config (select at last THREADS, IPV6 and DEVRANDOM)
$> make clean install

$> cd ports/www/apache22/
$> make config
$> make clean install

You apache build was failing because mod_auth_digest failed to build,
but from the log snippet it is not clear to me why.

I highly suggest to update your ports with portsnap and start over with
no ports installed (I suspect you have a fast machine)

To start over do the following.
$> mv /usr/ports /usr/ports.old
$> portsnap fetch
$> portsnap extract
$> mkdir ports/distfiles (so distfiles are placed here and not in the port directory)
$> pkg_delete -a (removes all your installed ports)
$> cd ports/lang/perl5.14 (or perl5.16)
$> make install
$> cd ports/lang/python27
$> make install
$> cd ports/devel/apr1
$> make config (select at last THREADS, IPV6 and DEVRANDOM)
$> make install
$> cd ports/www/apache22
$> make config && make install

--
Regards,
olli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50C85AFB.4070902>