ERRORS Compiling Zope
I'm on an OpenBSD (3.2) system. I just untar'd the Zope-2.6.1 file, cd'd to Zope-2.6.1-src, then issued: /usr/local/bin/python2.1 w_pcgi.py at the command line. This is what I got. Any suggestions? error: file 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c' does not exist Traceback (most recent call last): File "w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "w_pcgi.py", line 37, in main import wo_pcgi; wo_pcgi.main(me) File "/usr/local/src/Zope-2.6.1-src/wo_pcgi.py", line 33, in main import build_extensions File "/usr/local/src/Zope-2.6.1-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/usr/local/src/Zope-2.6.1-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256
You need to unpack Zope using GNUtar instead of the system tar. On Wed, 2003-02-19 at 21:51, G. Clifford Williams wrote:
I'm on an OpenBSD (3.2) system. I just untar'd the Zope-2.6.1 file, cd'd to Zope-2.6.1-src, then issued: /usr/local/bin/python2.1 w_pcgi.py at the command line.
This is what I got. Any suggestions?
error: file 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c' does not exist Traceback (most recent call last): File "w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "w_pcgi.py", line 37, in main import wo_pcgi; wo_pcgi.main(me) File "/usr/local/src/Zope-2.6.1-src/wo_pcgi.py", line 33, in main import build_extensions File "/usr/local/src/Zope-2.6.1-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/usr/local/src/Zope-2.6.1-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Thanks.. that worked (weird). Now I'm having a new issue. when I type "./start" I get: 2003-02-19T12:38:44 PANIC(300) z2 Startup exception Traceback (innermost last): File /home/clave/Zope-2.6.1-src/z2.py, line 582, in ? File /home/clave/Zope-2.6.1-src/lib/python/Zope/__init__.py, line 46, in startup (Object: startup) File /home/clave/Zope-2.6.1-src/lib/python/Zope/App/startup.py, line 51, in startup File /home/clave/Zope-2.6.1-src/lib/python/ZODB/FileStorage.py, line 226, in __init__ File /home/clave/Zope-2.6.1-src/lib/python/ZODB/lock_file.py, line 33, in lock_file StorageSystemError: Could not lock the database file. There must be another process that has opened the file. <p> On Wednesday 19 February 2003 08:58 pm, Chris McDonough wrote:
You need to unpack Zope using GNUtar instead of the system tar.
On Wed, 2003-02-19 at 21:51, G. Clifford Williams wrote:
I'm on an OpenBSD (3.2) system. I just untar'd the Zope-2.6.1 file, cd'd to Zope-2.6.1-src, then issued: /usr/local/bin/python2.1 w_pcgi.py at the command line.
This is what I got. Any suggestions?
error: file 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_88 59_1_Splitter.c' does not exist Traceback (most recent call last): File "w_pcgi.py", line 39, in ? if __name__=='__main__': main(sys.argv[0]) File "w_pcgi.py", line 37, in main import wo_pcgi; wo_pcgi.main(me) File "/usr/local/src/Zope-2.6.1-src/wo_pcgi.py", line 33, in main import build_extensions File "/usr/local/src/Zope-2.6.1-src/inst/build_extensions.py", line 24, in ? do('%s setup.py build_ext -i' % sys.executable) File "/usr/local/src/Zope-2.6.1-src/inst/do.py", line 32, in do if i and picky: raise SystemError, i SystemError: 256
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
--On Mittwoch, 19. Februar 2003 22:41 -0600 "G. Clifford Williams" <gcw-python@rezidew.net> wrote:
StorageSystemError: Could not lock the database file. There must be another process that has opened the file.
Check if there is another Zope already running (check the process list and try to "stop" this Zope. Otherwise KILL it). If this does not work, try to remove the *.lock file from the "var" folder of your Zope installation (where the Data.fs file is) and restart Zope. -aj
Okay now we're in business...many thanks.. On Wednesday 19 February 2003 11:00 pm, Andreas Jung wrote:
--On Mittwoch, 19. Februar 2003 22:41 -0600 "G. Clifford Williams"
<gcw-python@rezidew.net> wrote:
StorageSystemError: Could not lock the database file. There must be another process that has opened the file.
Check if there is another Zope already running (check the process list and try to "stop" this Zope. Otherwise KILL it). If this does not work, try to remove the *.lock file from the "var" folder of your Zope installation (where the Data.fs file is) and restart Zope.
-aj
participants (3)
-
Andreas Jung -
Chris McDonough -
G. Clifford Williams