← Back to team overview

bzr-mac team mailing list archive

Re: Bazaar 2.1.0b3 desktop installer for Mac OS X 10.6

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian wrote:
> Hi Gordan, first off a big thank you for your work getting the
> dependencies finally sorted out for bzr-explorer!
> 
> I've just installed your package, and qbzr is failing to work for me
> (bzr qversion):
> 
> bzr: ERROR: exceptions.ImportError:
> dlopen(/Library/Python/2.6/site-packages/PyQt4/QtGui.so, 2): Library
> not loaded: QtGui.framework/Versions/4/QtGui
>   Referenced from: /Library/Python/2.6/site-packages/PyQt4/QtGui.so
>   Reason: image not found

> I've checked and QTGui.so is in the correct place, although the
> permissions were set to a non-logged in standard user for some reason.
> I can't find QtGui.framework on my system, not sure where it is
> supposed to be. As qbzr is failing, then bzr explorer isn't working.

You need to install the Qt framework. I didn't include it in the package
since it's quite massive (132MB). If you haven't installed it already
yourself, you can get it here:

http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.5.3.dmg

I'll add a note to the download wiki page about it requiring Qt to be
separately installed. I may also be able to make the installer check if
Qt is installed and show an error message to the user.

I could try adding only the bits of the Qt framework used by bzr into
the package to make it smaller but that could break other Qt using apps
on the system.

> p.s. an uninstaller or at least instructions for removal would be very welcome.

I still have to figure this out myself. :)

The problem is that the Mac OS X package installer system doesn't
provide a proper uninstaller due to a lack of dependency analysis. There
is a pkgutil tool which can be used to force the deletion of a package
and its files but I want to read up on this stuff before I publish a
script which uses that.

Ciao,
Gordon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLEn8cAAoJEIrPJfWinA2uzXIH/0C1CG3CH4pmi84PCaEoENFW
r+6O9JsTFMar3+EDkFGBbekLn84gzRhlwZwnh5Ma5L4l9NNPcL13oMw4zal7ZFPK
XbImR9hynalKH+5J5odKCdVCk7XqvpXjbD0+fR3QcYOTaOnqA8jSmjtA9C9MdWey
UGpq0Z755I4VUpujL68PKjYy35wYJ9RXbb1J+RtOOWooajLvWuB/stCA7LTmE7hu
2t4J/rVVx81R7fHLz1GuPEVtTa0ehS0CMCGzXIeyYC7qzLQ1T1sFajEOY7mOCwA7
s6jNA5yaC70c3tcoLLOcY9A5QrDWe+QD1heYPpFtehIqGIc0KDotGVhNGsHNgec=
=9DgB
-----END PGP SIGNATURE-----



Follow ups

References