Re: [Zope] Building ZPyGreSQLDA on Linux
Let me try again, does any of you guys have a "config" subfolder inside your /usr/lib/python1.5/ folder? I guess the "config" subfolder maybe an feature from the old python1.5, because in the new python1.5.2 there is no such a folder. Also, in an error like: make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. Is it complaining that the config/Makefile cannot be made? Or is it complainig that the Makefile cannot be found? It the Makefile a target or a source in this particular case? That is, is the "config" folder to be generated, or is it supposed to be there from a start? I guess RedHat Python RPMs set up folder structures very differently from the plain source files build of Python. I am using the source file build of Python and there is no "config" folders anywhere. Contacted the author of ZPyGreSQLDA but so far no response... Hung Jung
From: "Hung Jung Lu" <hungjunglu@hotmail.com> To: cobrien@Radix.Net, hungjunglu@hotmail.com, phd@phd.russ.ru, zope@zope.org Subject: Re: [Zope] Building ZPyGreSQLDA on Linux Date: Fri, 26 May 2000 22:38:41 PDT
From: "Cary O'Brien" <cobrien@Radix.Net> Ok, the build procedure can't find the Makefile supplied by the standard python install (the python-development package if you are installing via RPMS). It looks as if you have python installed in /u/c2/hjlu/lwc_zope... rather than /usr/local/... or something like that. Either the Makefile is missing, or the build procedure is looking in the wrong place.
Does any of you know where to obtain the Python-dev files? I searched all over www.python.org but could not find anything on Python-dev. I am not using RPMs, I just download source directly from www.python.org.
regards,
Hung Jung
________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Hung Jung Lu wrote:
Let me try again, does any of you guys have a "config" subfolder inside your /usr/lib/python1.5/ folder?
Yes. For the record (RedHat 6.1): [dt@nipnyep dt]$ ls /usr/lib/python1.5/config/ Makefile Setup.local config.c.in makesetup Makefile.pre.in Setup.thread install-sh python.o Setup config.c libpython1.5.a
I guess the "config" subfolder maybe an feature from the old python1.5, because in the new python1.5.2 there is no such a folder.
There should be _if you built your python from source_, or have the python development RPMS installed (if you're on a platform that supports RPMS - adjust to taste). The config folder contains all the details of building a new python runtime (or shared library module), so it's unlikely to disappear anytime soon.
I guess RedHat Python RPMs set up folder structures very differently from the plain source files build of Python.
No, they shouldn't - on previous platforms, I've usually built Python from scratch, but on this box is the first time I've used RPMS exclusively (mind you, I'm still using the Zope-2.1.4 RPM that contains its own Python interpreter). Try: [dt@nipnyep dt]$ rpm -qa | egrep python python-1.5.2-7 pythonlib-1.23-1 python-devel-1.5.2-7 python-docs-1.5.2-7 python-tools-1.5.2-7 (I feel an except: clause should go here :-) The key RPM here being python-devel-1.5.2-7.
Contacted the author of ZPyGreSQLDA but so far no response...
It still looks like a local environment issue. Regards, Daryl Tester
On Sat, 27 May 2000, Hung Jung Lu wrote:
Let me try again, does any of you guys have a "config" subfolder inside your /usr/lib/python1.5/ folder? I guess the "config" subfolder maybe an feature
Yes, I have it. It appeared after "make install". But it is in /usr/local/lib/python1.5 - you need to uninstall python from /usr/bin and /usr/lib, if you installed python from sources...
from the old python1.5, because in the new python1.5.2 there is no such a folder.
No. Oleg. (All opinions are mine and not of my employer) ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
try ZPoPyDA http://www.mixadlive.com ftp://ftp.mixadlive.com/pub/zope/ZPoPyDA/ZPoPyDA-0.1.0.tar.gz Bye Paolo Comitini Mixad Live s.r.l.
Contacted the author of ZPyGreSQLDA but so far no response...
Hung Jung
participants (4)
-
Daryl Tester -
Hung Jung Lu -
Oleg Broytmann -
pcm@mixadlive.com