Opened 16 years ago
Closed 15 years ago
#18571 closed defect (worksforme)
Libbonobo fails to build
Reported by: | RMADv3@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | libgobject orbit idl libbonobo | Cc: | |
Port: | libbonobo |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I'm trying to build Inkscape and the build process stops when it trie to build libbonobo. Here's the output.
Library not loaded: /opt/local/lib/libgobject-2.0.0.dylib Referenced from: /opt/local/bin/orbit-idl-2 Reason: Incompatible library version: orbit-idl-2 requires version 1901.0.0 or later, but libgobject-2.0.0.dylib provides version 1801.0.0
I actually get a OS crash window when that happens.
My system is a Powerbook G4 running Mac OS 10.4.11.
Attachments (1)
Change History (10)
Changed 16 years ago by RMADv3@…
Attachment: | orbit-idl-2_crash.png added |
---|
comment:1 follow-up: 2 Changed 16 years ago by blb@…
What's the output from running the following commands?
port provides /opt/local/lib/libgobject-2.0.0.dylib port installed glib*
comment:2 follow-up: 3 Changed 16 years ago by RMADv3@…
Replying to blb@…:
What's the output from running the following commands?
port provides /opt/local/lib/libgobject-2.0.0.dylib port installed glib*
I ran that and I got this:
/opt/local/lib/libgobject-2.0.0.dylib is provided by: glib2
and:
The following ports are currently installed: glib2 @2.18.2_0+universal glib2 @2.18.3_0+darwin_8+universal (active) glibmm @2.18.1_0 (active)
I had the GTK2 framework installed elsewhere on my system (from before I installed MacPorts). I suspected that may have been the cause. But since deleting that, it still gives me that error.
comment:3 Changed 16 years ago by RMADv3@…
Fixed it. Deactivated glib2 and installed glib2-devel. libbonobo built and installed without incident.
So for the record: libbonobo requires glib2-devel, not glib2.
comment:4 follow-up: 5 Changed 16 years ago by blb@…
glib2-devel definitely shouldn't be a requirement, did you have it installed in the past? It sounds as if your orbit2 port was built against glib2-devel, then other bits against just glib2.
comment:5 Changed 16 years ago by RMADv3@…
Replying to blb@…:
glib2-devel definitely shouldn't be a requirement, did you have it installed in the past? It sounds as if your orbit2 port was built against glib2-devel, then other bits against just glib2.
orbit2 was compiled long before I had glib-devel installed. So I agree with you that it doesn't make much sense that orbit2 (and a few other components) would suddenly require glib-2.19, rather than glib-2.18. However, libbonobo wouldn't build until I finally installed glib2-devel (2.19) and de-activated glib2 (2.18). Once I did that, it built with no problems whatsoever.
I'm going to uninstall libbonobo, de-activate glib2-devel, activate glib2, and try re-installing orbit2. Then I'll try building libbonobo. If it fails with an exception thrown at me relating to orbit2, then the problem must stem from orbit2.
comment:6 Changed 16 years ago by RMADv3@…
libbonobo built without incident. I de-activated glib2-devel and re-activated glib2. I then upgraded libidl. I uninstalled orbit2 and re-installed it. Then I rebuilt libbonobo. No errors. So the problem seems to have stemmed from either orbit2 or libidl.
comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I think this is probably ancient history by now.
A screenshot of the OSX crash warning.