[Xapian-discuss] PHP bindings Debian/Ubuntu packaging wiki page does not mention ~

Olly Betts olly at survex.com
Wed Jan 28 03:54:58 GMT 2015


On Wed, Jan 28, 2015 at 12:55:43AM -0000, Yannick Warnier wrote:
> On http://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package, it doesn't
> say where the commands should be executed.
> For some reason, if a user executes them from /tmp/ on Ubuntu trusty, the
> following error message is returned and prevents the packaging to work (at
> the env ... debian/rules line):
> 
> env: debian/rules: Permission denied

I suspect you have /tmp mounted noexec.  I don't have a trusty machine
handy to check, but I'm told that's the default on Ubuntu utopic.

Building software under /tmp is probably unwise in general - it's a tmpfs
on many systems.

> However, executed from the home directory (or one of its subdirectories),
> everything works like a charm...
> 
> I'd like to ask you to update the wiki to mention it, so it's faster for
> me next time :-)

It's a wiki - you don't have to ask others to change it for you.

Cheers,
    Olly



More information about the Xapian-discuss mailing list