Re: Error Building libapreq2.08

2007-04-18 Thread Joe Schaefer
Jonathan Vanasco [EMAIL PROTECTED] writes:

 On Apr 15, 2007, at 8:15 PM, Joe Schaefer wrote:

 # at (util.c:106) test 4 in test_charset_divine
 # testing: apreq_decode(expect, elen, src3, sizeof(src3) -1) == 
 APR_SUCCESS,
 as integers (util.c:108)
 #  format: %d
 #left: 120011
 #   right: 120011
 not ok 36 - apreq_decode(expect, elen, src3, sizeof(src3) -1) ==
 APR_SUCCESS,

 Still puzzled as to why left == right here, but that error code is
 APREQ_ERROR_BADCHAR.  There are only a few places in util.c which
 return that error, and none of them look relevant to the decoding
 of src3.

 It makes little sense to me either.

Try removing the register declarations in url_decode.  If that
doesn't resolve it, I'm afraid you'll need to step through that
test using gdb.

 I think everything pretty much works if i install, except for uploads
 which seem to cause a segfault or just crash.

If you compiler can't compile url_decode correctly, there's
no reason to believe it compiled the more complex stuff
correctly either.

-- 
Joe Schaefer



Re: Error Building libapreq2.08

2007-04-15 Thread Joe Schaefer
Jonathan Vanasco [EMAIL PROTECTED] writes:

 I encountered an error building libapreq2.08

 I posted it on the mp list when I thought it was perl related, but the issue
 seems to be in the C code , so i'm reposting here.

 I'm running osx 10.4.9

What optimization flags are you using?  You may need -O0 on osx.

-- 
Joe Schaefer



Re: Error Building libapreq2.08

2007-04-15 Thread Jonathan Vanasco


On Apr 15, 2007, at 9:22 AM, Joe Schaefer wrote:


Jonathan Vanasco [EMAIL PROTECTED] writes:


I encountered an error building libapreq2.08

I posted it on the mp list when I thought it was perl related, but  
the issue

seems to be in the C code , so i'm reposting here.

I'm running osx 10.4.9


What optimization flags are you using?  You may need -O0 on osx.


Makefile had:

CFLAGS = -g -O2 -fno-strict-aliasing
CXXFLAGS = -g -O2

I tried it as -O0, no luck

Any other  suggestions?




// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -

| SyndiClick.com
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -

|  FindMeOn.com - The cure for Multiple Web Personality Disorder
|  Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -

|  RoadSound.com - Tools For Bands, Stuff For Fans
|  Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -





Re: Error Building libapreq2.08

2007-04-15 Thread Joe Schaefer
Jonathan Vanasco [EMAIL PROTECTED] writes:

 It makes little sense to me either.

 I think everything pretty much works if i install, except for uploads
 which seem to cause a segfault or just crash.

What compiler version are you using?

-- 
Joe Schaefer