git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] Hardcoded python and install on solaris

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 12, 2012, 23:08 UTC
Message-ID
<7v1ueu3m3e.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1870c3d3587281b436cddb33cca1e822.squirrel@www.pkts.ca>
"P Fudd" <pfudd@mailinator.com> writes:
Show 7 quoted lines
> When compiling git-1.8.0.2 on a moderately old OpenIndiana machine, I had
> to install a few things (m4, autoconf, coreutils, xz, python).
>
> Even though I started the configuration fresh (make distclean; configure),
> the makefile still wanted to use /usr/bin/python (instead of
> /usr/local/bin/python) and /usr/usb/install (instead of
> /usr/local/bin/install).

You need to specify PYTHON_PATH on the build command line, something like:

    $ make PYTHON_PATH=/usr/local/bin/python
    $ make PYTHON_PATH=/usr/local/bin/python install

We don't really rely on configure, and it sometimes is the case where ./configure output does not know some knobs you can tweak in the Makefile, but this one is not.

I think you can use --with-python=/usr/local/bin/python when running the ./configure script. ./configure --help may tell you more about what you can tweak.

Previous: P Fudd
Message 2 of 2 in “[BUG] Hardcoded python and install on solaris”
  1. P FuddDec 12, 2012
  2. Junio C HamanoDec 12, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.