Re: [Evolution-hackers] Which version of NSS and NSPR are evolution HEAD using?



Le mer 05/11/2003 à 10:19, Harry Lu a écrit :
> I was able to build HEAD one week or so before with NSS 3.7.1 and NSPR
> 4.2.2, but these days I got the following errors in addressbook:

According to :
http://www.mozilla.org/projects/security/pki/nss/release_notes_32.html#migration

you need the following patch to build HEAD with latest NSS (this only
fixes the dynamic NSS build, not the static one) :

--- configure.in        31 Oct 2003 13:28:26 -0000      1.619
+++ configure.in        5 Nov 2003 14:05:47 -0000
@@ -901,7 +896,7 @@
                                LIBS="$nsslibs $nsprlibs"
                                AC_TRY_LINK_FUNC(NSS_Init,
moz_nss_libs="yes", moz_nss_libs="no")
                                if test "$moz_nss_libs" = no; then
-                                       nsslibs="-lssl3 -lsmime3 -lnss3
-lsoftokn3"
+                                       nsslibs="-lssl3 -lsmime3 -lnss3
"
                                        LDFLAGS="$LDFLAGS
-L$with_nspr_libs $nsprlibs -L$with_nss_libs $nsslibs"
                                        AC_TRY_LINK_FUNC(NSS_Init,
moz_nss_libs="yes", moz_nss_libs="no")
                                fi
@@ -1132,7 +1127,7 @@
  
 EVO_SET_COMPILE_FLAGS(CERT_UI, glib-2.0 gobject-2.0 gthread-2.0,
                       $MANUAL_NSS_CFLAGS $MOZILLA_NSS_CFLAGS,
-                     $MOZILLA_L_DIR -lcertdb -lcryptohi -lsecutil
-lnsspki -lpk11wrap -lnssdev -lnssb $MANUAL_NSS_LIBS $MOZILLA_NSS_LIBS)
+                     $MOZILLA_L_DIR -lnss3 $MANUAL_NSS_LIBS
$MOZILLA_NSS_LIBS)
 AC_SUBST(CERT_UI_CFLAGS)
 AC_SUBST(CERT_UI_LIBS)
  

-- 
Frederic Crozat <fcrozat mandrakesoft com>
Mandrakesoft




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]