You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by David Wheeler <da...@wheeler.net> on 2003/06/17 03:59:13 UTC

Fwd: re installing libapreq on Jaguar: An Upda

FYI.

David

Begin forwarded message:

> From: Tom Shaw <ts...@oitc.com>
> Date: Mon Jun 16, 2003  9:14:36  PM US/Eastern
> To: david@wheeler.net
> Subject: re installing libapreq on Jaguar: An Upda
>
> Help is appreciated.
>
> Tom
>
> Sorry to bother you but your instructions fail for me:
>
> tomshaw-51:local/src/mod_perl-1.27] tshaw% cd /usr/local/src
> [tomshaw-51:/usr/local/src] tshaw% curl -O 
> http://www.apache.org/dist/httpd/libapreq/libapreq-1.1.tar.gz
>   % Total    % Received % Xferd  Average Speed          Time           
>   Curr.
>                                  Dload  Upload Total    Current  Left  
>   Speed
> 100  299k  100  299k    0     0  97148      0  0:00:03  0:00:03  
> 0:00:00 76696
> [tomshaw-51:/usr/local/src] tshaw% tar zxvf libapreq-1.1.tar.gz
> libapreq-1.1
> libapreq-1.1/c
> libapreq-1.1/c/Makefile.noperl
> libapreq-1.1/c/apache_cookie.c
> libapreq-1.1/c/Makefile.PL
> libapreq-1.1/c/apache_multipart_buffer.c
> libapreq-1.1/c/apache_request.h
> libapreq-1.1/c/Makefile.am
> libapreq-1.1/c/apache_request.c
> libapreq-1.1/c/apache_cookie.h
> libapreq-1.1/c/Makefile.in
> libapreq-1.1/c/apache_multipart_buffer.h
> libapreq-1.1/t
> libapreq-1.1/t/inherit.t
> libapreq-1.1/t/request.t
> libapreq-1.1/t/apreq
> libapreq-1.1/t/apreq/request.t
> libapreq-1.1/t/apreq/big_input.t
> libapreq-1.1/t/apreq/cookie.t
> libapreq-1.1/t/api.pl
> libapreq-1.1/t/request-param.pl
> libapreq-1.1/t/response
> libapreq-1.1/t/response/TestApReq
> libapreq-1.1/t/response/TestApReq/cookie.pm
> libapreq-1.1/t/response/TestApReq/request.pm
> libapreq-1.1/t/response/TestApReq/big_input.pm
> libapreq-1.1/t/book.gif
> libapreq-1.1/t/TEST.win32
> libapreq-1.1/t/httpd.conf
> libapreq-1.1/t/request-inherit.pl
> libapreq-1.1/t/httpd.conf.win32
> libapreq-1.1/t/request-cookie.pl
> libapreq-1.1/t/cookie.t
> libapreq-1.1/t/request-upload.pl
> libapreq-1.1/t/TEST.PL
> libapreq-1.1/Changes
> libapreq-1.1/Cookie
> libapreq-1.1/Cookie/Cookie.xs
> libapreq-1.1/Cookie/Cookie.pm
> libapreq-1.1/Cookie/Makefile.PL
> libapreq-1.1/MANIFEST
> libapreq-1.1/typemap
> libapreq-1.1/aclocal.m4
> libapreq-1.1/patches
> libapreq-1.1/patches/README
> libapreq-1.1/patches/apache-1.3+apreq.patch
> libapreq-1.1/eg
> libapreq-1.1/eg/perl
> libapreq-1.1/eg/perl/file_upload.pl
> libapreq-1.1/eg/perl/cookie.pl
> libapreq-1.1/eg/c
> libapreq-1.1/eg/c/testapreq
> libapreq-1.1/eg/c/testapreq/Makefile.apxs
> libapreq-1.1/eg/c/testapreq/mod_testapreq.c
> libapreq-1.1/eg/c/testapreq/mod_testapreq.module
> libapreq-1.1/eg/c/testapreq/Makefile.tmpl
> libapreq-1.1/patch
> libapreq-1.1/ltmain.sh
> libapreq-1.1/config.guess
> libapreq-1.1/Request
> libapreq-1.1/Request/Request.pm
> libapreq-1.1/Request/Makefile.PL
> libapreq-1.1/Request/Request.xs
> libapreq-1.1/configure.in
> libapreq-1.1/libapreq.pod
> libapreq-1.1/CREDITS
> libapreq-1.1/configure
> libapreq-1.1/acinclude.m4
> libapreq-1.1/README
> libapreq-1.1/LICENSE
> libapreq-1.1/depcomp
> libapreq-1.1/lib
> libapreq-1.1/lib/Apache
> libapreq-1.1/lib/Apache/libapreq.pm
> libapreq-1.1/autom4te-2.53.cache
> libapreq-1.1/autom4te-2.53.cache/traces.0
> libapreq-1.1/autom4te-2.53.cache/output.0
> libapreq-1.1/autom4te-2.53.cache/requests
> libapreq-1.1/config.sub
> libapreq-1.1/missing
> libapreq-1.1/Makefile.in
> libapreq-1.1/install-sh
> libapreq-1.1/mkinstalldirs
> libapreq-1.1/INSTALL.MacOSX
> libapreq-1.1/ToDo
> libapreq-1.1/BUILD.sh
> libapreq-1.1/Makefile.am
> libapreq-1.1/INSTALL
> libapreq-1.1/Makefile.PL
> [tomshaw-51:/usr/local/src] tshaw% cd libapreq-1.1
> [tomshaw-51:local/src/libapreq-1.1] tshaw% ./configure 
> --with-apache-includes=/usr/local/apache/include
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc
> checking build system type... powerpc-apple-darwin6.6
> checking host system type... powerpc-apple-darwin6.6
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... file_magic Mach-O 
> dynamically linked shared library
> checking command to parse /usr/bin/nm -p output... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... no
> checking dlfcn.h presence... no
> checking for dlfcn.h... no
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... yes
> checking if gcc static flag -static works... no
> 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 whether the linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking how to hardcode library paths into programs... unsupported
> checking whether stripping libraries is possible... no
> checking dynamic linker characteristics... darwin6.6 dyld
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking for ranlib... (cached) ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating c/Makefile
> config.status: executing depfiles commands
> [tomshaw-51:local/src/libapreq-1.1] tshaw% make
> Making all in c
> source='apache_cookie.c' object='apache_cookie.lo' libtool=yes \
> depfile='.deps/apache_cookie.Plo' 
> tmpdepfile='.deps/apache_cookie.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" -DVERSION=\"1.1\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1  -I. -I. -I/usr/local/apache/include    -g -O2 -c -o 
> apache_cookie.lo `test -f 'apache_cookie.c' || echo 
> './'`apache_cookie.c
> mkdir .libs
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" 
> -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. 
> -I/usr/local/apache/include -g -O2 -c apache_cookie.c 
> -Wp,-MD,.deps/apache_cookie.TPlo  -fno-common -DPIC -o 
> .libs/apache_cookie.lo
> apache_request.h:5: header file 'httpd.h' not found
> apache_request.h:6: header file 'http_config.h' not found
> apache_request.h:7: header file 'http_core.h' not found
> apache_request.h:8: header file 'http_log.h' not found
> apache_request.h:9: header file 'http_main.h' not found
> apache_request.h:10: header file 'http_protocol.h' not found
> apache_request.h:11: header file 'util_script.h' not found
> apache_request.h:38: undefined type, found `table'
> apache_request.h:47: undefined type, found `request_rec'
> apache_request.h:55: undefined type, found `table'
> apache_request.h:56: undefined type, found `FILE'
> apache_request.h:89: undefined type, found `request_rec'
> apache_request.h:95: undefined type, found `array_header'
> apache_request.h:101: undefined type, found `FILE'
> apache_request.h:121: undefined type, found `pool'
> apache_cookie.h:6: undefined type, found `array_header'
> apache_cookie.h:9: undefined type, found `request_rec'
> apache_cookie.h:11: undefined type, found `array_header'
> apache_cookie.h:44: undefined type, found `request_rec'
> apache_cookie.h:45: undefined type, found `request_rec'
> apache_cookie.c:113: undefined type, found `request_rec'
> apache_cookie.c:115: undefined type, found `va_list'
> apache_cookie.c:132: illegal expression, found `char'
> apache_cookie.c:136: illegal expression, found `char'
> apache_cookie.c:144: undefined type, found `request_rec'
> apache_cookie.c:196: undefined type, found `pool'
> apache_cookie.c:232: undefined type, found `array_header'
> apache_cookie.c:233: undefined type, found `pool'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> make[1]: *** [apache_cookie.lo] Error 1
> make: *** [all-recursive] Error 1
> [tomshaw-51:local/src/libapreq-1.1] tshaw% ./configure 
> --with-apache-includes=/usr/usr/include/httpd
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc
> checking build system type... powerpc-apple-darwin6.6
> checking host system type... powerpc-apple-darwin6.6
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... file_magic Mach-O 
> dynamically linked shared library
> checking command to parse /usr/bin/nm -p output... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... no
> checking dlfcn.h presence... no
> checking for dlfcn.h... no
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... yes
> checking if gcc static flag -static works... no
> 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 whether the linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking how to hardcode library paths into programs... unsupported
> checking whether stripping libraries is possible... no
> checking dynamic linker characteristics... darwin6.6 dyld
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking for ranlib... (cached) ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating c/Makefile
> config.status: executing depfiles commands
> [tomshaw-51:local/src/libapreq-1.1] tshaw% make
> Making all in c
> source='apache_cookie.c' object='apache_cookie.lo' libtool=yes \
> depfile='.deps/apache_cookie.Plo' 
> tmpdepfile='.deps/apache_cookie.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" -DVERSION=\"1.1\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1  -I. -I. -I/usr/usr/include/httpd    -g -O2 -c -o 
> apache_cookie.lo `test -f 'apache_cookie.c' || echo 
> './'`apache_cookie.c
> rm -f .libs/apache_cookie.lo
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" 
> -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I/usr/usr/include/httpd 
> -g -O2 -c apache_cookie.c -Wp,-MD,.deps/apache_cookie.TPlo -fno-common 
> -DPIC -o .libs/apache_cookie.lo
> apache_request.h:5: header file 'httpd.h' not found
> apache_request.h:6: header file 'http_config.h' not found
> apache_request.h:7: header file 'http_core.h' not found
> apache_request.h:8: header file 'http_log.h' not found
> apache_request.h:9: header file 'http_main.h' not found
> apache_request.h:10: header file 'http_protocol.h' not found
> apache_request.h:11: header file 'util_script.h' not found
> apache_request.h:38: undefined type, found `table'
> apache_request.h:47: undefined type, found `request_rec'
> apache_request.h:55: undefined type, found `table'
> apache_request.h:56: undefined type, found `FILE'
> apache_request.h:89: undefined type, found `request_rec'
> apache_request.h:95: undefined type, found `array_header'
> apache_request.h:101: undefined type, found `FILE'
> apache_request.h:121: undefined type, found `pool'
> apache_cookie.h:6: undefined type, found `array_header'
> apache_cookie.h:9: undefined type, found `request_rec'
> apache_cookie.h:11: undefined type, found `array_header'
> apache_cookie.h:44: undefined type, found `request_rec'
> apache_cookie.h:45: undefined type, found `request_rec'
> apache_cookie.c:113: undefined type, found `request_rec'
> apache_cookie.c:115: undefined type, found `va_list'
> apache_cookie.c:132: illegal expression, found `char'
> apache_cookie.c:136: illegal expression, found `char'
> apache_cookie.c:144: undefined type, found `request_rec'
> apache_cookie.c:196: undefined type, found `pool'
> apache_cookie.c:232: undefined type, found `array_header'
> apache_cookie.c:233: undefined type, found `pool'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> make[1]: *** [apache_cookie.lo] Error 1
> make: *** [all-recursive] Error 1
> [tomshaw-51:local/src/libapreq-1.1] tshaw% ./configure 
> --with-apache-includes=/usr/usr/include/httpd
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc
> checking build system type... powerpc-apple-darwin6.6
> checking host system type... powerpc-apple-darwin6.6
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... file_magic Mach-O 
> dynamically linked shared library
> checking command to parse /usr/bin/nm -p output... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... no
> checking dlfcn.h presence... no
> checking for dlfcn.h... no
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... yes
> checking if gcc static flag -static works... no
> 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 whether the linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking how to hardcode library paths into programs... unsupported
> checking whether stripping libraries is possible... no
> checking dynamic linker characteristics... darwin6.6 dyld
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking for ranlib... (cached) ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating c/Makefile
> config.status: executing depfiles commands
> [tomshaw-51:local/src/libapreq-1.1] tshaw% make
> Making all in c
> source='apache_cookie.c' object='apache_cookie.lo' libtool=yes \
> depfile='.deps/apache_cookie.Plo' 
> tmpdepfile='.deps/apache_cookie.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" -DVERSION=\"1.1\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1  -I. -I. -I/usr/usr/include/httpd    -g -O2 -c -o 
> apache_cookie.lo `test -f 'apache_cookie.c' || echo 
> './'`apache_cookie.c
> rm -f .libs/apache_cookie.lo
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" 
> -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. -I/usr/usr/include/httpd 
> -g -O2 -c apache_cookie.c -Wp,-MD,.deps/apache_cookie.TPlo -fno-common 
> -DPIC -o .libs/apache_cookie.lo
> apache_request.h:5: header file 'httpd.h' not found
> apache_request.h:6: header file 'http_config.h' not found
> apache_request.h:7: header file 'http_core.h' not found
> apache_request.h:8: header file 'http_log.h' not found
> apache_request.h:9: header file 'http_main.h' not found
> apache_request.h:10: header file 'http_protocol.h' not found
> apache_request.h:11: header file 'util_script.h' not found
> apache_request.h:38: undefined type, found `table'
> apache_request.h:47: undefined type, found `request_rec'
> apache_request.h:55: undefined type, found `table'
> apache_request.h:56: undefined type, found `FILE'
> apache_request.h:89: undefined type, found `request_rec'
> apache_request.h:95: undefined type, found `array_header'
> apache_request.h:101: undefined type, found `FILE'
> apache_request.h:121: undefined type, found `pool'
> apache_cookie.h:6: undefined type, found `array_header'
> apache_cookie.h:9: undefined type, found `request_rec'
> apache_cookie.h:11: undefined type, found `array_header'
> apache_cookie.h:44: undefined type, found `request_rec'
> apache_cookie.h:45: undefined type, found `request_rec'
> apache_cookie.c:113: undefined type, found `request_rec'
> apache_cookie.c:115: undefined type, found `va_list'
> apache_cookie.c:132: illegal expression, found `char'
> apache_cookie.c:136: illegal expression, found `char'
> apache_cookie.c:144: undefined type, found `request_rec'
> apache_cookie.c:196: undefined type, found `pool'
> apache_cookie.c:232: undefined type, found `array_header'
> apache_cookie.c:233: undefined type, found `pool'
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> make[1]: *** [apache_cookie.lo] Error 1
> make: *** [all-recursive] Error 1
> [tomshaw-51:local/src/libapreq-1.1] tshaw% ./configure 
> --with-apache-includes=/usr/local/src/apache_1.3.27/src/include
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc
> checking build system type... powerpc-apple-darwin6.6
> checking host system type... powerpc-apple-darwin6.6
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... file_magic Mach-O 
> dynamically linked shared library
> checking command to parse /usr/bin/nm -p output... ok
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... no
> checking dlfcn.h presence... no
> checking for dlfcn.h... no
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... yes
> checking if gcc static flag -static works... no
> 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 whether the linker (/usr/bin/ld) supports shared libraries... 
> yes
> checking how to hardcode library paths into programs... unsupported
> checking whether stripping libraries is possible... no
> checking dynamic linker characteristics... darwin6.6 dyld
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking for ranlib... (cached) ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating c/Makefile
> config.status: executing depfiles commands
> [tomshaw-51:local/src/libapreq-1.1] tshaw% make
> Making all in c
> source='apache_cookie.c' object='apache_cookie.lo' libtool=yes \
> depfile='.deps/apache_cookie.Plo' 
> tmpdepfile='.deps/apache_cookie.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" 
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" -DVERSION=\"1.1\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1  -I. -I. -I/usr/local/src/apache_1.3.27/src/include 
> -g -O2 -c -o apache_cookie.lo `test -f 'apache_cookie.c' || echo 
> './'`apache_cookie.c
> rm -f .libs/apache_cookie.lo
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" 
> -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. 
> -I/usr/local/src/apache_1.3.27/src/include -g -O2 -c apache_cookie.c 
> -Wp,-MD,.deps/apache_cookie.TPlo  -fno-common -DPIC -o 
> .libs/apache_cookie.lo
> /usr/local/src/apache_1.3.27/src/include/ap_config.h:114: header file 
> 'os.h' not found
> cpp-precomp: warning: errors during smart preprocessing, retrying in 
> basic mode
> make[1]: *** [apache_cookie.lo] Error 1
> make: *** [all-recursive] Error 1
> [tomshaw-51:local/src/libapreq-1.1] tshaw%
>
-- 
David Wheeler                                     AIM: dwTheory
david@kineticode.com                              ICQ: 15726394
http://kineticode.com/                         Yahoo!: dew7e
                                                Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]


Re: Fwd: re installing libapreq on Jaguar: An Upda

Posted by Stas Bekman <st...@stason.org>.
David Wheeler wrote:
> FYI.
> 
> David
> 
> Begin forwarded message:
> 
>> From: Tom Shaw <ts...@oitc.com>
>> Date: Mon Jun 16, 2003  9:14:36  PM US/Eastern
>> To: david@wheeler.net
>> Subject: re installing libapreq on Jaguar: An Upda
>>
>> Help is appreciated.

Apache 1.3 and mod_perl 1.x need to be installed before you build libapreq.

>> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
>> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libapreq\" 
>> -DVERSION=\"1.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
>> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
>> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I. 
>> -I/usr/local/apache/include -g -O2 -c apache_cookie.c 
>> -Wp,-MD,.deps/apache_cookie.TPlo  -fno-common -DPIC -o 
>> .libs/apache_cookie.lo
>> apache_request.h:5: header file 'httpd.h' not found
>> apache_request.h:6: header file 'http_config.h' not found
>> apache_request.h:7: header file 'http_core.h' not found
>> apache_request.h:8: header file 'http_log.h' not found
>> apache_request.h:9: header file 'http_main.h' not found
>> apache_request.h:10: header file 'http_protocol.h' not found



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com