Re: Test fail on AIX 5.3

2007-05-25 Thread dektidty

Jonathan Vanasco wrote:


On May 3, 2007, at 12:57 AM, [EMAIL PROTECTED] wrote:
util...FAILED tests 
36-37  Failed 
2/89 tests, 97.75% okay

Failed Test Stat Wstat Total Fail  Failed  List of Failed


interesting -- thats where OSX fails too.

Joe wrote some suggestions about 1-2 weeks ago to try and get my os to 
compile that correctly -- it didn't work for me, but it might work for 
you.




Hi,

I have experienced a bit more with the tests in library/t and for now I 
have found something weird in util.c


in test_charset_divine it seems that expect should be defined as char 
expect[7] as apreq_decode use url_decode which seems to add an ending 0 
to the destination char *. This 0 when expect is defined as char 
expect[6] seems to kill char src3[] which becomes empty and then the 
test fails.
Im not 100% sure about that but it seems there is something weird here. 
If any dev could confirm and check it. I ll try now to look why 
library/t/params and library/t/parsers crash.


Thanks.


Re: Test fail on AIX 5.3

2007-05-25 Thread Joe Schaefer
[EMAIL PROTECTED] writes:

 I have experienced a bit more with the tests in library/t and for now
 I have found something weird in util.c

 in test_charset_divine it seems that expect should be defined as char
 expect[7] as apreq_decode use url_decode which seems to add an ending
 0 to the destination char *. This 0 when expect is defined as char
 expect[6] seems to kill char src3[] which becomes empty and then the
 test fails. Im not 100% sure about that but it seems there is
 something weird here. If any dev could confirm and check it. I ll try
 now to look why library/t/params and library/t/parsers crash.

I concur with your analysis- great job!  I'll try to patch the source
soonish.

-- 
Joe Schaefer



Test fail on AIX 5.3

2007-05-03 Thread dektidty

libapreq : 2.08
Apache : 2.0.53
Gcc : powerpc-ibm-aix5.2.0.0-gcc-3.3.2  or powerpc-ibm-aix5.3.0.0-gcc-4.1.1

Configure : Ok
Compilation : Ok

Tests: doesnt work (see below for detail)
Installation : Ok
Running :  apachectl or httpd core dump imediatly.


Configure :
./configure --with-apache2-apxs=/appli/apache/bin/apxs

checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... powerpc-ibm-aix5.3.0.0
checking host system type... powerpc-ibm-aix5.3.0.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
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 -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC...
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries... yes

checking dynamic linker characteristics... aix5.3.0.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes

checking for g++ option to produce PIC...
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes

checking dynamic linker characteristics... aix5.3.0.0 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag F77 to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC...
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared 
libraries... yes

checking dynamic linker characteristics... aix5.3.0.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... ./install-sh -c
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for /appli/apache.2.052/bin/apr-config... yes
checking for /appli/apache.2.052/bin/apu-config... yes
Can't locate Apache/Test.pm in @INC (@INC contains: 
/usr/opt/perl5/lib/5.8.2/aix-thread-multi /usr/opt/perl5/lib/5.8.2 
/usr/opt/perl5/lib/site_perl/5.8.2/aix-thread-multi 
/usr/opt/perl5/lib/site_perl/5.8.2 /usr/opt/perl5/lib/site_perl .) at 
build/version_check.pl line 27.

 setting APR_INCLUDES to  

Re: Test fail on AIX 5.3

2007-05-03 Thread Jonathan Vanasco


On May 3, 2007, at 12:57 AM, [EMAIL PROTECTED] wrote:
util...FAILED tests  
36-37  Failed  
2/89 tests, 97.75% okay

Failed Test Stat Wstat Total Fail  Failed  List of Failed


interesting -- thats where OSX fails too.

Joe wrote some suggestions about 1-2 weeks ago to try and get my os  
to compile that correctly -- it didn't work for me, but it might work  
for you.