#71998 closed defect (fixed)
pdflib @7.0.5p3: fatal error: 'fp.h' file not found
| Reported by: | cmmccallum | Owned by: | ryandesign (Ryan Carsten Schmidt) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | sequoia | Cc: | |
| Port: | pdflib |
Description
Building grace, which requires PDFLib, which seems to try to install PDFLib-Lite. Fails with the "Configuration logfiles contain indicators of -Wimplicit-function-declaraion Other Macport notes mention that this is common and needs to be fixed.
Macports 2.10.5 current on OS X Sequoia 15.2
Attachments (2)
Change History (11)
comment:1 Changed 18 months ago by jmroot (Joshua Root)
| Port: | pdflib added; grace/PDFLib removed |
|---|
comment:3 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | sequoia added |
|---|---|
| Summary: | PDFLib/PDFlib-Lite-7.0.5p3 Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration → pdflib @7.0.5p3: Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration |
There should be a main.log file unless you removed it or the build succeeded. Its location would be printed by running the command port logfile pdflib.
The config.log is enough to see where there is an error in the configure script, but to see where the build ultimately failed we need to see the main.log.
On my system, the build fails with:
./pngconf.h:391:16: fatal error: 'fp.h' file not found
391 | # include <fp.h>
| ^~~~~~
Fixing the implicit function declaration does not fix the build error for me. I suspect it will be the same for you.
comment:4 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
The fp.h problem is a libpng bug only seen on recent versions of clang and described and fixed here:
comment:6 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | set to ryandesign |
|---|---|
| Status: | new → accepted |
| Summary: | pdflib @7.0.5p3: Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration → pdflib @7.0.5p3: fatal error: 'fp.h' file not found |
comment:7 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
comment:8 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)
Ok, your log shows yet a different error:
fatal error: 'string' file not found
Try ProblemHotlist#clts16 for that.

Please attach the main.log and config.log.