[xmlsec] Problem building xmlsec on Suse

Aleksey Sanin aleksey at aleksey.com
Wed Nov 23 09:39:25 PST 2005


Can you try this patch, please? You will need to get xmlsec sources
from CVS (http://www.aleksey.com/xmlsec/download.html) and then
run
	./autogen.sh --with-nss=/usr --with-nspr=/usr

instead of ./configure script.

Thanks!
Aleksey

Index: configure.in
===================================================================
RCS file: /cvs/gnome/xmlsec/configure.in,v
retrieving revision 1.127
diff -u -r1.127 configure.in
--- configure.in	15 Nov 2005 05:31:47 -0000	1.127
+++ configure.in	23 Nov 2005 17:36:46 -0000
@@ -486,7 +486,7 @@

      if test "z$with_nspr" != "z" ; then
  	NSPR_PREFIX="$with_nspr"
-	NSPR_CFLAGS="-I$with_nspr/include"
+	NSPR_CFLAGS="-I$with_nspr/include -I$with_nspr/include/nspr"
  	if test "z$with_gnu_ld" = "zyes" ; then
  	    NSPR_LIBS="-Wl,-rpath-link -Wl,$with_nspr/lib -L$with_nspr/lib 
$NSPR_LIBS_LIST"
  	else
@@ -557,7 +557,7 @@
      NSS_NSS_H=""

      if test "z$with_nss" != "z" ; then
-	NSS_CFLAGS="$NSS_CFLAGS -I$with_nss/include"
+	NSS_CFLAGS="$NSS_CFLAGS -I$with_nss/include -I$with_nss/include/nss"
  	if test "z$with_gnu_ld" = "zyes" ; then
  	    NSS_LIBS="$NSS_LIBS -Wl,-rpath-link -Wl,$with_nss/lib 
-L$with_nss/lib $NSS_LIBS_LIST"
          else



More information about the xmlsec mailing list