Opened 13 years ago
Closed 13 years ago
#34242 closed defect (fixed)
libgda: #error "Only <glib.h> can be included directly."
Reported by: | montistefano@… | Owned by: | landonf (Landon Fuller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | libgda |
Description
Failed to install libgda, as dependance of gtk-sharp or anyway libgda stand alone, when try to include glib-2.0.
Attachments (3)
Change History (9)
Changed 13 years ago by montistefano@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | montistefano at me.com removed |
---|---|
Keywords: | libgda gtk-sharp glib removed |
Milestone: | MacPorts 2.1.0 |
Owner: | changed from macports-tickets@… to landonf@… |
Summary: | Failed to install libgda 1.2.4 → libgda: #error "Only <glib.h> can be included directly." |
Same glib2 2.32 incompatibility we've fixed in lots of other ports already. I'll see if I can make a patch.
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | Portfile.diff added |
---|
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-glib-2.32.diff added |
---|
comment:2 follow-up: 6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
Ok, here's the patch. The port's revision is increased because some of the files libgda installs are modified by the patch.
comment:3 follow-up: 4 Changed 13 years ago by montistefano@…
Thanks apply the diff was like a charm I moved to cd $(port dir libgda) The command short me to /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/libgda/ But, I suspect, this was the wrong directory, because the patch won't find the right files I moved manually to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_libgda/libgda/work/libgda-1.2.4/libgda there I've apply sudo patch -p0 < ~/Downloads/patch-glib-2.32.diff and the patch was applied in a second. I build gtk-sharp with sudo port install gtk-sharp then he have individuate the last dependencies libgda and build it correctly, finally. But gtk-sharp won't build because of an error with make in glib-2.0 step ;( ( gtk use another copy of glib? ). I must open a new ticket for this, right?
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to montistefano@…:
But gtk-sharp won't build because of an error with make in glib-2.0 step ;( ( gtk use another copy of glib? ). I must open a new ticket for this, right?
Yes please. This ticket is about libgda.
comment:5 Changed 13 years ago by montistefano@…
Very thanks, to maintain the history for the rest of us I have opened ticket #34272
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to ryandesign@…:
Ok, here's the patch. The port's revision is increased because some of the files libgda installs are modified by the patch.
libgda install main.log