
Re: configure option --exec-prefix not honored ?
szaka wrote:
It's honored except the binaries.
then in this line that is output by ./configure --help:
Code:
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX]
[PREFIX] should be removed because it wrongly suggests that PREFIX will be the default
szaka wrote:
So --exec-prefix should work.
It's actually true, except for one thing. With --exec-prefix it copies the binaries to the right place, but it tries to do this:
ln -s -f "/mnt/dir/bin/ntfs-3g" "/sbin/mount.ntfs-3g"
(that's why I was mistaken)
apparently that's the only thing that is wrong
I tried setting all the options (--bindir, --sbindir, --libexecdir, ...) but it still wants to make the link to my host instead of to the target.
szaka wrote:
Moreover mount.ntfs-3g MUST BE ALWAYS in /sbin due to the design of the Linux mounting system.
I want mount.ntfs-3g to bin in /sbin but only on the TARGET, not on the HOST where it will just break my system. When you cross compile, you need an intermediate step (first in some temp dir, then at the correct place on the target) because you DON'T want binaries from a different arch being installed or even worse replace your current binaries.