libtool: install: error: cannot install `libaprutil-1.la'

Discussion in 'Apache' started by sajan, Nov 27, 2006.

  1. #1
    Hi all,

    The following is the error message i get when i use the
    "make install" command.

    libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache2/lib

    I have done
    "./configure -prefix=/home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache"

    could anyone please explain why this error is coming.

    The error message is attached below..


    /usr/bin/install -c -m 755 /home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr/build/mkdir.sh /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/build
    for f in make_exports.awk make_var_export.awk; do \
    /usr/bin/install -c -m 644 /home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr/build/${f} /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/build; \
    done
    /usr/bin/install -c -m 644 build/apr_rules.out /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/build/apr_rules.mk
    /usr/bin/install -c -m 755 apr-config.out /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/bin/apr-1-config
    make[2]: Leaving directory `/home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr'
    Making install in apr-util
    make[2]: Entering directory `/home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr-util'
    make[3]: Entering directory `/home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr-util'
    make[3]: Nothing to be done for `local-all'.
    make[3]: Leaving directory `/home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr-util'
    /home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr/build/mkdir.sh /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/include /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/lib/pkgconfig \
    /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/lib /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/bin
    for f in /home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr-util/include/*.h /home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr-util/include/*.h; do \
    /usr/bin/install -c -m 644 ${f} /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/include; \
    done
    /usr/bin/install -c -m 644 apr-util.pc /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/lib/pkgconfig/apr-util-1.pc
    list=''; for i in $list; do \
    ( cd $i ; make DESTDIR= install ); \
    done
    /bin/sh /home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /home/webemt/NAA/TOMCAT/APACHE/apache_orig/apache/lib
    libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache2/lib
    make[2]: *** [install] Error 1
    make[2]: Leaving directory `/home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib/apr-util'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/webemt/NAA/TOMCAT/APACHE/apache_orig/httpd-2.2.2/srclib'
    make: *** [install-recursive] Error 1


    Thanx in advance...

    Cheers
     
    sajan, Nov 27, 2006 IP