[MacPorts] #34242: libgda: #error "Only <glib.h> can be included directly."

MacPorts noreply at macports.org
Sun Apr 29 01:31:55 PDT 2012


#34242: libgda: #error "Only <glib.h> can be included directly."
---------------------------------+------------------------------------------
 Reporter:  montistefano@…       |       Owner:  landonf@…           
     Type:  defect               |      Status:  new                 
 Priority:  Normal               |   Milestone:                      
Component:  ports                |     Version:  2.0.4               
 Keywords:  haspatch             |        Port:  libgda              
---------------------------------+------------------------------------------

Comment(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?

-- 
Ticket URL: <https://trac.macports.org/ticket/34242#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list