|
From: Soren A. <so...@bl...> - 2007-12-07 14:52:28
|
On Thu, 6 Dec 2007 15:35:44 +0200 "Benno Senoner" wrote:
> the only minor thing that does not work yet (as in libgig) is the
> make install not installing the created DLL in the destination dir
{snip}
> --------
> /bin/sh ../mkinstalldirs /usr/local/bin
> /bin/install
> -c .libs/linuxsampler.exe /usr/local/bin/linuxsampler.exe
{snip}
> base_file=`basename ${file}`
> dlpath=`/bin/sh 2>&1 -c '. .libs/'${base_file}'i;echo $dlname'`
> dldir=/usr/local/lib/linuxsampler/`dirname $dlpath`
> test -d $dldir || mkdir -p $dldir
> /bin/install -c .libs/liblinuxsampler-1.dll
> $dldir/liblinuxsampler-1.dll /bin/install
> -c .libs/liblinuxsampler.lai /usr/local/lib/linuxsampler/liblinuxsampler.la
> ----------------------------------------------------------------------
> Libraries have been installed in: /usr/local/lib/linuxsampler
> -------------
>
> is this is due to dldir not set correctly ?
> since the correct installation path is /usr/local/lib/linuxsampler
> so I assume it should be empty ?
I cannot tell *what* $dldir is set to from the above. *Where* is the
"liblinuxsampler-1.dll" being installed to? Can you locate the file
after the install script runs?
In any case, this appears to be a build infrastructure that will result
in a broken installation for users. If as it appears might be the case,
the liblinuxsampler-1.dll file is being placed in
"/usr/local/lib/linuxsampler", then users are not going to have such a
directory in their PATH ($PATH, %PATH%). So there will be an error when
running the .exe is attempted.
A typical _viable_ plan for an application package like this one would
have the DLL (liblinuxsampler-1.dll) being installed to the same
location as the application .exe (in this case, "/usr/local/bin").
Regards,
Soren Andersen
----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3
|