Török Edwin wrote: > Roberto Ullfig wrote: > >> We use a binary repository in blah/local/blah. In the past I would set >> prefix and install to this location. This is no longer possible with >> 0.92.1 (maybe 0.92 also). >> >> export prefix=blah/local/blah >> make -e install >> ... >> ... >> libtool: install: error: cannot install `libclamunrar_iface.la' to a >> directory not ending in /usr/local/lib >> >> Is there a way to get around this restriction? >> >> >> > > Use DESTDIR, see also: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=746 > > Best regards, > --Edwin > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://lurker.clamav.net/list/clamav-users.html > This won't work for us. This creates a usr hierarchy starting under DESTDIR.
The installation needs to go into directories like this: /mnt/aaa/bbb/local/ccc/ddd/bin /mnt/aaa/bbb/local/ccc/ddd/lib etc... This used to work fine by just setting the prefix. I think I got around the problem by commenting out the 4 lines in clamav's libtool where the test is made. I then had to run the make install twice but everything seems to be in place. libtool: # if test "$inst_prefix_dir" = "$destdir"; then # $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 # exit $EXIT_FAILURE # fi -- Roberto Ullfig - [EMAIL PROTECTED] _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html