A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-January/085119.html below:

... extra slash before $(DESTDIR) ... cygwin install fail

[Python-Dev] issue2233: ... extra slash before $(DESTDIR) ... cygwin install fail [Python-Dev] issue2233: ... extra slash before $(DESTDIR) ... cygwin install failRoumen Petrov bugtrack at roumenpetrov.info
Sat Jan 17 15:34:34 CET 2009
Hi All,

May I ask for a vote how issue to be resolved.
The problem is command "... setup.py install ... --root=/$(DESTDIR)" if
DESTDIR is specified:
error: could not create '//...': No such host or network path

Currently issue http://bugs.python.org/issue2233 propose three solutions:

1) replace "slash before $(DESTDIR)" with "/./" . Lets call solution
"hacky".

2) lets call second one "shell script based":
INSTROOT=$(DESTDIR); test -z "$$INSTROOT" && INSTROOT=/; ... setup.py
install ... --root=$$INSTROOT

3) the third "shell parameter expansion":
... --root=$${DESTDIR-/}
The question for last one is: "So, if a user executes "make DESTDIR=
install", then the build will fail. Or, maybe we shouldn't worry about
that corner case."


Which solution is prefered ? What about other solutions ?


Roumen

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4