[Zope] Zope 2.2 installation error....missing header files (?)

Felipe E Barousse Boue fb@piensa.com
Mon, 24 Jul 2000 02:37:57 -0500


I'm trying to build Zope 2.2 from the sources in a RedHat Linux 6.1 box
(which has Gnome-Helixcode intalled as a GUI).

The following happens after "python w_pcgi.py" executed as root,
nevertheless other things do build, compile and install ok. Obviously
Zope is not finding some include files.

What would be the best approach to solve this:

Thanks in advance, all help and suggestions are appreciated.

Ed

P.D: I know I could use the pre-compiled Zope distribution.  I prefer
and need to use sources.

[root@server Zope-2.2.0-src]# python w_pcgi.py

------------------------------------------------------------------------------

Building the PCGI wrapper
./configure
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 MACHDEP... linux2
checking for inet_addr in -lnsl... (cached) yes
checking for socket in -lsocket... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for unistd.h... (cached) yes
checking for syslog.h... (cached) yes
checking for working const... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) int
checking for putenv... (cached) yes
checking for socket... (cached) yes
checking for strerror... (cached) yes
checking for union semun... no
creating ./config.status
creating Makefile
make
gcc -c -I. -I.  -DPCGI_WRAPPER_MAIN -DVERSION=\"2.0a5\" -DSTDC_HEADERS=1
-DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSLOG_H=1 -DRETSIGTYPE=int
-DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1  -DUNIX
-DOPT_NO_STDERR -DCLOSE_FDS ./pcgi-wrapper.c
In file included from /usr/include/errno.h:36,
                 from pcgi.h:49,
                 from ./pcgi-wrapper.c:51:
/usr/include/bits/errno.h:25: linux/errno.h: No existe el fichero o el
directorio
In file included from /usr/include/signal.h:294,
                 from pcgi.h:56,
                 from ./pcgi-wrapper.c:51:
/usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No existe el
fichero o el directorio
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from /usr/include/bits/socket.h:31,
                 from /usr/include/sys/socket.h:34,
                 from pcgi.h:58,
                 from ./pcgi-wrapper.c:51:
/usr/include/bits/local_lim.h:27: linux/limits.h: No existe el fichero o
el directorio
In file included from /usr/include/sys/socket.h:34,
                 from pcgi.h:58,
                 from ./pcgi-wrapper.c:51:
/usr/include/bits/socket.h:295: asm/socket.h: No existe el fichero o el
directorio
make: *** [pcgi-wrapper.o] Error 1
Traceback (innermost last):
  File "/usr/local/Zope-2.2.0-src/w_pcgi.py", line 111, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "/usr/local/Zope-2.2.0-src/w_pcgi.py", line 104, in main
    import build_pcgi
  File "/usr/local/Zope-2.2.0-src/inst/build_pcgi.py", line 97, in ?
    do('make')
  File "/usr/local/Zope-2.2.0-src/inst/do.py", line 104, in do
    if i and picky: raise SystemError, i
SystemError: 512
[root@server Zope-2.2.0-src]#