On Thu, Mar 27, 2008 at 10:23 AM, Ronald Oussoren
<[EMAIL PROTECTED]> wrote:
>  Could you post the exact setup you're using again:
>  - Which version of OSX?
>  - Which copy of python (/usr/bin/python, Python.org installer, ...)
>  - How did you install PyQt (and which version)?
>  - How did you install Twisted (and which version)?
>  - The setup.py you're using
>  - Link to the software
>  - Anything else that might be relevant to reproduce the problem

I'm using 10.5.2. Today, I have also reinstalled it (archive &
install) to make sure I don't have borken system. I use
Leopard-bundled Python.

Here are the steps I have undertaken after reinstall to get Jabbim working:
Installed Xcode Tools 3 from DVD
Installed Qt 4.3.4 from Trolltech's DMG

sudo easy_install -U setuptools # installed:
/Library/Python/2.5/site-packages/setuptools-0.6c8-py2.5.egg
export PYTHONPATH=/Library/Python/2.5/site-packages # because of newer
setuptools module
sudo /usr/local/bin/easy_install -U py2app==dev # /usr/local because
of newer easy_install script

SIP: sip-4.7.5-snapshot-20080229
python configure.py
make
sudo make install

PyQt4: PyQt-mac-gpl-4.3.4-snapshot-20080319
python configure.py
make
sudo make install

Twisted: Twisted-8.0.1_py2.5_osx10.5.pkg # installed to
/Library/Python/2.5/site-packages/, as opposed to Leopard-bundled
version 2.4, which is in /System/Library/Frameworks/…
PyCrypto: PyCrypto-2.0.1_py2.5_osx10.5.pkg

Now, if I want my python interpreter to use my new Twisted, I have to
export PYTHONPATH=/Library/Python/2.5/site-packages, otherwise
Leopard-bundled version is used.

To get Jabbim from Subversion repository (I use jabbim-ng for
historical reasons):
svn co svn://dev.jabbim.cz/jabbim/trunk jabbim-ng

cd jabbim-ng/
# Make sure you have our PYTHONPATH=/Library/Python/2.5/site-packages exported
sh ./jabbim.sh

Now Jabbim should run.

Now edit jabbim.py and insert after line 22:
sys.path.insert(0, '../Resources/lib/python2.5/site-packages.zip')
sys.path.insert(0, '../Resources/lib/python2.5/lib-dynload')

Use my setup.py and jabbim.icns*
python setup.py py2app

Run Jabbim.app. (At this point, libqjpeg.dynload & friends are not
installed… maybe I should use my own, static-compiled Qt in the
future.)

*I have uploaded them here:
http://disk.jabbim.cz/[EMAIL PROTECTED]/jabbim.icns
http://disk.jabbim.cz/[EMAIL PROTECTED]/setup.py

I hope my info helps a little.

Lukáš
-- 
IM (XMPP/Jabber/Google Talk): [EMAIL PROTECTED]
ICQ, AIM, MSN: Never ever!
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to