After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335434 - Can't compile because nspr.h is missing
Can't compile because nspr.h is missing
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
1.8.x (obsolete)
Other All
: Immediate blocker
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
: 335436 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-21 23:40 UTC by Luis Menina
Modified: 2013-09-14 16:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Luis Menina 2006-03-21 23:40:44 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".
Comment 1 Sergej Kotliar 2006-03-22 21:10:52 UTC
*** Bug 335436 has been marked as a duplicate of this bug. ***
Comment 2 Claudio Saavedra 2006-04-23 16:37:21 UTC
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.
Comment 3 Claudio Saavedra 2006-04-25 19:28:32 UTC
This was fixed by fejj today.