[Tellico-users] tellico on mac os x 10.6.2 (snow leopard)

Christophe Diericx christophe.diericx at gmail.com
Mon Feb 1 19:06:46 UTC 2010


Here's where I'm now (in my quest to getting tellico to work on Snow
Leopard / Mac OS X 10.6.2):

I got to the point where tellico builds and starts succesfully, but it
crashes (hard) when (for example) trying to open a collection or start
a new one (from a template).

What I did:

(starting with the XCode tools and a fresh, up-to-date macports:

sudo port install cmake
sudo port install kdebase4 taglib exempi
sudo chown -R mac ~/Library/Preferences/KDE

I downloaded the tellico tarball from the website (tellico-2.1.1.tar.bz2)

tar xvf tellico-2.1.1.tar.bz2
cd tellico-2.1.1
mkdir build
cd build
export QTDIR=/opt/local/libexec/qt4-mac
export CMAKE_PREFIX_PATH=$QTDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib
cmake .. -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake
-DLIBEXSLT_LIBRARIES=/opt/local/lib/libexslt.dylib
-DLIBXSLT_INCLUDE_DIR=/opt/local/include
-DLIBXSLT_LIBRARIES=/opt/local/lib/libxslt.dylib
-DQT_QTSCRIPT_LIBRARY=/opt/local/libexec/qt4-mac/lib/QtScript.framework
-DQT_QTUITOOLS_LIBRARY=QT_QTUITOOLS_LIBRARY-NOTFOUND
-DCMAKE_BUILD_TYPE=debug -DCMAKE_SYSTEM_PREFIX_PATH=/opt/local
make
sudo make install

Note that I added the explicit Qt paths to cmake because I have
multiple versions of Qt on my system.

Before starting tellico I had to issue the following to get DBUS up and running:

sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist

Otool seems to suggest the libs are ok:

Christophe-Diericxs-iMac:MacOS mac$ otool -L tellico
tellico:
	/opt/local/lib/libkdeui.5.dylib (compatibility version 5.0.0, current
version 5.3.0)
	/opt/local/lib/libkio.5.dylib (compatibility version 5.0.0, current
version 5.3.0)
	/opt/local/lib/libkhtml.5.dylib (compatibility version 5.0.0, current
version 5.3.0)
	/opt/local/lib/libknewstuff2.4.dylib (compatibility version 4.0.0,
current version 4.3.0)
	/opt/local/lib/libsolid.4.dylib (compatibility version 4.0.0, current
version 4.3.0)
	/opt/local/lib/libqimageblitz.4.dylib (compatibility version 4.0.0,
current version 4.0.0)
	/opt/local/lib/libxml2.2.dylib (compatibility version 10.0.0, current
version 10.6.0)
	/opt/local/lib/libxslt.1.dylib (compatibility version 3.0.0, current
version 3.26.0)
	/opt/local/lib/libexslt.0.dylib (compatibility version 9.0.0, current
version 9.15.0)
	/opt/local/lib/libkabc.4.dylib (compatibility version 4.0.0, current
version 4.3.0)
	/opt/local/lib/libexempi.3.dylib (compatibility version 6.0.0,
current version 6.1.0)
	/opt/local/lib/libtag.1.dylib (compatibility version 1.0.0, current
version 1.6.1)
	/opt/local/lib/libkparts.4.dylib (compatibility version 4.0.0,
current version 4.3.0)
	/opt/local/lib/libkjs.4.dylib (compatibility version 4.0.0, current
version 4.3.0)
	/opt/local/lib/libktexteditor.4.dylib (compatibility version 4.0.0,
current version 4.3.0)
	/opt/local/libexec/qt4-mac/lib/QtSvg.framework/Versions/4/QtSvg
(compatibility version 4.6.0, current version 4.6.1)
	/opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork
(compatibility version 4.6.0, current version 4.6.1)
	/opt/local/libexec/qt4-mac/lib/QtXml.framework/Versions/4/QtXml
(compatibility version 4.6.0, current version 4.6.1)
	/opt/local/lib/libkdecore.5.dylib (compatibility version 5.0.0,
current version 5.3.0)
	/opt/local/libexec/qt4-mac/lib/QtCore.framework/Versions/4/QtCore
(compatibility version 4.6.0, current version 4.6.1)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.0.0)
	/opt/local/libexec/qt4-mac/lib/QtDBus.framework/Versions/4/QtDBus
(compatibility version 4.6.0, current version 4.6.1)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
(compatibility version 2.0.0, current version 152.0.0)
	/opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/QtGui
(compatibility version 4.6.0, current version 4.6.1)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

When running with gdb I get (when crashing the application):

ASSERT: "d" in file /opt/local/include/ksharedptr.h, line 126

Program received signal SIGABRT, Aborted.
0x00007fff83964fe6 in __kill ()

I'll (need to) investigate this a little further.

If anyone has any ideas, please share!

Christophe

2010/1/30 Christophe Diericx <christophe.diericx at gmail.com>
>
> While being an avid linux user for about 8 or 9 years (and still) I've bought myself an iMac with Mac OS X 10.6.2 (Snow Leopard) a month ago.
> I've been missing Tellico (and a LOT of other things) heavily and I was wondering if anyone here knows how to get Tellico to compile on Snow Leopard.
> I realize there's an outdated fink package (1.2.x) but
> (1) it's really outdated ~~ and ~~
> (2) fink `also` needs to be built from source atm on Mac OS X 10.6.x.
> When `trying` to build the latest tarball with macports cmake the first problem is a missing kde4-config...
> Does anyone have any insight as to how getting this to work? Do I need ~all~ of KDE4 (or just Qt and it's dependencies)
> Thanks - a lot- for anyone who cares enough to answer.



More information about the tellico-users mailing list