[Patches] [ python-Patches-434008 ] sharedinstall must use $prefix
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 17 Jun 2001 15:01:09 -0700
Patches item #434008, was updated on 2001-06-17 15:01
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=434008&group_id=5470
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gregor Hoffleit (flight)
Assigned to: Nobody/Anonymous (nobody)
Summary: sharedinstall must use $prefix
Initial Comment:
In the sharedinstall target of the Makefile, we have to
provide setup.py with the $prefix variable. Currently,
the $prefix is ignored in this call of setup.py, in
this leads to strange results:
When called with "make install
prefix=/tmp/python/debian/tmp" (which is used in
packaging Python, and works completely fine otherwise),
we get this (running this is non-root user):
copying
build/lib.linux-i686-2.1/linuxaudiodev.so->/data/src/debian/python2-2.1/debian/tmp/usr/lib/python2.1/lib-dynload
running install_scripts
copying build/scripts/pydoc -> /usr/bin
error: /usr/bin/pydoc: Read-only file system
make[1]: *** [sharedinstall] Error 1
make[1]: Leaving directory `/data/src/debian/python2-2.1'
make: *** [install-stamp] Error 2
The same kind of problem occurs with all other things
that are installed by the call of the setup.py script.
The attached patch cures this problem by providing the
$prefix to the setup.py script. I think this is the
correct way to fix it.
Gregor
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=434008&group_id=5470