Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

itchako

macrumors newbie
Original poster
hi,

newbie with development using apple macs but kind of experienced on windows boxes... ;-)

Issue:
-Tried to compile OpenCPN under Snow Leopard 10.6.6.
-Complation successful but the linker complains about missing -lgobject-2.0
-Checked with pgk-config and really gobject is not availablel.
-Read that it should be part of glib-2.0 and tried to install using port, without success...

How can I add gobject-2.0 to my system to link the software mentioned above successfullyl

regards
itchako
 
I have glib2 (@2.26.1_0) installed via MacPorts under Mac OS X 10.6.6. Can you tell us why you couldn't install it? What went wrong?
 
I have glib2 (@2.26.1_0) installed via MacPorts under Mac OS X 10.6.6. Can you tell us why you couldn't install it? What went wrong?

sorry for the late answer but times are busy currently... ;-)

installation looks good to me (do not see any errors) but when I got it right in the /usr/local/lib/pkgconfig directory should be a gobject.pc file if installation was successful and this file is still missing...

Since my first tries I selfupdated port. When I now try to install glib2 I get the error that glib2-devel is already installed...

How can I verify that gobject was installed correctly and/or how I tell cmake or Xcode that it is available???

regards
itchako
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.