GNU bug report logs -
#16972
Incorrect check for library target directory when relinking
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
I'm really baffled by this message:
> /home/thilo/code/libtool-2.4.2/libtool --mode=install install net.la
/home/thilo/code/usr/lib/sercom/sercomctl/
> libtool: install: error: cannot install `net.la' to a directory not ending
in /home/thilo/code/usr/lib/sercom/sercomctl/
I'm installing to exactly that directory and it's complaining! Looks like this
check is wrong, starting from line 3399 in libtool:
# Don't allow the user to place us outside of our expected
# location b/c this prevents finding dependent libraries that
# are installed to the same prefix.
# At present, this check doesn't affect windows .dll's that
# are installed into $libdir/../bin (currently, that works fine)
# but it's something to keep an eye on.
test "$inst_prefix_dir" = "$destdir" && \
func_fatal_error "error: cannot install \`$file' to a directory not ending in
$libdir"
so basically, if $inst_prefix_dir and $destdir are equal, it throws an error?
Are you sure it shouldn't be || instead of &&?
--
Beste regards,
Thilo Schulz
This bug report was last modified 11 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.