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

Re: cannot find library libgmsh.so.4.4 needed by ...



On Fri, Jul 19, 2019 at 03:53:55AM -0400, Nico Schlömer wrote:
> >> debian/rules has
> >> ```
> >> DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> >> ```
> >> so I thought (on respective machines), {DEB_HOST_MULTIARCH} equals
> >> x86_64-linux-gnu. Not the case?
> > No substitutions is done on debhelper config files, unless you use
> > dh-exec, and you disabled that.
> 
> Just for clarity: debian/rules is a "debhelper config file"?
No.

> How did I disable dh-exec? I is that because I unset the executable bit on
> the .install file?
Yes.

> (This looked like a mistake really
You've seen the shebangs in the files, so you could guess they should be
executable.

> and I haven't found documentation on that either.)
It's in debhelper(7), "Executable debhelper config files", and as the
files have dh-exec in the shebang, in dh-exec(1).

> I had always thought of debian/rules like a Makefile, and thought that when
> I put
> ```
> DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
> ```
> there, all ${DEB_HOST_MULTIARCH} get replaced by the rhs expression.
But only in the makefile itself, not random text files read by various
programs executed by that makefile.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: