An error occurred while configuring Apache in Fedora8

Source: Internet
Author: User
Install apache>tar-zxvfhttpd-2.2.8.tar.gz & gt; cdhttpd-2.2.8 & gt; on fedora8 ;. /configure -- prefix =/usr/local/httpd & gt; the following error occurs during makemake. The configuration has never encountered this problem before libtool: link: 'passwd/apr_getpass.lo' isnot

Install apache on Fedora 8

> Tar-zxvf httpd-2.2.8.tar.gz

> Cd httpd-2.2.8

>./Configure -- prefix =/usr/local/httpd

> Make

The following error occurs during make. I have never encountered this problem before.

Libtool: link: 'passwd/apr_getpass.lo' is not a valid libtool object
Make [3]: *** [libapr-1.la] Error 1
Make [3]: Leaving directory '/root/httpd-2.2.8/srclib/apr'
Make [2]: *** [all-recursive] Error 1
Make [2]: Leaving directory '/root/httpd-2.2.8/srclib/apr'
Make [1]: *** [all-recursive] Error 1
Make [1]: Leaving directory '/root/httpd-2.2.8/srclib'
Make: *** [all-recursive] Error 1

Later, we found that apr & apr-util was missing.

Go to http://apr.apache.org/the latest apr-1.2.12-tar.gzand apr-util-1.2.12.tar.gz

> Tar-zxvf apr-1.2.12-tar.gz

> Cd apr-1.2.12

>./Configure -- prefix =/usr/local/apr-httpd/

> Make & make install

> Tar-zxvf apr-util-1.2.12-tar.gz

> Cd apr-util-1.2.12

>./Configure -- prefix =/usr/local/apr-util-httpd/-- with-apr =/usr/local/apr-httpd/

> Make & make install

Go back to the apache compilation directory

>. /Configure -- prefix =/usr/local/httpd/-- with-apr =/usr/local/apr-httpd/-- with-apr-util =/usr/local/apr- util-httpd/

> Make

> Make install

Solve the problem.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.