Bug 1023775 - Missing header files
Missing header files
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: python-nss (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: John Dennis
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-27 15:11 EDT by David Caudill
Modified: 2013-10-28 17:14 EDT (History)
1 user (show)

See Also:
Fixed In Version: python-nss-0.14.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-28 17:14:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Caudill 2013-10-27 15:11:20 EDT
Description of problem:
When attempting to use setup.py, I run into an error stating "unable to locate include directory containing header files 'nss.h', 'pk11pub.h'" and these files are not in the package.  Based on what I have seen in the code, I believe the documentation for this package should be updated with where to obtain the necessary include files so that this can be setup appropriately.

Version-Release number of selected component (if applicable):
20

How reproducible:
Easily reproducible in Windows based setups.

Steps to Reproduce:
1.run setup.py in package
2.
3.

Actual results:
Error is given that I have listed.

Expected results:
python-nss should be setup and ready to use with Python installation.

Additional info:
Comment 1 John Dennis 2013-10-28 12:30:51 EDT
The PiPy documentation for python-nss states it's dependent upon NSS and NSPR. python-nss is a CPython module (i.e. it's written in C code, not Python). To build you'll need the C development headers and libraries for NSS and NSPR (by the way links for those dependencies are in the PyPi documentation). I don't know how to specify how to obtain those dependencies for every possible system you might try to build on. PyPi is not really setup to handle these types of issues.

If you're on a Linux system you probably need the nss-devel nspr-devel packages installed using your system package manager. But different distributions handle this differently, so this is just general advise.

When it comes to windows, I'm afraid I can't help you further. python-nss is an open source project and we welcome contributions. If you figure how to build it on windows then please contribute your work to the project and it will be included in a subsequent release.

I will update the PiPy documentation to give an indication of what you might need to do.

Also, I noticed the version on PiPy is out of date, the current version is 0.14.1. I will update PiPy shortly.
Comment 2 John Dennis 2013-10-28 17:14:49 EDT
python-nss was updated on PyPI to version 0.14.1. The description has some verbage on installing pre-requisite packages.

Please note the Platform is Posix (no change, it's always been Posix). If you would like to contribute Win32 Platform support that would be wonderful and appreciated.

Note You need to log in before you can comment on or make changes to this bug.