reassign 394894 medusa
forcemerge 394432 394894
tags 394894 patch
thanks

On 10/23/06 11:20, LaMont Jones wrote:
> the following errors show up:
> > i486-linux-gnu-gcc  -Wall -g -O2 -g -DDEBUG -fPIC -I/usr/local/include 
> > -I/usr/local/ssl/include -I/usr/include/subversion-1 -I/usr/include/apr-0 
> > -I/usr/include/postgresql  -L/usr/local/lib -rdynamic -ldl  -o postgres.mod 
> > -module -fPIC -shared  postgres.o medusa-trace.o  -lsvn_client-1 -lpq -lncp 
> > -lssl -lpthread 

The problem is actually the "-I/usr/include/apr-0 " subversion has
transitioned from apr0 apr1 and medusa has hardcoded apr0 into the
configure script. The correct option is to use arp-config to return
the meta information about the system apr library. Patch is attached.

Troy
--- configure.ori       2006-10-23 13:52:59.000000000 -0600
+++ configure   2006-10-23 13:53:34.000000000 -0600
@@ -3418,7 +3418,7 @@ if test -d "/usr/local/ssl/lib"
 fi
 
 CFLAGS="$CFLAGS -fPIC"
-CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/ssl/include 
-I/usr/include/subversion-1 -I/usr/include/apr-0 -I/usr/include/postgresql"
+CFLAGS="$CFLAGS -I/usr/local/include -I/usr/local/ssl/include 
-I/usr/include/subversion-1 $(apr-config --includes --cppflags) 
-I/usr/include/postgresql"
 
 
 echo "$as_me:$LINENO: checking for main in -lpthread" >&5

Attachment: pgpGKYZ0l0FaN.pgp
Description: PGP signature

Reply via email to