Opened 18 years ago

Closed 18 years ago

#79 closed defect (invalid)

make install fails - wrong paths

Reported by: John Kraal Owned by: Olly Betts
Priority: high Milestone:
Component: Xapian-bindings Version: 0.9.6
Severity: major Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description

When installing Xapian-bindings in another directory than standard, it fails because of lack of permissions in the wrong directory:

test -z "/usr/lib/python2.4/site-packages"
mkdir -p --

"/usr/lib/python2.4/site-packages"

/usr/bin/install -c -m 644 'modern/xapian.py'

'/usr/lib/python2.4/site-packages/xapian.py' /usr/bin/install: cannot create regular file `/usr/lib/python2.4/site-packages/xapian.py': Permission denied

/usr/bin/install -c -m 644 'xapian.pyc'

'/usr/lib/python2.4/site-packages/xapian.pyc' /usr/bin/install: cannot create regular file `/usr/lib/python2.4/site-packages/xapian.pyc': Permission denied make[4]: * [install-pylibDATA] Error 1 make[4]: Leaving directory `/home/jkl/source/xapian-bindings-0.9.6/python' make[3]: * [install-am] Error 2 make[3]: Leaving directory `/home/jkl/source/xapian-bindings-0.9.6/python' make[2]: * [install-recursive] Error 1 make[2]: Leaving directory `/home/jkl/source/xapian-bindings-0.9.6/python' make[1]: * [install] Error 2 make[1]: Leaving directory `/home/jkl/source/xapian-bindings-0.9.6/python' make: * [install-recursive] Error 1

My prefix was set to /home/jkl/pkg/, So I'd expect it'll install there.

Change History (1)

comment:1 by Olly Betts, 18 years ago

Operating System: Linux
Resolution: invalid
Status: newclosed

Please read the section "Installing without root access" in INSTALL.

Note: See TracTickets for help on using tickets.