Re: x86_64 configure problem
| От | James William Pye |
|---|---|
| Тема | Re: x86_64 configure problem |
| Дата | |
| Msg-id | 1094758132.487.107.camel@localhost обсуждение исходный текст |
| Ответ на | x86_64 configure problem (Joe Conway <mail@joeconway.com>) |
| Ответы |
Re: x86_64 configure problem
|
| Список | pgsql-hackers |
On Thu, 2004-09-09 at 11:17, Joe Conway wrote:
> On an x86_64 machine I'm finding that I cannot configure --with-python
> without the attached patch. Undoubtedly there is a better way to fix
> this -- any suggestions?
python_configdir=`${PYTHON} -c "from distutils.sysconfig import
get_python_lib as f; import os; print os.path.join(f(plat_specific=1,
standard_lib=1),'config')"`
That should work, regardless of the lib directory that Python is
installed to.
(at least it works on my system):
flaw@void:~ % py -c "from distutils.sysconfig import get_python_lib as
f; import os; print
os.path.join(f(plat_specific=1,standard_lib=1),'config')"
/usr/local/lib/python2.3/config
--
Regards, James William Pye
В списке pgsql-hackers по дате отправления: