Re: build-sys: how to install pylibmount after libmount?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 03, 2014 at 03:52:50PM +0200, Ruediger Meier wrote:
> Hi,
> 
> This should be easy to reproduce if you don't have a global installed 
> libmount.
> 
> $ sudo mkdir /usr/lib64/away
> $ sudo mv /usr/lib64/libmount.* /usr/lib64/away
> 
> $ ./configure --disable-use-tty-group \
> 	--prefix=/tmp/dest \

 Just note, it's usually bad idea to override the default prefix
 (especially for package like util-linux), it's better to use 
 standard prefix and use "make install  DESTDIR=/tmp/dest".

> Unfortunately some systems set per default
>   link_all_deplibs=no
> instead of "unknown" in ./libtool. Don't know whether this is a bug in 
> libtool or automake macros. But we could work around this if we would 
> make sure to install pylibmount always after libmount.
> 
> This is how it looks in Makefile.in:
> install-exec-am: install-binPROGRAMS install-dist_usrbin_execSCRIPTS \
>         install-pylibmountexecLTLIBRARIES \
>         install-pylibmountexecSCRIPTS install-sbinPROGRAMS \
>         install-usrbin_execPROGRAMS install-usrlib_execLTLIBRARIES \
>         install-usrsbin_execPROGRAMS
>         @$(NORMAL_INSTALL)
>         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
> 
> How could we force to put
>   install-pylibmountexecLTLIBRARIES
> after
>   install-usrlib_execLTLIBRARIES

hmm.. I don't know, I think it's libtool job to generate the right order.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux