home option ignored on this platform
It seems that my problem with '--prefix' results from Python ignoring the home option. According to the Makefile, 'make install' runs:- running build_scripts /usr/bin/python "U:/unixos2/workdir/Zope-2.7.0/setup.py" install \ --home="/usr/local/zope" --build-base="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3" --build-lib="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-lib" --build-scripts="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-scripts" --build-temp="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-temp" running install warning: ZopeInstall: home option ignored on this platform Where do I find ZopeInstall and why does Python decide to ignore the home option? -- John
John Poltorak wrote at 2004-3-19 22:55 +0000:
/usr/bin/python "U:/unixos2/workdir/Zope-2.7.0/setup.py" install \ --home="/usr/local/zope" --build-base="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3" --build-lib="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-lib" --build-scripts="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-scripts" --build-temp="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-temp" running install warning: ZopeInstall: home option ignored on this platform
Where do I find ZopeInstall and why does Python decide to ignore the home option?
I do not know, but I (at your place) would start to find out by looking into "setup.py". I would use a text editor to search for "ignored on" to find out where this error message is generated. -- Dieter
On Sat, Mar 20, 2004 at 09:16:34PM +0100, Dieter Maurer wrote:
John Poltorak wrote at 2004-3-19 22:55 +0000:
/usr/bin/python "U:/unixos2/workdir/Zope-2.7.0/setup.py" install \ --home="/usr/local/zope" --build-base="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3" --build-lib="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-lib" --build-scripts="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-scripts" --build-temp="U:/unixos2/workdir/Zope-2.7.0/build-base/python-2.3/build-temp" running install warning: ZopeInstall: home option ignored on this platform
Where do I find ZopeInstall and why does Python decide to ignore the home option?
I do not know, but I (at your place) would start to find out by looking into "setup.py". I would use a text editor to search for "ignored on" to find out where this error message is generated.
It actually gets output from Python rather than Zope. I just discoverd this by including the '-v' flag in the Makefile. It seems that Python's Lib/distutils/commands/install.py only allows '--prefix' to work for posix systems, AFAICT.
-- Dieter
-- John
John Poltorak wrote:
It seems that Python's Lib/distutils/commands/install.py only allows '--prefix' to work for posix systems, AFAICT.
sux to be on OS/2? ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Mon, Mar 22, 2004 at 04:34:19PM +0000, Chris Withers wrote:
John Poltorak wrote:
It seems that Python's Lib/distutils/commands/install.py only allows '--prefix' to work for posix systems, AFAICT.
sux to be on OS/2? ;-)
Not really... There are still quite a few good techies using it. All that was needed in this instance was a small change to one of Zope's Makefile.in files to subsitute --prefix for --home and it builds and installs OK.
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
-- John
participants (3)
-
Chris Withers -
Dieter Maurer -
John Poltorak