<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello, <br><br>I am afraid I do not any good answer on the spot. I never tried to build Frameworks either, would it be independently or through Macports. <br><br>The error also does not ring any bell. I encountered cases where it was necessary to add an explicit include to unistd.h to compile on Mac (but I can’t remember if it was for a KDE package or not), but no errors due to mismatching constants. <br><br>One thing though is that to my understanding the port is built independently. In the case of Macports for KDE4, we have a whole port group (kde4-1.1.tcl) to define constants and environment variables to build KDE packages somewhat properly. It may be useful to look at its definitions. The file can be seen online (instead of downloading the whole package) at: <a href="http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/kde4-1.1.tcl?rev=115590">http://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/kde4-1.1.tcl?rev=115590</a>. <br><br>Cheers, <br><br>Nicolas<div><br><div style=""><div>On Apr18, 2014, at 11:43, Ian Wadham <<a href="mailto:iandw.au@gmail.com">iandw.au@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello Allen and KDE/Mac guys,<br><br>On 18/04/2014, at 10:15 AM, Allen Winter wrote:<br><blockquote type="cite">I'm trying to build frameworks on my old MacBook pro running mavericks.<br></blockquote><br>I have not installed Mavericks yet, nor tried to build Frameworks yet.<br>I will forward your query to the kde-mac mailing list and see if one<br>of our KDE/MacPorts developers can answer it.  Brad?  Nicos?<br><br>Maybe you can help them too, Allen.  MacPorts is at an early stage<br>with porting Qt5 and KF5 IIUC.<br><br>Frameworks is aka KF5 (the 5th generation of KDE software).  Allen is one<br>of the longest-serving KDE guys <a href="https://community.kde.org/KDE_PIM/People">https://community.kde.org/KDE_PIM/People</a><br>I hope we can help him.  Please CC Allen in case he is not subscribed.<br><br><blockquote type="cite">One problem I encountered building karchive is the following:<br>[  5%] Building CXX object src/CMakeFiles/KF5Archive.dir/karchive.cpp.o<br>/data/kde/src/5/frameworks/karchive/src/karchive.cpp:231:19: error: use of undeclared identifier 'readlink'<br>       int len = readlink(encodedFileName.data(), s.data(), s.size() - 1);<br>                 ^<br>1 error generated.<br><br>seems that unistd.h isn't getting into  __DARWIN_C_LEVEL >= 200112L<br>conditional compile that declares readlink().<br><br>do you know what I'm doing wrong? or maybe there's a compile flag missing?<br>I tried adding -ansi but that didn't help.<br></blockquote><br>Cheers, Ian W.<br><br>_______________________________________________<br><a href="mailto:kde-mac@kde.org">kde-mac@kde.org</a><br>List Information: https://mail.kde.org/mailman/listinfo/kde-mac<br>KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X<br></blockquote></div><br></div></body></html>