Lewis Coates wrote: > ./configure --prefix=$HOME --enable-tclinterp --enable-pythoninterp > --with-python-config-dir=/usr/local/lib/python2.7/config > --with-features=huge > > > Builds a python whose version responds as python2.6. I am on redhat 6.4 > which has the default python path of 2.6 (the reason I need to compile from > source). > > The relevant configure output is. > > checking --enable-perlinterp argument... no > checking --enable-pythoninterp argument... yes > checking for python2... /usr/bin/python2 > checking Python version... 2.6 > checking Python is 2.3 or better... yep > checking Python's install prefix... /usr > checking Python's execution prefix... /usr > checking Python's configuration directory... (cached) > /usr/local/lib/python2.7/config > checking if -pthread should be used... yes > checking if compile and link flags for Python are sane... yes > checking --enable-python3interp argument... no > checking if -fPIE can be added for Python... yes > checking --enable-tclinterp argument... yes > checking --with-tclsh argument... no > checking for tclsh8.5... /usr/bin/tclsh8.5 > > I did a make distclean before hand.
You can't pick the Python version with the --with-python-config-dir argument. That's only to specify a different configuration directory if configure can't find it. Configure actually always searches for "python2", there currently is no way to specify a different executable name. -- hundred-and-one symptoms of being an internet addict: 50. The last girl you picked up was only a jpeg. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
