[sane-devel] Build system issues.
m. allan noah
kitno455 at gmail.com
Fri Feb 27 01:50:48 UTC 2009
> Just tried to reproduce this. Configured 1.0.19 and the CVS snapshot
> of 2009-02-26 with --prefix=/tmp/sane, built and installed.
> Installing the snapshot over 1.0.19 results in:
>
> -rwxr-xr-x 1 olaf olaf 875 2009-02-27 10:21 libsane-fujitsu.la
> lrwxrwxrwx 1 olaf olaf 24 2009-02-27 10:21 libsane-fujitsu.so -> libsane-fujitsu.so.1.1.0
> lrwxrwxrwx 1 olaf olaf 24 2009-02-27 10:21 libsane-fujitsu.so.1 -> libsane-fujitsu.so.1.1.0
> -rwxr-xr-x 1 olaf olaf 244142 2009-02-27 10:18 libsane-fujitsu.so.1.0.19
> -rwxr-xr-x 1 olaf olaf 296770 2009-02-27 10:21 libsane-fujitsu.so.1.1.0
>
> for all backends from the snapshot that were built. Re-installing
> 1.0.19 on top of that gives:
>
> -rwxr-xr-x 1 olaf olaf 1013 2009-02-27 10:23 libsane-fujitsu.la
> lrwxrwxrwx 1 olaf olaf 25 2009-02-27 10:23 libsane-fujitsu.so -> libsane-fujitsu.so.1.0.19
> lrwxrwxrwx 1 olaf olaf 24 2009-02-27 10:23 libsane-fujitsu.so.1 -> libsane-fujitsu.so.1.1.0
> -rwxr-xr-x 1 olaf olaf 244142 2009-02-27 10:23 libsane-fujitsu.so.1.0.19
> -rwxr-xr-x 1 olaf olaf 296770 2009-02-27 10:21 libsane-fujitsu.so.1.1.0
>
> Repeatedly installing one version over the other does not cause any
> differences in the above.
>
> I've also tried installing the snapshot after I wiped all the links with
>
> find /tmp/sane/lib/sane -type l | xargs rm
>
> but that resulted in the first list, i.e. all symlinks pointing to the
> snapshot's backends.
>
> Allan: Could you provide a log of `make install -C backends` _after_
> you remove the '--silent' option from the libtool invocation?
Actually chris asked for this previously, but it looks correct:
/bin/sh ../libtool --mode=install /usr/bin/install -c
'libsane-fujitsu.la' '/usr/lib/sane/libsane-fujitsu.la'
/usr/bin/install -c .libs/libsane-fujitsu.so.1.1.0
/usr/lib/sane/libsane-fujitsu.so.1.1.0
(cd /usr/lib/sane && { ln -s -f libsane-fujitsu.so.1.1.0
libsane-fujitsu.so.1 || { rm -f libsane-fujitsu.so.1 && ln -s
libsane-fujitsu.so.1.1.0 libsane-fujitsu.so.1; }; })
(cd /usr/lib/sane && { ln -s -f libsane-fujitsu.so.1.1.0
libsane-fujitsu.so || { rm -f libsane-fujitsu.so && ln -s
libsane-fujitsu.so.1.1.0 libsane-fujitsu.so; }; })
/usr/bin/install -c .libs/libsane-fujitsu.lai /usr/lib/sane/libsane-fujitsu.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/sane
Now here's the crazy thing, if i go and run those commands directly,
they work properly, and both links are updated.
allan
--
"The truth is an offense, but not a sin"
More information about the sane-devel
mailing list