[Clamav-users] error in make install libtool: install: `' is not a directory

2010-07-29 Thread Laurent HENRY
Hello, 

 i am using clamav by compiling it from sources.
I am having a 0.96 version compiling and working fine on a Linux Opensuse 11.1 
x64

While trying to install from 0.96.1 sources with this configure:
./configure --with-user=mail --with-group=mail --enable-clamdtop 
--enable-bigstack --sysconfdir=/etc --libdir=/

the make install goes wrong with:
[...]
make[3]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
  GENversion.h.tmp
  GENversion.h
make[4]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
  GENversion.h.tmp
  GENversion.h
test -z / || /bin/mkdir -p /
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libclamunrar.la 
libclamunrar_iface.la libclamav.la '/'
libtool: install: `' is not a directory
libtool: install: Try `libtool --help --mode=install' for more information.
make[4]: *** [install-libLTLIBRARIES] Erreur 1
make[4]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make[3]: *** [install-am] Erreur 2
make[3]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make[2]: *** [install-recursive] Erreur 1
make[2]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make[1]: *** [install] Erreur 2
make[1]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
make: *** [install-recursive] Erreur 1


Does anyone exprienced something similar ?
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Re: [Clamav-users] error in make install libtool: install: `' is not a directory

2010-07-29 Thread Shawn Bakhtiar

Bojoure!

You are referencing root ( / ) as the library directory. Not sure what -libdir 
is for but I am pretty sure you should not be building to the root directory.

Try changing it to --libdir=/usr/lib or --libdir=/usr/local/lib which are the 
traditional locations.

Shawn


 From: laurent.he...@ehess.fr
 To: clamav-users@lists.clamav.net
 Date: Thu, 29 Jul 2010 15:24:32 +0200
 Subject: [Clamav-users] error in make install libtool: install: `' is not a  
 directory
 
 Hello, 
 
  i am using clamav by compiling it from sources.
 I am having a 0.96 version compiling and working fine on a Linux Opensuse 
 11.1 
 x64
 
 While trying to install from 0.96.1 sources with this configure:
 ./configure --with-user=mail --with-group=mail --enable-clamdtop 
 --enable-bigstack --sysconfdir=/etc --libdir=/
 
 the make install goes wrong with:
 [...]
 make[3]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
   GENversion.h.tmp
   GENversion.h
 make[4]: entrant dans le répertoire « /root/clamav-0.96.1/libclamav »
   GENversion.h.tmp
   GENversion.h
 test -z / || /bin/mkdir -p /
  /bin/sh ../libtool   --mode=install /usr/bin/install -c   libclamunrar.la 
 libclamunrar_iface.la libclamav.la '/'
 libtool: install: `' is not a directory
 libtool: install: Try `libtool --help --mode=install' for more information.
 make[4]: *** [install-libLTLIBRARIES] Erreur 1
 make[4]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
 make[3]: *** [install-am] Erreur 2
 make[3]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
 make[2]: *** [install-recursive] Erreur 1
 make[2]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
 make[1]: *** [install] Erreur 2
 make[1]: quittant le répertoire « /root/clamav-0.96.1/libclamav »
 make: *** [install-recursive] Erreur 1
 
 
 Does anyone exprienced something similar ?
 ___
 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