[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-mac
Subject:    Re: [KDE/Mac] Developing KDE on Mac
From:       Jeremy Whiting <jpwhiting () kde ! org>
Date:       2010-08-13 21:36:49
Message-ID: AANLkTi=gW2Y1sRuzeVLdx6F=XJVUgBvb9L2FZLDWJPey () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2010/8/13 John Layt <johnlayt@googlemail.com>

>  On Thursday 12 August 2010 23:41:45 Sjors Gielen wrote:
>
> > Well, in that case, you should definitely check the current patch to
>
> > kdesupport and the way they build their kdesupport packages: it's very
>
> > very likely that the problems linking to dbus are fixed in there. (Now
>
> > that I come to think about it: DBus isn't Mac-shipped, so it's in your
>
> > MacPorts installation; you should probably give a --configure flag or
>
> > LDFLAGS, to make it link to the right one.
>
> >
>
> > > ld: library not found for -ldbus-1
>
> > >
>
> > > /opt/local/lib/libdbus-1.dylib
>
> >
>
> > So try adding: LDFLAGS="-L/opt/local/lib" and it will likely find it.
>
> > MacPorts probably does this automatically in its build system, as does
>
> > Fink. :)
>
> Hi Sjors and Nicolas,
>
> Thanks for the help, but unfortunately neither suggestion worked.
>
> I tried LDFLAGS, no joy, I already have LD_LIBRARY_PATH set and other
> parts of kdesupport had linked OK.
>
> 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).
>
> Not sure where to go from here, but I guess I need to learn more about
> library linking an Mac :-)
>
> John.
>

John, others,

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.

I think next I'll stop trying to build kdesupport myself and just build
phonon and install taglib, strigi, soprano, etc. from macports.

just my 2c,
Jeremy Whiting


> _______________________________________________
> kde-mac@kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac <https://mail.kde.org/mailman/listinfo/kde-mac%0AKDE/Mac>Information:
> http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X
>

[Attachment #5 (text/html)]

2010/8/13 John Layt <span dir="ltr">&lt;<a \
href="mailto:johnlayt@googlemail.com">johnlayt@googlemail.com</a>&gt;</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: &#39;Monospace&#39;; 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;">&gt; Well, in that case, you should definitely check the current \
patch to</p> <p style="margin: 0px; text-indent: 0px;">&gt; kdesupport and the way \
they build their kdesupport packages: it&#39;s very</p> <p style="margin: 0px; \
text-indent: 0px;">&gt; very likely that the problems linking to dbus are fixed in \
there. (Now</p> <p style="margin: 0px; text-indent: 0px;">&gt; that I come to think \
about it: DBus isn&#39;t Mac-shipped, so it&#39;s in your</p> <p style="margin: 0px; \
text-indent: 0px;">&gt; MacPorts installation; you should probably give a --configure \
flag or</p> <p style="margin: 0px; text-indent: 0px;">&gt; LDFLAGS, to make it link \
to the right one.</p> <p style="margin: 0px; text-indent: 0px;">&gt; </p>
<p style="margin: 0px; text-indent: 0px;">&gt; &gt; ld: library not found for \
-ldbus-1</p> <p style="margin: 0px; text-indent: 0px;">&gt; &gt; </p>
<p style="margin: 0px; text-indent: 0px;">&gt; &gt;   \
/opt/local/lib/libdbus-1.dylib</p> <p style="margin: 0px; text-indent: 0px;">&gt; \
</p> <p style="margin: 0px; text-indent: 0px;">&gt; So try adding: \
LDFLAGS=&quot;-L/opt/local/lib&quot; and it will likely find it.</p> <p \
style="margin: 0px; text-indent: 0px;">&gt; MacPorts probably does this automatically \
in its build system, as does</p> <p style="margin: 0px; text-indent: 0px;">&gt; 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: &#39;monospace&#39;;">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&#39;ve looked through the \
MacPorts patches to Strigi and kdelibs but there&#39;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&#39;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&#39;t and that&#39;s the first one that&#39;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&#39;t getting all the top-level link paths \
for some reason, though I&#39;ve no clue why.<br> <br>I think next I&#39;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>




_______________________________________________
kde-mac@kde.org
List Information: https://mail.kde.org/mailman/listinfo/kde-mac
KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic