missing required NSPR / NSS header

YuGiOhJCJ Mailing-List yugiohjcj-mailinglist at laposte.net
Sun Sep 30 19:13:54 UTC 2012


Hello,

I try to build rpm-4.9.1.3 from the source code.
I do this :
$ ./configure --prefix=/usr
[...]
checking dwarf.h usability... no
checking dwarf.h presence... no
checking for dwarf.h... no
checking nspr.h usability... no
checking nspr.h presence... no
checking for nspr.h... no
configure: error: missing required NSPR / NSS header

As you can see there are missing headers.
So, no problem, I build from source code nss-3.13.6-with-nspr-4.9.2.

I build nspr doing this:
$ tar xvf nss-3.13.6-with-nspr-4.9.2.tar.gz
$ cd nss-3.13.6/mozilla/nsprpub/
$ ./configure --prefix=/usr
$ make
$ make install DESTDIR=/tmp/nspr-4.9.2
$ cd -
$ rm -rfv nss-3.13.6

I build nss doing this:
$ tar xvf nss-3.13.6-with-nspr-4.9.2.tar.gz
$ cd nss-3.13.6/mozilla/security/nss
$ make nss_build_all
$ mkdir -p /tmp/nss-3.13.6/usr
$ cp -rL ../../dist/Linux*/* /tmp/nss-3.13.6/usr
$ cd -
$ rm -rfv nss-3.13.6

I retry to build rpm-4.9.1.3 from the source code.
I do this :
$ ./configure --prefix=/usr
[...]
checking dwarf.h usability... no
checking dwarf.h presence... no
checking for dwarf.h... no
checking nspr.h usability... no
checking nspr.h presence... no
checking for nspr.h... no
configure: error: missing required NSPR / NSS header

I don't understand why it doesn't find my headers...

Have you any idea about this?

Thank you.
Regards.


More information about the Rpm-list mailing list