Hi Pavel,
I complied OOo1.9m80+cws_src680_libxmlsec08 for Mac OS X 10.3
however there seem to be some issues. 

1. clean check out of libxmlsec08
dmake patch
dmake create_patch
diff -u xmlsec1-1.2.6.patch.bak xmlsec1-1.2.6.patch
...
a lot of diffs

2. doesn't compile without patching configure.in

+           if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
+           if test -f $dir/libnss3.so -o -f $dir/libnss3.dylib ; then
part is trivial

but
-NSS_LIBS_LIST="-lnss3 -lsmime3"
-NSPR_LIBS_LIST="-lnspr4"
+NSS_LIBS_LIST="-lnss3 -lplc4 -lsoftokn3 -lsmime3"
+NSPR_LIBS_LIST="-lnspr4 -lplds4"

still requires several libraries. do you know something about it?


--- configure.in.patched        Thu Feb 24 19:40:06 2005
+++ configure.in        Thu Feb 24 19:55:37 2005
@@ -507,8 +507,8 @@
 NSPR_MIN_VERSION="4.0"
 NSS_CFLAGS=""
 NSS_LIBS=""
-NSS_LIBS_LIST="-lnss3 -lsmime3"
-NSPR_LIBS_LIST="-lnspr4"
+NSS_LIBS_LIST="-lnss3 -lplc4 -lsoftokn3 -lsmime3"
+NSPR_LIBS_LIST="-lnspr4 -lplds4"
 NSS_CRYPTO_LIB="$PACKAGE-nss"
 NSS_FOUND="no"

@@ -570,7 +570,7 @@
        done

        for dir in $ac_nss_lib_dir ; do
-           if test -f $dir/libnspr4.so ; then
+           if test -f $dir/libnspr4.so -o -f $dir/libnspr4.dylib ; then
                dnl do not add -L/usr/lib because compiler does it anyway
                if test "z$dir" = "z/usr/lib" ; then
                    NSPR_LIBS="$NSPR_LIBS_LIST"
@@ -641,7 +641,7 @@
         done

         for dir in $ac_nss_lib_dir ; do
-           if test -f $dir/libnss3.so ; then
+           if test -f $dir/libnss3.so -o -f $dir/libnss3.dylib ; then
                dnl do not add -L/usr/lib because compiler does it anyway
                if test "z$dir" = "z/usr/lib" ; then
                    NSS_LIBS="$NSS_LIBS_LIST"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to