hi ben, have you checked to see if the file /usr/lib/python1.5/config/Makefile exists? it seems the compiler cannot find it. did you follow the steps outlined in the README.txt in <zope-dir>/lib/python/Products/ZMySQLDA, like running " make -f Makefile.pre.in boot" and then make? the ZMySQLDA adapter works fine with Zope 2.0 (i used it under pretty much every alpha/beta since 2.0.0a3 and now under the final 2.0.0, running on redhat 6), the only gotcha is that you should start Zope with the switch "-t 1" to have it run with one thread. this is because the database adapter is not fully thread-safe. jens Jens Vagelpohl Systems Administrator Washtenaw Development Council
-----Original Message----- From: io@mail-gw5.pacbell.net [mailto:io@mail-gw5.pacbell.net]On Behalf Of ben andrew fulton Sent: Monday, September 13, 1999 20:39 To: zope@zope.org Subject: [Zope] Error compiling ZMySQLDA with Zope 2.0
Hi. I know the ZMySQLDA doesn't fully support parts of Zope 2.0, but I haven't seen anything claiming that I can't compile it with the new version. Below is what I get after unpacking the DA to the Zope lib directory and following the directions for the first make instruction. Any ideas what I need to change on the commandline or in the script to make this work?
ionix:/usr/local/dc/Zope-2.0.0/lib/python/Products/ZMySQLDA/src# make -f Makefile.pre.in boot PYTHON=/usr/bin/python1.5 rm -f *.o *~ rm -f *.a tags TAGS config.c Makefile.pre python sedscript rm -f *.so *.sl so_locations VERSION=`/usr/bin/python1.5 -c "import sys; print sys.version[:3]"`; \ installdir=`/usr/bin/python1.5 -c "import sys; print sys.prefix"`; \ exec_installdir=`/usr/bin/python1.5 -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/dc/Zope-2.0.0/lib/python/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/dc/Zope-2.0.0/lib/python/Products/ZMySQLDA/src' make: *** [boot] Error 2
Thanks,
-->ben
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )