apache installation failed

Srinivasa Kanduru SKanduru at a10networks.com
Fri Dec 14 22:03:17 UTC 2012


Hi Olli,

Finally I got this to work.  The instructions you gave was very useful.

Thanks again !

Regards,
Srinivas.


> -----Original Message-----
> From: olli hauer [mailto:ohauer at gmx.de]
> Sent: Wednesday, December 12, 2012 4:37 AM
> To: apache at FreeBSD.org
> Cc: Srinivasa Kanduru
> Subject: Re: apache installation failed
> 
> On 2012-12-12 11:28, Srinivasa Kanduru wrote:
> > Hi Olli,
> >
> > Thanks for the quick response.  I have added three packages under net for
> TAHI testing.  I did configuration for that as well.  Do I have to reinstall and re-
> configure them as well ?
> >
> > I was wondering if that is not required if basic perl modules will not change
> with the new ports package.  Please advice.
> >
> > Thanks again.
> > Regards,
> > Srinivas.
> >
> 
> Hi Srinivas,
> 
> hard to tell since I don't know where the the files are located
> (/usr/local/lib/perl5/5.12.x, /usr/local/lib/perl5/site_perl/5.12.x
> or somewhere else if not from the ports system)
> 
> Hint:
> If you go with ports and do a 'make configure' inside a port, the configuration
> will be saved in /var/db/ports/$portname/options and reused the next time
> you build the port. You don't have to configure the port again except config
> options inside the port Makefile was changed.
> 
> --
> Regards,
> olli
> 
> 
> 
> 
> >
> >> -----Original Message-----
> >> From: olli hauer [mailto:ohauer at gmx.de]
> >> Sent: Wednesday, December 12, 2012 2:23 AM
> >> To: apache at FreeBSD.org
> >> Cc: Srinivasa Kanduru
> >> Subject: Re: apache installation failed
> >>
> >> 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
> > _______________________________________________
> > freebsd-apache at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-apache
> > To unsubscribe, send any mail to "freebsd-apache-
> unsubscribe at freebsd.org"
> >
> >


More information about the freebsd-apache mailing list