This may be misleading but the corresponding snippet from the "make
install" for 0.95.2 is:
make[3]: Entering directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[4]: Entering directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/email/clamav-0.95.2/libclamav/lzma'
make[3]: Leaving directory `/root/email/clamav-0.95.2/libclamav/lzma'
Making install in .
make[3]: Entering directory `/root/email/clamav-0.95.2/libclamav'
make[4]: Entering directory `/root/email/clamav-0.95.2/libclamav'
test -z "/usr/local/lib/" || /bin/mkdir -p "/usr/local/lib/"
/bin/sh ../libtool --mode=install /usr/bin/install -c
'libclamunrar.la' '/usr/local/lib//libclamunrar.la'
libtool: install: /usr/bin/install -c .libs/libclamunrar.so.6.0.4
/usr/local/lib//libclamunrar.so.6.0.4
libtool: install: (cd /usr/local/lib/ && { ln -s -f
libclamunrar.so.6.0.4 libclamunrar.so.6 || { rm -f libclamunrar.so.6 &&
ln -s libclamunrar.so.6.0.4 libclamunrar.so.6; }; })
libtool: install: (cd /usr/local/lib/ && { ln -s -f
libclamunrar.so.6.0.4 libclamunrar.so || { rm -f libclamunrar.so && ln
-s libclamunrar.so.6.0.4 libclamunrar.so; }; })
libt
see that the call to libtool has a different argument list, in the case
of 0.95.2 only libclamunrar.la whereas for 0.95.3 it is libclamunrar.la
libclamunrar_iface.la libclamav.la. For 0.95.2 the second two libraries
are installed individually, is it this bundling that is causing the
problem? If only I understood advanced Makefiles I might stand a chance
of making this change...
FAS
Francis Stevens wrote:
I'm trying to install 0.95.3 on a RedHat system currently running 0.95.2
and am getting the following error from "make install"
make[4]: Entering directory `/root/email/clamav-0.95.3/libclamav'
test -z "/usr/local/lib/" || /bin/mkdir -p "/usr/local/lib/"
/bin/sh ../libtool --mode=install /usr/bin/install -c libclamunrar.la
libclamunrar_iface.la libclamav.la '/usr/local/lib/'
libtool: install: /usr/bin/install -c .libs/libclamunrar.so.6.0.5
/usr/local/lib/libclamunrar.so.6.0.5
libtool: install: (cd /usr/local/lib && { ln -s -f libclamunrar.so.6.0.5
libclamunrar.so.6 || { rm -f libclamunrar.so.6 && ln -s
libclamunrar.so.6.0.5 libclamunrar.so.6; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libclamunrar.so.6.0.5
libclamunrar.so || { rm -f libclamunrar.so && ln -s
libclamunrar.so.6.0.5 libclamunrar.so; }; })
libtool: install: /usr/bin/install -c .libs/libclamunrar.lai
/usr/local/lib/libclamunrar.la
libtool: install: error: cannot install `libclamunrar_iface.la' to a
directory not ending in /usr/local/lib/
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/email/clamav-0.95.3/libclamav'
make: *** [install-recursive] Error 1
I can't make out why it is failing, after the failure /usr/local/lib
contains:
libclamunrar.la
libclamunrar.so.6.0.5
libclamunrar.so
libclamunrar.so.6
the "make" didn't return any errors and I can reinstall 0.95.2 without
problems (using "make install").
Does anyone have any ideas what the problem might be?
FAS
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml