Re: [Zope3-Users] Problem: Could not locate Zope software installation! - solution
Martin Kudlvasr wrote: Ronald L Chichester wrote: This, of course, begs the question of some 64-bit compatibility issue. That is a possibility, but we do have a 64-bit Athalon running here used in daily development with no problems (running Ubuntu). the problem is really 64 compatibility issue. When I look into mkzopeinstance script: *** for parts in [(src,), (lib, python), (Lib, site-packages)]: d = os.path.join(swhome, *(parts + (zope, app, appsetup))) if os.path.isdir(d): d = os.path.join(swhome, *parts) sys.path.insert(0, d) break else: try: import zope.app.server except ImportError: print sys.stderr, Could not locate Zope software installation! sys.exit(1) *** this means that first of directories $PREFIX/src, $PREFIX/lib/python, $PREFIX/Lib/site-packages (suffixed by zope/app/appsetup) is added to sys.path BUT !!! when compiled on 64 architecture, zope compiles its files into $PREFIX/lib64 directory, so the mkzopeinstance cannot import zope.app.server and fails. I succesfully used: *** for parts in [(src,), (lib, python), (lib64, python), (Lib, site-packages)]: *** 3.2.0-final has the same problem I please anybody competent to fix this. This has been reported to the collector: http://www.zope.org/Collectors/Zope3-dev/528 My (local) fix was to make a symlink, lib64-lib, in the instance directory. This also works. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Problem: Could not locate Zope software installation! - solution
My (local) fix was to make a symlink, lib64-lib, in the instance directory. This also works. Oops, I meant swhome directory. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Problem: Could not locate Zope software installation!
Ronald L Chichester wrote: I downloaded ZopeX3-3.0.1 and Zope3.1 (final). The ./configure | make | make install (as root) went without a hitch. However, when I went to make an instance (with either 3.0.1 or 3.1) I got a Could not locate Zope software installation! In both cases, I used the default settings (i.e., Zope was made in /usr/local/Zopex/ I used /usr/local/ZopeX3x/bin/mkzopeinstance -u manager:secret ... and got the error message. I've seen this before in the bug track list, but has anyone got a workaround? I'm using Zope on Gentoo Linux (2.6.13-r2 kernel) with python 2.3.5 and and GCC 3.4.4. Just a guess. Do you have net-zope/zopeinterface installed? It provides a package named zope in /usr/lib/[system python]/site-packages. This might make weird namespace issues. -Jim Washington ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Problem: Could not locate Zope software installation!
On Thu, 06 Oct 2005 07:22:28 -0400 Jim Washington [EMAIL PROTECTED] wrote: Ronald L Chichester wrote: I downloaded ZopeX3-3.0.1 and Zope3.1 (final). The ./configure | make | make install (as root) went without a hitch. However, when I went to make an instance (with either 3.0.1 or 3.1) I got a Could not locate Zope software installation! In both cases, I used the default settings (i.e., Zope was made in /usr/local/Zopex/ I used /usr/local/ZopeX3x/bin/mkzopeinstance -u manager:secret ... and got the error message. I've seen this before in the bug track list, but has anyone got a workaround? I'm using Zope on Gentoo Linux (2.6.13-r2 kernel) with python 2.3.5 and and GCC 3.4.4. Just a guess. Do you have net-zope/zopeinterface installed? It provides a package named zope in /usr/lib/[system python]/site-packages. This might make weird namespace issues. Nope. Not this time. For one, I've had notoriously bad luck with that application (I prefer to install from source myself). Secondly, the package that you mentioned is masked for my architecture (~amd64). Good thought, though. Ron ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Problem: Could not locate Zope software installation!
FYI: I just downloaded and installed Zope 3.1 on another Gentoo box (with the same /etc/profile as the one depicted below). That (second) one worked without any issues whatsoever. The major differences between the two boxes is that the first box is using an Athlon64 chip (with Gentoo's amd64 installation), and the second box is an older Pentium III (using Gentoo's x86 installation). This, of course, begs the question of some 64-bit compatibility issue. I noticed that when it builds (using make) that a --skip-build parameter is included. Could the lack of that particular building be a problem? Ron On Thu, 06 Oct 2005 08:47:49 -0500 Ronald L Chichester [EMAIL PROTECTED] wrote: On Thu, 06 Oct 2005 07:22:28 -0400 Jim Washington [EMAIL PROTECTED] wrote: Ronald L Chichester wrote: I downloaded ZopeX3-3.0.1 and Zope3.1 (final). The ./configure | make | make install (as root) went without a hitch. However, when I went to make an instance (with either 3.0.1 or 3.1) I got a Could not locate Zope software installation! In both cases, I used the default settings (i.e., Zope was made in /usr/local/Zopex/ I used /usr/local/ZopeX3x/bin/mkzopeinstance -u manager:secret ... and got the error message. I've seen this before in the bug track list, but has anyone got a workaround? I'm using Zope on Gentoo Linux (2.6.13-r2 kernel) with python 2.3.5 and and GCC 3.4.4. Just a guess. Do you have net-zope/zopeinterface installed? It provides a package named zope in /usr/lib/[system python]/site-packages. This might make weird namespace issues. Nope. Not this time. For one, I've had notoriously bad luck with that application (I prefer to install from source myself). Secondly, the package that you mentioned is masked for my architecture (~amd64). Good thought, though. Ron ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Problem: Could not locate Zope software installation!
I downloaded ZopeX3-3.0.1 and Zope3.1 (final). The ./configure | make | make install (as root) went without a hitch. However, when I went to make an instance (with either 3.0.1 or 3.1) I got a Could not locate Zope software installation! In both cases, I used the default settings (i.e., Zope was made in /usr/local/Zopex/ I used /usr/local/ZopeX3x/bin/mkzopeinstance -u manager:secret ... and got the error message. I've seen this before in the bug track list, but has anyone got a workaround? I'm using Zope on Gentoo Linux (2.6.13-r2 kernel) with python 2.3.5 and and GCC 3.4.4. ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users