You need to install python... Or adjust the Makefile.pre.in to look at Zope's internal python, instead of trying to find the external one. Actually, from a quick runthrough of the Makefile.pre.in, you should set the enviroment variable PYTHON to point to the local python binary; I mean the one internal to zope, like PYTHON=/home/zope/bin/python export PYTHON (in bash) or setenv PYTHON /home/zope/bin/python (in tcsh) ... (and no I am not quite certain on the syntax here). The 'make -f Makefile.pre.in boot' appears to call $(PYTHON) with parameters that cause it to return the proper location for the python configuration files, etc. Good luck.
---------- From: Timothy Grant[SMTP:tjg@avalongroup.net] Sent: Sunday, February 28, 1999 5:39 PM To: Zope Folk Subject: [Zope] ZMySQLDA installation
Hi all,
This is probably more of a newbie Linux question than a newbie Zope question, but I'm going to ask it here anyway:
I would like to connect Zope to a database, so I have setup both PostgreSQL and MySQL. My reading tells me that MySQL is probably the better choice as a web backend (Any comments from those of you more knowledgable than I would be appreciated!) So I downloaded the MySQL source, compiled, installed and tested it. It looks like I did it right. I then downloaded the ZMySQLDA from the Zope site.
I have followed the directions--I think, but get the following error when trying to do the initial make:
[tjg@puddleglum src]$ make -f Makefile.pre.in boot rm -f *.o *~ rm -f *.a tags TAGS config.c Makefile.pre python sedscript rm -f *.so *.sl so_locations VERSION=`python -c "import sys; print sys.version[:3]"`; \ installdir=`python -c "import sys; print sys.prefix"`; \ exec_installdir=`python -c "import sys; print sys.exec_prefix"`; \ make -f ./Makefile.pre.in VPATH=. srcdir=. \ VERSION=$VERSION \ installdir=$installdir \ exec_installdir=$exec_installdir \ Makefile make[1]: Entering directory `/usr/local/zope/Zope-1.10.0pr1-linux2-x86/lib/pytho n/Products/ZMySQLDA/src' make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/zope/Zope-1.10.0pr1-linux2-x86/lib/python /Products/ZMySQLDA/src' make: *** [boot] Error 2
Any help would be greatly appreciated.
-- Stand Fast, tjg. =================================================== Timothy Grant VP Technology/CTO Avalon Technology Group tjg@avalongroup.net www.avalongroup.net (503) 246-3630 voice (503) 246-3124 fax
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope