git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Hardcoded python and install on solaris
@ 2012-12-12 22:34 P Fudd
  2012-12-12 23:08 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: P Fudd @ 2012-12-12 22:34 UTC (permalink / raw)
  To: git

Hi;

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

Thanks for a great SCM!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] Hardcoded python and install on solaris
  2012-12-12 22:34 [BUG] Hardcoded python and install on solaris P Fudd
@ 2012-12-12 23:08 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2012-12-12 23:08 UTC (permalink / raw)
  To: P Fudd; +Cc: git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-12 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 22:34 [BUG] Hardcoded python and install on solaris P Fudd
2012-12-12 23:08 ` Junio C Hamano

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