GNOME Bugzilla – Bug 335434
Can't compile because nspr.h is missing
Last modified: 2013-09-14 16:50:00 UTC
Tried to compile latest version with jhbuild. Configure reports: "checking for Mozilla nspr libraries... no" of course, I didn't have the corresponding devel files installed... Configure also states: evolution-data-server has been configured as follows: LDAP support: no NNTP support: yes Kerberos 4/5: no/no SSL support: yes (Mozilla NSS) SMIME support: yes (Mozilla NSS) IPv6 support: yes Exchange support: no Dot Locking: yes File Locking: fcntl Gtk Doc: no But when compiling, this error emerges: e-msgport.c:39:18: error: nspr.h: No such file or directory This file is seen as absent by the configure script. If it's mandatory, configure should stop and tell it. If it's optional, then the user should be allowed to compile without support for this functionnality. This is kinda annoying for new users who want to compile apps with jhbuild "out of the box".
*** Bug 335436 has been marked as a duplicate of this bug. ***
It is annoying: checking for NSS... checking for Mozilla nspr4 includes in ... "" checking nspr.h usability... no checking nspr.h presence... no checking for nspr.h... no checking prio.h usability... no checking prio.h presence... no checking for prio.h... no checking for Mozilla nspr libraries... no checking for Mozilla nss3 includes... no Mozilla nspr library is called "mozilla-nspr" and not simply "nspr" as it is specified in configure.in (the same happens for nss): claudio@dijkstra:~/cvs/gnome-2.16/evolution-data-server$ pkg-config --cflags --libs mozilla-nspr -I/opt/gnome-2.16/include/mozilla-1.7.13/nspr -L/opt/gnome-2.16/lib/mozilla-1.7.13 -lplds4 -lplc4 -lnspr4 -lpthread -ldl I think that the voodoo in configure.in to detect these libraries needs to be reviewed.
This was fixed by fejj today.