git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "P Fudd" <pfudd@mailinator.com>
Cc: git@vger.kernel.org
Subject: Re: [BUG] Hardcoded python and install on solaris
Date: Wed, 12 Dec 2012 15:08:21 -0800	[thread overview]
Message-ID: <7v1ueu3m3e.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <1870c3d3587281b436cddb33cca1e822.squirrel@www.pkts.ca> (P. Fudd's message of "Wed, 12 Dec 2012 14:34:39 -0800")

"P Fudd" <pfudd@mailinator.com> writes:

> 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.

      reply	other threads:[~2012-12-12 23:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 22:34 [BUG] Hardcoded python and install on solaris P Fudd
2012-12-12 23:08 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7v1ueu3m3e.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=pfudd@mailinator.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).