{"thread":{"id":"32325","subject":"[BUG] Hardcoded python and install on solaris","startedAt":"2012-12-12T22:34:39Z","lastAt":"2012-12-12T23:08:21Z","messageCount":2,"participants":["P Fudd","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"204796","messageId":"1870c3d3587281b436cddb33cca1e822.squirrel@www.pkts.ca","threadId":"32325","inReplyTo":null,"subject":"[BUG] Hardcoded python and install on solaris","fromName":"P Fudd","fromEmail":"pfudd@mailinator.com","sentAt":"2012-12-12T22:34:39Z","receivedAt":"2012-12-12T22:34:39Z","isPatch":false,"sender":{"key":"pfudd@mailinator.com","avatar":null},"body":"Hi;\n\nWhen compiling git-1.8.0.2 on a moderately old OpenIndiana machine, I had\nto install a few things (m4, autoconf, coreutils, xz, python).\n\nEven though I started the configuration fresh (make distclean; configure),\nthe makefile still wanted to use /usr/bin/python (instead of\n/usr/local/bin/python) and /usr/usb/install (instead of\n/usr/local/bin/install).\n\nThanks for a great SCM!\n"},{"id":"204801","messageId":"7v1ueu3m3e.fsf@alter.siamese.dyndns.org","threadId":"32325","inReplyTo":"1870c3d3587281b436cddb33cca1e822.squirrel@www.pkts.ca","subject":"Re: [BUG] Hardcoded python and install on solaris","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-12-12T23:08:21Z","receivedAt":"2012-12-12T23:08:21Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"P Fudd\" <pfudd@mailinator.com> writes:\n\n> When compiling git-1.8.0.2 on a moderately old OpenIndiana machine, I had\n> to install a few things (m4, autoconf, coreutils, xz, python).\n>\n> Even though I started the configuration fresh (make distclean; configure),\n> the makefile still wanted to use /usr/bin/python (instead of\n> /usr/local/bin/python) and /usr/usb/install (instead of\n> /usr/local/bin/install).\n\nYou need to specify PYTHON_PATH on the build command line, something\nlike:\n\n    $ make PYTHON_PATH=/usr/local/bin/python\n    $ make PYTHON_PATH=/usr/local/bin/python install\n\nWe don't really rely on configure, and it sometimes is the case\nwhere ./configure output does not know some knobs you can tweak in\nthe Makefile, but this one is not.\n\nI think you can use --with-python=/usr/local/bin/python when running\nthe ./configure script.  ./configure --help may tell you more about\nwhat you can tweak.\n"}]}