I downloaded Zope and followed the INSTALL.txt directions. The installation stops at the following: rm -f *.so *.sl so_locations VERSION=`/usr/bin/python -c "import sys; print sys.version[:3]"`; \ installdir=`/usr/bin/python -c "import sys; print sys.prefix"`; \ exec_installdir=`/usr/bin/python -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/src/Zope-1.9b1-src/lib/python' make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/src/Zope-1.9b1-src/lib/python' make: *** [boot] Error 2 Traceback (innermost last): File "wo_pcgi.py", line 100, in ? File "/usr/local/src/Zope-1.9b1-src/build_extensions.py", line 96, in ? make('lib','python') File "/usr/local/src/Zope-1.9b1-src/do.py", line 105, in make do('make -f Makefile.pre.in boot PYTHON=%s' % sys.executable) File "/usr/local/src/Zope-1.9b1-src/do.py", line 97, in do if i and picky: raise SystemError, i SystemError: 512 I am using Python 1.5.1 on Redhat Linux 5.2. Thanks Dennis Scott themenace@mindless.com
I did the same and the problem is discussed here all ready several times When you installed python with rpm -i there is'nt a file /usr/lib/python1.5/config/Makefile that is needed in the makefile
make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/src/Zope-1.9b1-src/lib/python'
I used a SRPMS version of python en recompiled it there is a 1.5.1 version on the second disk of the redhat 5.2 distribution. The next problem is that you have to recompile Apache to include the mod_rewrite module if you do /usr/sbin/httpd -l you get a list of modules that are present But my problem is now the same as one of the first messages by Michael Grinder : Apache + Zope When I try to log on When I use the passwd set in the access file. I always get login failed. Can somebody give more explanation on the RewriteRule in the Httpd.conf file????? ----- See the original message at http://www.egroups.com/list/zope/?start=244
I did the same and the problem is discussed here all ready several times
When you installed python with rpm -i there is'nt a file /usr/lib/python1.5/config/Makefile that is needed in the makefile
make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/src/Zope-1.9b1-src/lib/python'
I used a SRPMS version of python en recompiled it there is a 1.5.1 version on the second disk of the redhat 5.2 distribution.
I believe if the RPM doesn't insert the /config directory then the SRPM that builds it won't either. The solution to this is to d/l your own version of Python and compile it from the tar.gz file. ./configure make make install (<- may need to be root) should do it. I have Zope running fine on 5.0, 5.1 and 5.2 with hand compiled pythons like this. Michel
I did the same and the problem is discussed here all ready several times
When you installed python with rpm -i there is'nt a file /usr/lib/python1.5/config/Makefile that is needed in the makefile
make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. make[1]: Leaving directory `/usr/local/src/Zope-1.9b1-src/lib/python'
I used a SRPMS version of python en recompiled it there is a 1.5.1 version on the second disk of the redhat 5.2 distribution.
I believe if the RPM doesn't insert the /config directory then the SRPM that builds it won't either. The solution to this is to d/l your own version of Python and compile it from the tar.gz file.
./configure make make install (<- may need to be root)
should do it. I have Zope running fine on 5.0, 5.1 and 5.2 with hand compiled pythons like this.
It does, I did It Yesterday on my linux box at home rpm -i a file from a SRPMS ( the S means sources) dir of the cdrom 2 of redhat 5.2 only creates some tar.gz files in a specific dir /usr/src/redhat/SOURCES and therefrom you can start compiling your python versions I do #tar zxvf and the classic ./configure make make install in the python dir I think it is the easiest way for people that have the cdroms we get then the Makefile in /usr/local/lib/python1.5/config/ Wim Vanroose ----- See the original message at http://www.egroups.com/list/zope/?start=268
participants (3)
-
Dennis Scott -
Michel Pelletier -
Vanroose Wim