#12863 closed defect (fixed)
port lightning/GNU Lightning lacks "lightning.h" file
Reported by: | florian.ebeling@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | florian.ebeling@…, ryandesign (Ryan Carsten Schmidt), arto.bendiken@… | |
Port: | lightning |
Description
The (quite central) header file from the GNU lightning project is not to be found in the installed port.
Change History (5)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | florian.ebeling@… ryandesign@… added |
---|---|
Milestone: | → Port Bugs |
Owner: | changed from macports-dev@… to ryandesign@… |
comment:2 Changed 17 years ago by florian.ebeling@…
You are right. It's not a Portfile problem. The reason why i think the header should be there is that the documentation of the project goes on and on about how you use lightning through this header. And in the current Makefile.am it is marked for installation. This change came in in revision 1.3, Wed Jul 12 12:17:17 2006 UTC. It is not really commented though, i guess a bugfix.
So the best thing to do would be updating the Portfile to use current. But unfortunately there is no newer release. I ask for one or otherwise continue to use my local Portfile for this. I guess you usually dont use public Portfile together with a fetch from a CSV repository? (And also there might be a reason why there is no release.)
comment:3 Changed 16 years ago by blb@…
Port: | lightning added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
A quick survey shows FreeBSD ports doesn't install lightning.h, Debian does (manually, not through just 'make install'), but the lightning docs do say
To use gnu lightning, you should include the lightning.h file that is put in your include directory by the `make install' command. That include files defines about four hundred public macros (plus others that are private to gnu lightning), one for each opcode listed above.
Updated to install the header file in r41480.
lightning is a very simple portfile. It doesn't seem to do anything unusual. It just seems as though the makefiles provided with the lightning software do not copy that header file anywhere. We can amend the portfile to install that header (to where?), if you think that's necessary. (Do you? Why?) You could also report this problem upstream, but the last release of lightning was in 2004 so if nobody else has encountered this problem in 3 years it's curious that you would now...