Fedora configuration problem under Fedora Linux

  

Install apache on fedora8


>tar -zxvf httpd-2.2.8.tar.gz


> ;cd httpd-2.2.8


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


>make

< BR>make the following error, the previous match did not encounter this problem


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 found that it is missing apr & apr-util.


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


>tar -zxvf apr-1.2.12-tar.gz

< BR>>cd apr-1.2.12


& Gt../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


back to apache Compile directory


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


>make


>make install


The problem is solved.

Copyright © Windows knowledge All Rights Reserved