[Zope-dev] problems compiling zope-2.3.3 source under YDL 2.0

Andreas Jung Andreas Jung" <andreas@digicool.com
Thu, 12 Jul 2001 15:30:51 -0500


/usr/include/python1.5/mymalloc.h:57: stdlib.h: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Looks like your compiler installation is broken or you don't have any header
files installed. Please check if you can find the file 'stdlib.h' somewhere
on
your system.



============================================================================
====
Andreas Jung
andreas@digicool.com
Digital Creations               "Zope Dealers"
http://www.zope.org


----- Original Message -----
From: "marc lindahl" <marc@bowery.com>
To: <zope-dev@zope.org>
Sent: Donnerstag, 12. Juli 2001 14:27
Subject: [Zope-dev] problems compiling zope-2.3.3 source under YDL 2.0


> I'm having problems compiling the Zope source under Yellow Dog Linux (PPC)
> 2.0 (which is basically RedHat 7.0).... can anyone offer a suggestion
based
> on the traceback?
>
> here 'tis:
>
>
>
> [zope@ydl Zope-2.3.3]$ python wo_pcgi.py
>
> --------------------------------------------------------------------------
--
> --
> Compiling python modules
>
> --------------------------------------------------------------------------
--
> --
> Building extension modules
> cp ./lib/python/Setup15 ./lib/python/Setup
>
> ------------------------------------------------
> Compiling extensions in lib/python
> cp /usr/lib/python1.5/config/Makefile.pre.in .
> make -f Makefile.pre.in boot PYTHON=/usr/bin/python
> rm -f *.o *~
> rm -f *.a tags TAGS config.c Makefile.pre python sedscript
> 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/zope/Zope-2.3.3/lib/python'
> 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/lib/python1.5/config/Makefile >sedscript
> echo "/^#@SET_CCC@/d" >>sedscript
> echo "/^installdir=/s%=.*%=     /usr%" >>sedscript
> echo "/^exec_installdir=/s%=.*%=/usr%" >>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/lib/python1.5/config/makesetup \
>          -m Makefile.pre -c /usr/lib/python1.5/config/config.c.in Setup -n
> /usr/lib/python1.5/config/Setup.thread
/usr/lib/python1.5/config/Setup.local
> /usr/lib/python1.5/config/Setup
> make -f Makefile do-it-again
> make[2]: Entering directory `/usr/local/zope/Zope-2.3.3/lib/python'
> /usr/lib/python1.5/config/makesetup \
>          -m Makefile.pre -c /usr/lib/python1.5/config/config.c.in Setup -n
> /usr/lib/python1.5/config/Setup.thread
/usr/lib/python1.5/config/Setup.local
> /usr/lib/python1.5/config/Setup
> make[2]: Leaving directory `/usr/local/zope/Zope-2.3.3/lib/python'
> make[1]: Leaving directory `/usr/local/zope/Zope-2.3.3/lib/python'
> make
> gcc -fPIC  -I../Components/ExtensionClass -g -O2 -I/usr/include/python1.5
> -I/usr/include/python1.5 -DHAVE_CONFIG_H -c
> ./../Components/ExtensionClass/ExtensionClass.c
> ./../Components/ExtensionClass/ExtensionClass.c:60: stdio.h: No such file
or
> directory
> In file included from ../Components/ExtensionClass/ExtensionClass.h:114,
>                  from ./../Components/ExtensionClass/ExtensionClass.c:61:
> /usr/include/python1.5/Python.h:57: stdio.h: No such file or directory
> /usr/include/python1.5/Python.h:58: string.h: No such file or directory
> /usr/include/python1.5/Python.h:59: errno.h: No such file or directory
> /usr/include/python1.5/Python.h:61: stdlib.h: No such file or directory
> In file included from
> /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.3/include/syslimits.h:7,
>                  from
> /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.3/include/limits.h:11,
>                  from /usr/include/python1.5/longobject.h:58,
>                  from /usr/include/python1.5/Python.h:76,
>                  from ../Components/ExtensionClass/ExtensionClass.h:114,
>                  from ./../Components/ExtensionClass/ExtensionClass.c:61:
> /usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.3/include/limits.h:117:
limits.h:
> No such file or directory
> In file included from /usr/include/python1.5/Python.h:97,
>                  from ../Components/ExtensionClass/ExtensionClass.h:114,
>                  from ./../Components/ExtensionClass/ExtensionClass.c:61:
> /usr/include/python1.5/mymalloc.h:57: stdlib.h: No such file or directory
> make: *** [ExtensionClass.o] Error 1
> Traceback (innermost last):
>   File "wo_pcgi.py", line 116, in ?
>   File "wo_pcgi.py", line 104, in main
>   File "/usr/local/zope/Zope-2.3.3/inst/build_extensions.py", line 102, in
?
>     make('lib','python')
>   File "/usr/local/zope/Zope-2.3.3/inst/do.py", line 135, in make
>     do('make')
>   File "/usr/local/zope/Zope-2.3.3/inst/do.py", line 104, in do
>     if i and picky: raise SystemError, i
> SystemError: 512
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )