Missing Module sha when installing Zope from Source.
Hi there, I've been trying for a while to install MySQL, Python, Zope, MySQLdb, and ZMySQLDA. All from source. I've started with a fresh install of Redhat 6.1. I want to use Zope with my MySQL databases. I'm sure there are many of you out there doing the same thing. Was anyone documented teh whole procedure from start to finish? I installed Linux without Python, then got py152.tgz, unpacked and installed. I've gotten MySQL unpacked and installed from source as well. Beyond that, I'm at a loss as to how to proceed. In Trying to install Zope next, by running "python w_pcgi.py" (or "python wo_pcgi.py" gives the same result) I get the following error (after it spends some time compiling): [... successful compiling results deleted] gcc -fpic -DXML_NS -Iexpat/xmlparse -Iexpat/xmltok -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./expat/xmltok/xmlrole.c gcc -fpic -DXML_NS -Iexpat/xmlparse -Iexpat/xmltok -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./expat/xmltok/xmltok.c gcc -shared pyexpat.o xmlparse.o hashtable.o xmlrole.o xmltok.o -o pyexpat.so make clean rm -f *.o *~ chmod 0711 /usr/local/APPS/Zope-2.1.2-src/var Traceback (innermost last): File "wo_pcgi.py", line 116, in ? if __name__=='__main__': main(sys.argv[0]) File "wo_pcgi.py", line 107, in main import zpasswd; zpasswd.write_access(home, user, group) File "/usr/local/APPS/Zope-2.1.2-src/zpasswd.py", line 90, in ? import sys, string, sha, binascii, whrandom, getopt, getpass, os ImportError: No module named sha Why would I be missing this? Is there more to getting the development version of python installed than just py152.tgz? Maybe if I can get Zope installed properly, I can make sense of some of the other errors I get when trying to install MySQLdb.py, etc.... Also, I have MySQL 3.22.39 installed. Is this going to create a problem with the Zope adapters? Is it my imagination, or should this be easier? Thanks for your help. Feel free to respond to this message in a personal email, or to this group, or both. Don Undeen dundee@gator.net
participants (1)
-
Don Undeen