Re: missing dep in configure



Markus Bertheau wrote:
I'm getting this upon compilation, so there is probably a check for
nspr missing in configure, or it's not working correctly. this is
ubuntu 6.06 with all latest updates.

I'm building tinymail inside a jhbuild environment (it's great in order
not to taint the system with a lot of development libraries) and the
files that are missing are provided by the xulrunner library.

I had the same problem like you. I've attached a patch to use the
xulrunner libraries, maybe it's not worth for you if you're not inside a
jhbuild environment but it shows the right places to modify (I modified
the configure.ac as Phillip said).

Br


Index: libtinymail-camel/camel-lite/configure.ac
===================================================================
--- libtinymail-camel/camel-lite/configure.ac	(revision 1074)
+++ libtinymail-camel/camel-lite/configure.ac	(working copy)
@@ -256,7 +256,7 @@
 	
 	if test "x${check_manually}" = "xno"; then
 		AC_MSG_CHECKING(Mozilla NSPR pkg-config module name)
-		mozilla_nspr_pcs="nspr mozilla-nspr firefox-nspr"
+		mozilla_nspr_pcs="nspr mozilla-nspr firefox-nspr xulrunner-nspr"
 		for pc in $mozilla_nspr_pcs; do
 			if $PKG_CONFIG --exists $pc; then
 				AC_MSG_RESULT($pc)
@@ -266,7 +266,7 @@
 		done
 		
 		AC_MSG_CHECKING(Mozilla NSS pkg-config module name)
-		mozilla_nss_pcs="nss mozilla-nss firefox-nss"
+		mozilla_nss_pcs="nss mozilla-nss firefox-nss xulrunner-nss"
 		for pc in $mozilla_nss_pcs; do
 			if $PKG_CONFIG --exists $pc; then
 				AC_MSG_RESULT($pc)



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