Opened 12 years ago

Closed 12 years ago

#33966 closed defect (fixed)

gwyddion: #error "Only <glib.h> can be included directly."

Reported by: nlaanait@… Owned by: rowue@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch Cc: yeti@…, berneves@…, ryandesign (Ryan Carsten Schmidt)
Port: gwyddion

Description

I encounter an error while building gwyddion on OS 10.6. Attached is the log file (main.log) it looks like it's a glib2 error. I'd appreciate any help.

Attachments (2)

main.log (87.4 KB) - added by nlaanait@… 12 years ago.
gwyddion-r13351.diff (5.5 KB) - added by yeti@… 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by nlaanait@…

Attachment: main.log added

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

Cc: yeti@… added
Owner: changed from macports-tickets@… to rowue@…
Port: gwyddion added
Summary: Gwyddion build error (glib2)gwyddion: #error "Only <glib.h> can be included directly."

Yup, same as many other tickets filed in the past 48 hours for other ports. Probably the same fix too: either update to a newer version, or if none is available or that doesn't help, replace occurrences of "#include <glib/anything.h>" with "#include <glib.h>".

Changed 12 years ago by yeti@…

Attachment: gwyddion-r13351.diff added

comment:2 Changed 12 years ago by yeti@…

Fixed in svn revision 13351. Patch attached.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: berneves@… added
Keywords: haspatch added

Has duplicate #34116.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.