[Zope] Trouble building Zope on BSDi 3.0
Pete Beazley
pete@clearlyonline.com
Tue, 12 Oct 1999 08:10:07 -0400
Since I haven't found an applicable Zope binary for BSDi on an Intel box,
I've decided to try and build Zope myself. I'm trying to build it on a
remote virtual server running BSDi 3.0 and either get a traceback or no
errors but without generation of username/password.
The virtual Unix host is running BSDI BSD/OS 3.0 Virtual Kernel #0
I built Python 1.5.2 with threads and also added -rdynamic to LDSHARED in
Makefile.pre.in
Per the Zope Installatino FAQ, I've also tried changing do('make') to
do('make -k') in inst/do.py
When I run "python w_pcgi.py" the build goes quite a long ways and finally
crashes with:
creating default access file
Traceback (innermost last):
File "w_pcgi.py", line 111, in ?
if __name__=='__main__': main(sys.argv[0])
File "w_pcgi.py", line 109, in main
import wo_pcgi; wo_pcgi.main(me)
File "/usr/home/clearlyo/util/Zope-2.0.1-src/wo_pcgi.py", line 106, in
main
import zpasswd; zpasswd.write_access(home, user, group)
File "/usr/home/clearlyo/util/Zope-2.0.1-src/zpasswd.py", line 128, in
write_access
pw = pw + whrandom.choice(pw_choices)
File "/usr/home/clearlyo/usr/local/lib/python1.5/whrandom.py", line 97, in
choice
return seq[int(self.random() * len(seq))]
OverflowError: float too large to convert
If I try to build again, I don't always get this traceback, but I never get
a username or password as I expect per the installation instructions.
If I try to run ./start, I get this traceback:
Traceback (innermost last):
File "/usr/home/clearlyo/util/Zope-2.0.1-src/z2.py", line 375, in ?
exec "import "+MODULE in {}
File "<string>", line 1, in ?
File "/usr/home/clearlyo/util/Zope-2.0.1-src/lib/python/Zope/__init__.py",
line 95, in ?
import Globals, OFS.Application, sys
File
"/usr/home/clearlyo/util/Zope-2.0.1-src/lib/python/OFS/Application.py", line
96, in ?
from AccessControl.User import UserFolder
File
"/usr/home/clearlyo/util/Zope-2.0.1-src/lib/python/AccessControl/User.py",
line 306, in ?
raise 'InstallError', 'Invalid format for access file - see INSTALL.txt'
InstallError: Invalid format for access file - see INSTALL.txt
Any ideas or suggestions would be greatly appreciated!
Thanks!
--------
Pete Beazley - mailto:pete@clearlyonline.com
ClearlyOnline, Inc.
XML-based Web Sites & XML services
http://www.clearlyonline.com
1-724-942-1912 1-724-941-3698 fax
PGP public key - mailto:pgp.pete@clearlyonline.com