Subject: | Compile failure |
root@galaxy:/usr/src# !./c
./configure --with-apache-includes=/usr/apache2/include/
bash: ./configure: No such file or directory
root@galaxy:/usr/src# cd libapreq-1.0
root@galaxy:/usr/src/libapreq-1.0# !./
./configure --with-apache-includes=/usr/apache2/include/
creating cache ./config.cache
checking for a BSD compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... 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... yes
checking whether gcc accepts -g... yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/i386-slackware-linux/bin/ld
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i386-slackware-linux/bin/ld) supports shared l
ibraries... yes
checking command to parse /usr/local/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i386-slackware-linux/bin/ld option to reload object files... -
r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/local/bin/ginstall -c
checking whether ln -s works... (cached) yes
creating ./config.status
creating Makefile
creating c/Makefile
creating c/libapreq_config.h
root@galaxy:/usr/src/libapreq-1.0# make
Making all in c
make[1]: Entering directory `/usr/src/libapreq-1.0/c'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/apache2
/include/ -g -O2 -c apache_cookie.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/apache2/include/ -g -O2 -Wp,-MD,.deps/apa
che_cookie.pp -c -fPIC -DPIC apache_cookie.c -o .libs/apache_cookie.lo
In file included from apache_cookie.h:4,
from apache_cookie.c:59:
apache_request.h:38: parse error before `table'
apache_request.h:38: warning: no semicolon at end of struct or union
apache_request.h:48: parse error before `}'
apache_request.h:48: warning: data definition has no type or storage class
apache_request.h:55: parse error before `table'
apache_request.h:55: warning: no semicolon at end of struct or union
apache_request.h:58: parse error before `*'
apache_request.h:58: warning: data definition has no type or storage class
apache_request.h:59: parse error before `}'
apache_request.h:89: parse error before `*'
apache_request.h:89: warning: data definition has no type or storage class
apache_request.h:90: parse error before `*'
apache_request.h:91: parse error before `*'
apache_request.h:92: parse error before `*'
apache_request.h:93: parse error before `*'
apache_request.h:94: parse error before `*'
apache_request.h:95: parse error before `*'
apache_request.h:95: parse error before `*'
apache_request.h:95: warning: data definition has no type or storage class
apache_request.h:96: parse error before `*'
apache_request.h:97: parse error before `*'
apache_request.h:101: parse error before `*'
apache_request.h:102: parse error before `*'
apache_request.h:120: parse error before `*'
apache_request.h:123: parse error before `*'
In file included from apache_cookie.c:59:
apache_cookie.h:6: parse error before `ApacheCookieJar'
apache_cookie.h:6: warning: data definition has no type or storage class
apache_cookie.h:11: parse error before `array_header'
apache_cookie.h:11: warning: no semicolon at end of struct or union
apache_cookie.h:16: parse error before `}'
apache_cookie.h:16: warning: data definition has no type or storage class
apache_cookie.h:44: parse error before `*'
apache_cookie.h:44: warning: data definition has no type or storage class
apache_cookie.h:45: parse error before `*'
apache_cookie.h:45: warning: data definition has no type or storage class
apache_cookie.h:46: parse error before `*'
apache_cookie.h:47: parse error before `*'
apache_cookie.h:48: parse error before `*'
apache_cookie.h:49: parse error before `*'
apache_cookie.c:61: parse error before `*'
apache_cookie.c: In function `ApacheCookie_expires':
apache_cookie.c:65: `c' undeclared (first use in this function)
apache_cookie.c:65: (Each undeclared identifier is reported only once
apache_cookie.c:65: for each function it appears in.)
apache_cookie.c:65: `time_str' undeclared (first use in this function)
apache_cookie.c: At top level:
apache_cookie.c:76: parse error before `*'
apache_cookie.c: In function `ApacheCookie_attr':
apache_cookie.c:79: `key' undeclared (first use in this function)
apache_cookie.c:83: `c' undeclared (first use in this function)
apache_cookie.c:83: `val' undeclared (first use in this function)
apache_cookie.c:107: warning: passing arg 5 of `ap_log_rerror' from incompatible
pointer type
apache_cookie.c: At top level:
apache_cookie.c:113: parse error before `*'
apache_cookie.c: In function `ApacheCookie_new':
apache_cookie.c:116: parse error before `req'
apache_cookie.c:117: `c' undeclared (first use in this function)
apache_cookie.c:120: request for member `r' in something not a structure or unio
n
apache_cookie.c: At top level:
apache_cookie.c:144: parse error before `*'
apache_cookie.c: In function `ApacheCookie_parse':
apache_cookie.c:147: `retval' undeclared (first use in this function)
apache_cookie.c:148: parse error before `)'
apache_cookie.c:151: warning: assignment makes pointer from integer without a ca
st
apache_cookie.c:156: `c' undeclared (first use in this function)
apache_cookie.c:182: parse error before `)'
apache_cookie.c: At top level:
apache_cookie.c:196: parse error before `*'
apache_cookie.c: In function `escape_url':
apache_cookie.c:198: `p' undeclared (first use in this function)
apache_cookie.c:198: `val' undeclared (first use in this function)
apache_cookie.c: At top level:
apache_cookie.c:230: parse error before `*'
apache_cookie.c: In function `ApacheCookie_as_string':
apache_cookie.c:232: `array_header' undeclared (first use in this function)
apache_cookie.c:232: `values' undeclared (first use in this function)
apache_cookie.c:233: `pool' undeclared (first use in this function)
apache_cookie.c:233: `p' undeclared (first use in this function)
apache_cookie.c:233: `c' undeclared (first use in this function)
apache_cookie.c:234: parse error before `char'
apache_cookie.c:248: `cookie' undeclared (first use in this function)
apache_cookie.c:249: `i' undeclared (first use in this function)
apache_cookie.c:256: `retval' undeclared (first use in this function)
apache_cookie.c: At top level:
apache_cookie.c:265: parse error before `*'
apache_cookie.c: In function `ApacheCookie_bake':
apache_cookie.c:267: `c' undeclared (first use in this function)
make[1]: *** [apache_cookie.lo] Error 1
make[1]: Leaving directory `/usr/src/libapreq-1.0/c'
make: *** [all-recursive] Error 1
root@galaxy:/usr/src/libapreq-1.0#