[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
possible bug in install mode for Libtool modules
From: |
Schleicher Ralph (LLI) |
Subject: |
possible bug in install mode for Libtool modules |
Date: |
Mon, 3 Mar 2003 16:40:19 +0100 |
ltmain.sh (GNU libtool) 1.4e (1.1192 2003/02/18 05:15:03)
Hi,
I'm cross compiling Libtool modules for a MinGW host on a HP-UX box.
When running 'make install', I get a strange error message:
/bin/sh ../../libtool --mode=install
/home/raid/cea_adm/hppa2.0w-hp-hpux11.00/bin/install -c cof_0102.la
/home/w3016.5/schleich/tmp/ecs/share/ecs/matlab/6.1/i686-pc-mingw32/cof_0102.la
libtool: install: error: cannot install `cof_0102.la' to a directory not ending
in /home/w3016.5/schleich/tmp/ecs/share/matlab/6.1/i686-pc-mingw32
Well, that's funny because the installation directory actually ends as
requested. Here are the ltmain.in source lines triggering the error:
# 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.
if test "$inst_prefix_dir" = "$destdir"; then
$echo "$modename: error: cannot install \`$file' to a directory not ending in
$libdir" 1>&2
exit 1
fi
For the example above, these lines expand to:
+ test /home/w3016.5/schleich/tmp/ecs/share/ecs/matlab/6.1/i686-pc-mingw32 =
/home/w3016.5/schleich/tmp/ecs/share/ecs/matlab/6.1/i686-pc-mingw32
+ /home/raid/cea_adm/hppa2.0w-hp-hpux11.00/bin/echo libtool: install: error:
cannot install `cof_0102.la' to a directory not ending in
/home/w3016.5/schleich/tmp/ecs/share/matlab/6.1/i686-pc-mingw32
+ 1>& 2
libtool: install: error: cannot install `cof_0102.la' to a directory not ending
in /home/w3016.5/schleich/tmp/ecs/share/matlab/6.1/i686-pc-mingw32
+ exit 1
I'm not sure how to fix the source. What are the side effects if I
negate the test? Any comments would be appreciated.
--
Ralph
- possible bug in install mode for Libtool modules,
Schleicher Ralph (LLI) <=