Opened 14 years ago

Closed 13 years ago

#28417 closed defect (worksforme)

poppler can't find cairo.h or cairo-ft.h

Reported by: fu7mu4 (fu7mu4) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: poppler

Description

I could not upgrade poppler from 0.14.5_1 to 0.16.2_0 on my Snowleopard 10.6, then I checked main.log, so it said that no cairo.h and cairo-ft.h . But I find them in /opt/local/include/cairo/ .

So I tried to copy those headder files to /opt/local/include and build, it went well, and finished upgrading.

I don't know why my those headder are in /opt/local/include/cairo .

thanks to read it.

Attachments (2)

main.log (42.2 KB) - added by fu7mu4 (fu7mu4) 14 years ago.
main.log for poppler @0.16.2_0
poppler0.18.2.log (551.2 KB) - added by fu7mu4 (fu7mu4) 13 years ago.
main.log of poppler 0.18.2

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to devans@…
Summary: fail to build poppler , so I copy /opt/local/include/cairo/cairo*h to /opt/local/includepoppler can't find cairo.h or cairo-ft.h

Please attach your main.log from the failed installation so that we have some hope of fixing this. You should not copy headers to strange places. /opt/local/include/cairo/ is the correct place for cairo.h and cairo-ft.h to be and it is an error to move or copy them elsewhere.

Changed 14 years ago by fu7mu4 (fu7mu4)

Attachment: main.log added

main.log for poppler @0.16.2_0

comment:2 in reply to:  1 Changed 14 years ago by fu7mu4 (fu7mu4)

Replying to ryandesign@…:

Please attach your main.log from the failed installation so that we have some hope of fixing this. You should not copy headers to strange places. /opt/local/include/cairo/ is the correct place for cairo.h and cairo-ft.h to be and it is an error to move or copy them elsewhere.

OKey, I attached main.log.

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Do you still see this with 0.18.2? If so, could you please attach a new log? There should be more information now that silent make rules have been disabled.

Changed 13 years ago by fu7mu4 (fu7mu4)

Attachment: poppler0.18.2.log added

main.log of poppler 0.18.2

comment:4 Changed 13 years ago by fu7mu4 (fu7mu4)

Yes , now I'm using poppler 0.18.2. and installed easily. so I had to activate poppler @0.18.1 , uninstall poppler @0.18.2 and install poppler @0.18.2 again !

I don't hava cairo.h in /opt/local/include, those header is in /opt/local/include/cairo.

Is it enough for your developping ? If you want more information, please contact to me.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

The log shows poppler built successfully, so there's nothing for me to do.

Note: See TracTickets for help on using tickets.