httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Williams <...@mathforum.org>
Subject Re: libapreq-1.1 Release Candidate 1
Date Tue, 26 Nov 2002 23:50:31 GMT
Edward,

Instead of just "./configure", you'll need to do
"./configure --with-apache-includes=/usr/include/httpd"
(assuming that's where your apache headers are).

That'll get you farther, anyway.

Joe, maybe this could be added as a default for Darwin or something?


  -Ken


On Tuesday, November 26, 2002, at 01:12  PM, Edward Moon wrote:

> PowerBook Ti 667 Rev1 (1GB RAM 30GB HD)
> OS X 10.2
> Apache 1.3.27 installed at Apple default (custom build w/ 
> mod_perl 1.27)
> Apache 2.0.43 installed at /usr/local/apache2
>
> Ran configure then make and got the error:
> cpp-precomp: warning: errors
> during smart preprocessing, retrying in basic
> mode
> make[1]: *** [apache_cookie.lo] Error 1
> make: *** [all-recursive] Error 1
>
> Gory details follows:
>
> [honeycrisp:~/src/httpd-apreq] em% ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> 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.2
> checking host system type... powerpc-apple-darwin6.2
> 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.2 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
> [honeycrisp:~/src/httpd-apreq] em% 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
> [honeycrisp:~/src/httpd-apreq] em%
>
>
> On 25 Nov 2002, Joe Schaefer wrote:
>
>> Date: 25 Nov 2002 18:34:15 -0500
>> From: Joe Schaefer <joe+apache@sunstarsys.com>
>> To: modperl list <modperl@perl.apache.org>, macosx list 
>> <macosx@perl.org>,
>>      apreq list <apreq-dev@httpd.apache.org>
>> Subject: libapreq-1.1 Release Candidate 1
>>
>>
>> The apreq developers are planning a maintenance release of
>> libapreq-1.1.  This version does not include support for
>> modperl-2, but it does address some outstanding problems in
>> 1.0:
>>
>>   * OS X support
>>   * perl 5.8 segfaults related to file uploads.
>>
>> Please give the tarball at
>>
>>   http://www.apache.org/~joes/libapreq-1.1_rc1.tar.gz
>>
>> a try and report comments/problems/etc. to the apreq-dev list
>> at apreq-dev@httpd.apache.org.  There are special build
>> instructions for OS X, so be sure to have a look at
>>
>>   http://www.apache.org/~joes/
>>
>> for details on OS X support.  We'll be patching the INSTALL &
>> README documents based on OS X user feedback.
>>
>> Note:  We really could use more volunteers participating
>> in apreq-dev, especially folks with OS X experience.  Even though
>> libapreq is a small (ASF) project, there's plenty of work to be
>> done- both in improving/supporting the libapreq-1.x codebase as
>> well as porting apreq to modperl-2.
>>
>> Thanks.
>>
>> --
>> Joe Schaefer
>>
>
>


Mime
View raw message