[Zope-xml] ParsedXML Install Question
Eric Roby
Eric.Roby at noaa.gov
Wed Feb 13 10:27:09 EST 2002
I have been unable to successfully load the ParsedXML product on the
following system:
Platform/OS: linux2 / Redhat 7.1
Zope: Zope 2.5.0 (binary release, python 2.1, linux2-x86), python 2.1.2,
linux2
Python: 2.1.2 (#1, Jan 25 2002, 13:17:56) [GCC 2.7.2.3]
I have attempted to install it as the owner and as root but either way I
consistently get the following error:
make[1]: execvp:
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup:
Permission denied
make[1]: *** [Makefile] Error 127
make[1]: Leaving directory
`/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat'
make: *** [boot] Error 2
The complete output is listed below:
*******************************************************************************************************
Building static Expat library...
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for working const... (cached) yes
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
creating ./config.status
creating Makefile
creating expat.h
creating config.h
config.h is unchanged
gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I.
-g -O2 -c xmlparse.c
ar cr libexpat.a xmlparse.o xmltok.o xmlrole.o
Building pyexpat extension...
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`/usr/local/zope/Zope-2.5.0-linux2-x86/bin/python -c "import
sys; print sys.version[:3]"`; \
installdir=`/usr/local/zope/Zope-2.5.0-linux2-x86/bin/python -c "import
sys; print sys.prefix"`; \
exec_installdir=`/usr/local/zope/Zope-2.5.0-linux2-x86/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/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat'
sed -n \
-e '1s/.*/1i\\/p' \
-e '2s%.*%# Generated automatically from Makefile.pre.in by
sedscript.%p' \
-e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
-e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
-e '/^CCC=/s/^CCC=[ ]*\(.*\)/s%#@SET_CCC[@]%CCC=\1%/p' \
-e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
-e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
-e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
-e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
-e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
-e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
-e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
-e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
-e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
-e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
-e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
-e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
-e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
-e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
-e '/^LINKFORSHARED=/s/^LINKFORSHARED=[
]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
-e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
-e
'/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p'
\
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Makefile
>sedscript
echo "/^#@SET_CCC@/d" >>sedscript
echo "/^installdir=/s%=.*%= /usr/local/zope/Zope-2.5.0-linux2-x86%"
>>sedscript
echo "/^exec_installdir=/s%=.*%=/usr/local/zope/Zope-2.5.0-linux2-x86%"
>>sedscript
echo "/^srcdir=/s%=.*%= .%" >>sedscript
echo "/^VPATH=/s%=.*%= .%" >>sedscript
echo "/^LINKPATH=/s%=.*%= %" >>sedscript
echo "/^BASELIB=/s%=.*%= %" >>sedscript
echo "/^BASESETUP=/s%=.*%= %" >>sedscript
sed -f sedscript ./Makefile.pre.in >Makefile.pre
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup \
-m Makefile.pre -c
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/config.c.in
Setup -n
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Setup.thread
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Setup.local
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/Setup
make[1]: execvp:
/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python2.1/config/makesetup:
Permission denied
make[1]: *** [Makefile] Error 127
make[1]: Leaving directory
`/usr/local/zope/Zope-2.5.0-linux2-x86/lib/python/Products/ParsedXML/Expat'
make: *** [boot] Error 2
*******************************************************************************************************
Any clues as to what I need to change to successfully complete the
installation???
Thanks in advance...
Eric
More information about the Zope-xml
mailing list