Gnucash fails to install: configure dbus-glib failure
Bjorn Berg
drbjornberg at gmail.com
Sun Apr 22 20:42:10 PDT 2007
So after 6 hours of an attempted uninstall, this is all I've got:
bj$ sudo port -f uninstall dbus
Password:
---> The following versions of dbus are currently installed:
---> dbus @0.61_2 (active)
---> dbus @1.0.2_2
Error: port uninstall failed: Registry error: Please specify the full
version as
recorded in the port registry.
IBook:~ bj$ sudo port -f uninstall dbus @0.61_2
Password:
---> Unable to uninstall dbus 0.61_2, the following ports depend on it:
---> gnome-vfs
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating dbus 0.61_2
I could let the thing stagnate for a week but I think it's hopeless.
Obviously deactivating dbus, even though there aren't any programs
running (I rewrote my .xinitrc file so gnome is not active because I
thought it might hang otherwise. It hung anyway.), is going to be a long
and arduous process. This dbus 0.61_2 version appears to be too well
integrated... 'gnome-vfs' is pretty much tied to everything.
So my only option appears to be one suggested by another user... remove
directory /opt and start a new install of Macports. Any other ideas?
I'm going to finish watching the hockey game and go to bed.
Bj
Randall Wood wrote:
>
> On 22 Apr 2007, at 18:11, Ryan Schmidt wrote:
>
>> On Apr 22, 2007, at 12:41, Randall Wood wrote:
>>
>>> On 22 Apr 2007, at 12:13, Bjorn Berg wrote:
>>>
>>>> So I'm new at this. Can I just type 'port uninstall dbus' on a
>>>> command line? How do I find those programs that are affected by the
>>>> newinstall, just run everything? Shouldn't this be a consideration
>>>> in the release of a new version that looks like its capable of so
>>>> much havoc?
>>>
>>> A simple "sudo port selfupdate ; sudo port outdated" should take
>>> care of uninstalling and reinstalling most outdated versions of
>>> software that depended on the older version of dbus.
>>
>> a) No, it won't: "sudo port outdated" will only show a list of ports
>> that are outdated; it will not update them.
>
> Sorry. That should read "sudo port upgrade outdated"
>
>
>> b) That wasn't the question. The question was, once dbus has been
>> upgraded, if it is an ABI-incompatible upgrade, how does one identify
>> all ports that depend on dbus (whether or not they are outdated) so
>> that they can be rebuilt? The answer is the the depsearch script in
>> the wiki:
>>
>> http://trac.macosforge.org/projects/macports/wiki/ProblemHotlist#a2.Aportfailedtobuildupgradeorrunwithamessagereferringtolibintl.3.dylib
>>
>>
>> Bjorn: sorry, MacPorts isn't smart enough to do this on its own. The
>> port system does not track whether an upgrade is ABI-compatible or
>> not. It just knows whether there is an upgrade to a port. It's up to
>> you to confirm that everything still works after upgrading a port,
>> and rebuild any dependencies as needed. The depsearch script above
>> can help you identify what you need to do.
>>
>> You will, by the way, need "sudo port -f uninstall dbus", since
>> otherwise MacPorts will complain that some other port depends on
>> dbus. This may also be a way to determine which ports you need to
>> rebuild, though I do not know if this will be the same list returned
>> by depsearch.
>>
>
>
>
> Randall Wood
> rhwood at mac.com
> http://shyramblings.blogspot.com
>
> "The rules are simple: The ball is round. The game lasts 90 minutes.
> All the
> rest is just philosophy."
>
>
>
More information about the macports-users
mailing list