| From: | James William Pye <flaw(at)rhid(dot)com> |
|---|---|
| To: | Joe Conway <mail(at)joeconway(dot)com> |
| Cc: | "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: x86_64 configure problem |
| Date: | 2004-09-09 19:28:53 |
| Message-ID: | 1094758132.487.107.camel@localhost |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
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(at)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marc G. Fournier | 2004-09-09 20:05:53 | tablespace question ... pg vs oracle |
| Previous Message | Joe Conway | 2004-09-09 18:17:36 | x86_64 configure problem |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | James William Pye | 2004-09-09 20:14:23 | Re: x86_64 configure problem |
| Previous Message | Laurent Ballester | 2004-09-09 18:19:14 | contrib/dbase |