2010/8/13 John Layt <span dir="ltr"><<a href="mailto:johnlayt@googlemail.com">johnlayt@googlemail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="font-family: 'Monospace'; font-size: 10pt; font-weight: 400; font-style: normal;"><div class="im">
<p style="margin: 0px; text-indent: 0px;">On Thursday 12 August 2010 23:41:45 Sjors Gielen wrote:</p>
<p style="margin: 0px; text-indent: 0px;">> Well, in that case, you should definitely check the current patch to</p>
<p style="margin: 0px; text-indent: 0px;">> kdesupport and the way they build their kdesupport packages: it's very</p>
<p style="margin: 0px; text-indent: 0px;">> very likely that the problems linking to dbus are fixed in there. (Now</p>
<p style="margin: 0px; text-indent: 0px;">> that I come to think about it: DBus isn't Mac-shipped, so it's in your</p>
<p style="margin: 0px; text-indent: 0px;">> MacPorts installation; you should probably give a --configure flag or</p>
<p style="margin: 0px; text-indent: 0px;">> LDFLAGS, to make it link to the right one.</p>
<p style="margin: 0px; text-indent: 0px;">> </p>
<p style="margin: 0px; text-indent: 0px;">> > ld: library not found for -ldbus-1</p>
<p style="margin: 0px; text-indent: 0px;">> > </p>
<p style="margin: 0px; text-indent: 0px;">> > /opt/local/lib/libdbus-1.dylib</p>
<p style="margin: 0px; text-indent: 0px;">> </p>
<p style="margin: 0px; text-indent: 0px;">> So try adding: LDFLAGS="-L/opt/local/lib" and it will likely find it.</p>
<p style="margin: 0px; text-indent: 0px;">> MacPorts probably does this automatically in its build system, as does</p>
<p style="margin: 0px; text-indent: 0px;">> Fink. :)</p>
<p style="margin: 0px; text-indent: 0px;"></p>
</div><p style="margin: 0px; text-indent: 0px;">Hi Sjors and Nicolas,</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Thanks for the help, but unfortunately neither suggestion worked.</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I tried LDFLAGS, no joy, I already have <span style="font-family: 'monospace';">LD_LIBRARY_PATH set and other parts of kdesupport had linked OK.</span></p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">I've looked through the MacPorts patches to Strigi and kdelibs but there's nothing that would help with the linking (I tried anyway, no joy).</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">Not sure where to go from here, but I guess I need to learn more about library linking an Mac :-)</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">John.</p></div></blockquote><div> </div><div>John, others,<br><br>I recently tried to build kde on my mac mini and ran into the same issues. Macports phonon is too old to build kdelibs with, so I'm trying to build kdesupport instead and getting the same failures. Looking in my CMakeCache.txt it has -L/opt/local/lib in many places, but in the link.txt of strigi/strigidaemon/bin/daemon/dbus/dbustest it doesn't and that's the first one that's failing. Adding it in there manually gets past that and then fails on another part of kdesupport. I think somehow these test or sub-projects aren't getting all the top-level link paths for some reason, though I've no clue why.<br>
<br>I think next I'll stop trying to build kdesupport myself and just build phonon and install taglib, strigi, soprano, etc. from macports.<br><br>just my 2c,<br>Jeremy Whiting<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>_______________________________________________<br>
<a href="mailto:kde-mac@kde.org">kde-mac@kde.org</a><br>
List Information: <a href="https://mail.kde.org/mailman/listinfo/kde-mac%0AKDE/Mac" target="_blank">https://mail.kde.org/mailman/listinfo/kde-mac<br>
KDE/Mac</a> Information: <a href="http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X" target="_blank">http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X</a><br></blockquote></div><br>