apache installation failed
olli hauer
ohauer at gmx.de
Wed Dec 12 10:22:54 UTC 2012
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 at 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 at 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
More information about the freebsd-apache
mailing list