You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sa...@daimler.com on 2014/09/05 20:19:55 UTC

[users@httpd] Apache multiple installations

Greeting Experts

I'm trying for second apache installation under a different directory on same server. However the make install command fails with the below error where I can see its point to the first install directory. I do have prefix mentioned to a new directory for second installation. I did search the forum archives but couldn't find any. Please advise.

First install dir: /application/Apache2.2.27/HTTP
Second Install dir: /application/Apache2.2.27/HTTPSM


Errors:
/usr/bin/install -c -m 644 build/apr_rules.out /application/Apache2.2.27/HTTPSM/build/apr_rules.mk
/usr/bin/install -c -m 755 apr-config.out /application/Apache2.2.27/HTTPSM/bin/apr-1-config
make[2]: Leaving directory `/var/tmp/httpd-2.2.27/srclib/apr'
Making install in apr-util
make[2]: Entering directory `/var/tmp/httpd-2.2.27/srclib/apr-util'
Making all in xml/expat
make[3]: Entering directory `/var/tmp/httpd-2.2.27/srclib/apr-util/xml/expat'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/httpd-2.2.27/srclib/apr-util/xml/expat'
make[3]: Entering directory `/var/tmp/httpd-2.2.27/srclib/apr-util'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/var/tmp/httpd-2.2.27/srclib/apr-util'
/var/tmp/httpd-2.2.27/srclib/apr/build/mkdir.sh /application/Apache2.2.27/HTTPSM/include /application/Apache2.2.27/HTTPSM/lib/pkgconfig \
                     /application/Apache2.2.27/HTTPSM/lib /application/Apache2.2.27/HTTPSM/bin
for f in /var/tmp/httpd-2.2.27/srclib/apr-util/include/*.h /var/tmp/httpd-2.2.27/srclib/apr-util/include/*.h; do \
                /usr/bin/install -c -m 644 ${f} /application/Apache2.2.27/HTTPSM/include; \
        done
/usr/bin/install -c -m 644 apr-util.pc /application/Apache2.2.27/HTTPSM/lib/pkgconfig/apr-util-1.pc
list='xml/expat'; for i in $list; do \
                ( cd $i ; make DESTDIR= install ); \
        done
make[3]: Entering directory `/var/tmp/httpd-2.2.27/srclib/apr-util/xml/expat'
/bin/sh ./conftools/mkinstalldirs /application/Apache2.2.27/HTTPSM/lib /application/Apache2.2.27/HTTPSM/include
/bin/sh ./libtool  --mode=install /usr/bin/install -c libexpat.la /application/Apache2.2.27/HTTPSM/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.so.0.5.0 /application/Apache2.2.27/HTTPSM/lib/libexpat.so.0.5.0
(cd /application/Apache2.2.27/HTTPSM/lib && { ln -s -f libexpat.so.0.5.0 libexpat.so.0 || { rm -f libexpat.so.0 && ln -s libexpat.so.0.5.0 libexpat.so.0; }; })
(cd /application/Apache2.2.27/HTTPSM/lib && { ln -s -f libexpat.so.0.5.0 libexpat.so || { rm -f libexpat.so && ln -s libexpat.so.0.5.0 libexpat.so; }; })
/usr/bin/install -c .libs/libexpat.lai /application/Apache2.2.27/HTTPSM/lib/libexpat.la
/usr/bin/install -c .libs/libexpat.a /application/Apache2.2.27/HTTPSM/lib/libexpat.a
chmod 644 /application/Apache2.2.27/HTTPSM/lib/libexpat.a
ranlib /application/Apache2.2.27/HTTPSM/lib/libexpat.a
libtool: install: warning: remember to run `libtool --finish /application/Apache2.2.27/HTTP/lib'
/usr/bin/install -c -m 644 ./lib/expat.h /application/Apache2.2.27/HTTPSM/include
make[3]: Leaving directory `/var/tmp/httpd-2.2.27/srclib/apr-util/xml/expat'
/bin/sh /var/tmp/httpd-2.2.27/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /application/Apache2.2.27/HTTPSM/lib
libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /application/Apache2.2.27/HTTP/lib
make[2]: *** [install] Error 1
make[2]: Leaving directory `/var/tmp/httpd-2.2.27/srclib/apr-util'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/httpd-2.2.27/srclib'
make: *** [install-recursive] Error 1
[root@qw3qicvdl003 httpd-2.2.27]#


Regards
Sathya


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.