Re: binreloc need not detected on some new distro

"Isak Savo" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Thu, May 22, 2008 at 11:23 PM, Bruno Coudoin <[email protected]> wrote:
>
> I have been reported problem on Suse and Mandriva 2008.1.
>
> When a rpm is build binreloc is auto disabled.
>
> I am not sure it's the issue but I found out that binreloc.m4 checks
> "$libexecdir" = '${exec_prefix}/libexec but on Mandriva the configure
> passes --libexecdir=/usr/lib
>
> Is this a known issue ?

Well, its known in the sense that we knew it could happen. And in
fact, that macro is doing what it's supposed to do :)

See, binreloc is basing everything upon the single truth that all
files are inside known directories relative to the binary. If mandriva
passes a "non-standard" libexecdir to configure, binreloc will not be
able to correctly determine the libexecdir (it will just return
$prefix/libexec).

That said, if your program does not need to locate stuff in libexec,
you should just override it by either removing the --libexecdir
argument or use --enable-binreloc (I hope that works! Otherwise we
should add a --enable-binreloc=force or something). I recommend
getting rid of the --libexecdir argument...

-Isak

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.