KDevelop 4.2.3 on Mac Lion

Patrice Kouame patrice.kouame at gmail.com
Sat Jul 23 14:31:04 UTC 2011


Hi  again -  a few more details below…

On Jul 22, 2011, at 1:06 PM, Aleix Pol wrote:

> Hi
> I haven't ever tried KDevelop on a Mac OS X, but I'll try to help you when possible.
> 
> On Fri, Jul 22, 2011 at 4:55 PM, Patrice Kouame <patrice.kouame at gmail.com> wrote:
> Hi  -
> 
> I compiled the latest distribution on Mac 10.6.7 successfully.  It is however prone to crashing.  A few questions:
> 
> 1 - I switched off debug for all kdevelop and kdevplatform modules in kdebugdialog but am still getting a zillion of these messages in my system log:
> 
> 7/22/11 9:28:39.689 AM [0x0-0xd90d9].kdevelop: select: Invalid argument
> 
> That's possibly an error message that Mac has but we don't, it would be interesting if you could investigate a little and open a bug report in bugs.kde.org. We'll hopefully be able to solve whatever it is.
>  

I will submit a bug when I can reproduce consistently.  I am running against a "debug full" build of the entire KDE+QT platform, so lots of messages!

> 
> 2 - Out of the box it had the background parsing option ON which was consuming over 100% cpu even though I had just had one project (kdevelop) open at the time. Turning that option off did the trick, but the question still remains: does the indexing/parsing normally consume so much?
> 
> Well, no, but this high load should only happen when loading the program. Here also it would be interesting if you could provide some backtrace of what it's doing in case you think it's not working. (note that the initial parsing will read and process the whole project, it's not a trivial task) 

Understood. Yes of course it should parse.  The last run with the full Calligra project took long. Probably wasn't patient enough.  Seems to finish now.

> 
> 3 - What are the proper settings for XDG_DATA_DIRS and XDG_DATA_HOME. I followed the instructions on the build page to the letter, but sycoca4 still complains about missing mime types. Is /usr/local good enough or should it be /usr/local/share? The specification  http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html  recommends the respective share directories, but the docs at http://techbase.kde.org/KDevelop4/HowToCompile don't.  Also does DATA_HOME matter?
> 
> You should address this problem to the kde macos people/person. They'll know better than us!
>  

Will do.

> 
> 4- The application takes quite a long time to quit.
> 
> 5- Deleting the last session quits the application. Here is the full log.  Is this normal?
> 
> 7/22/11 10:43:45.794 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChain::finalCleanup: cleaned 39 B
> 7/22/11 10:43:45.794 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChain::finalCleanup: cleaned enough
> 7/22/11 10:43:45.794 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChain::finalCleanup: final cleanup ready
> 7/22/11 10:43:45.794 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChainPrivate::doMoreCleanup: starting cleanup
> 7/22/11 10:43:45.807 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChainPrivate::doMoreCleanup: seconds spent doing cleanup:  0 top-contexts still open: 0
> 7/22/11 10:43:45.807 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChainPrivate::doMoreCleanup: milliseconds spent doing cleanup with locked duchain:  14
> 7/22/11 10:43:45.813 AM [0x0-0xea0ea].kdevelop: kdevelop(27576) Konsole::SessionManager::~SessionManager: Konsole SessionManager destroyed with sessions still alive 
> 7/22/11 10:43:45.814 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kio (Slave) KIO::Slave::kill: killing slave pid 27675 ( "trash://" )
> 7/22/11 10:43:45.814 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kio (Slave) KIO::Slave::kill: killing slave pid 27704 ( "man://" )
> 7/22/11 10:43:45.814 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kio (Slave) KIO::Slave::kill: killing slave pid 27578 ( "file://" )
> 7/22/11 10:43:45.814 AM [0x0-0xea0ea].kdevelop: kdevelop(27576)/kdevplatform (language) KDevelop::DUChainPrivate::~DUChainPrivate: Destroying
> 7/22/11 10:43:45.866 AM [0x0-0xd20d2].org.kde.kdeinit4: klauncher(22594)/kio (KLauncher) KLauncher::slotGotOutput: kio_man(27704)/kio (kioslave) KIO::SlaveBase::dispatchLoop: slave was killed, returning
> 7/22/11 10:43:45.866 AM [0x0-0xd20d2].org.kde.kdeinit4: kio_man(27704) kdemain: Done
> 7/22/11 10:43:45.866 AM [0x0-0xd20d2].org.kde.kdeinit4: klauncher(22594)/kio (KLauncher) KLauncher::slotGotOutput: kio_file(27578)/kio (kioslave) KIO::SlaveBase::dispatchLoop: slave was killed, returning
> 7/22/11 10:43:45.866 AM [0x0-0xd20d2].org.kde.kdeinit4: kio_file(27578) kdemain: Done
> 7/22/11 10:43:45.866 AM [0x0-0xd20d2].org.kde.kdeinit4: klauncher(22594)/kio (KLauncher) KLauncher::slotGotOutput: kio_trash(27675)/kio (kioslave) KIO::SlaveBase::dispatchLoop: slave was killed, returning
> 7/22/11 10:43:45.871 AM [0x0-0xd20d2].org.kde.kdeinit4: klauncher(22594)/kio (KLauncher) KLauncher::slotFinished: process finished exitcode= 0 exitStatus= 0
> 7/22/11 10:43:45.871 AM [0x0-0xd20d2].org.kde.kdeinit4: klauncher(22594)/kio (KLauncher) KLauncher::slotFinished: process finished exitcode= 0 exitStatus= 0
> 7/22/11 10:43:45.873 AM [0x0-0xd20d2].org.kde.kdeinit4: klauncher(22594)/kio (KLauncher) KLauncher::slotFinished: process finished exitcode= 0 exitStatus= 0
> 
> Well, define a lot of time. Here it takes maybe 5" to 10"...
>  

Ok.  Just a tad longer, then again this is KDE debug build.  I've restarted often while the old process was winding down.  Not a big problem.

> 6- With a CMake based project up (again kdevelop itself) , the main menu preference button, invokes a Build window and runs cmake.  I kind of expected a preferences dialog of some kind.
> 
> main menu preference button? what do you mean?
> and the dialog you mean is shown when you open the project for the first time, the one that lets you select the buid directory, no?
>  

Yes.  On the Apple Menu bar under KDevelop there is a Preferences menu item mapped to "<command>," .It invokes the Build tool view and kicks off a cmake in that window.  I checked my settings and could not see a shortcut for it.  But it's there.  Here is a snapshot:


> 
> 7- Are the requirements on the build/compile page current.  I currently built a QT4 KDE4 CALLIGRA development environment from scratch with the latest masters from kde.org/projects.  Not sure if I need things like the kdeworkspace and samba or any other libraries but kderuntime, kdelibs, qt-kdev, automoc, attica, dbusmenuqt, etc… from the kde/mac pages.
> 
> Again, no clue about mac, sorry :/.
>  

Ok, Will dig in and experiment further.

> 8 - Last thing,  there is a blank row between the window frame and the main toolbar (the one with build, execute debug)  Am I missing a toolbar or is this just a bug on my platform.
> 
> Could you send some screenshots, please? :)
>  

Check the snapshot above, it seems like the entire window is off vertically by a toolbar height.  You'll also notice that the "Project Selection window in the bottom left corner is cut off at the bottom.  I haven't kicked off a debug session to see what happens to the toolbar then.


> 
> Thanks in advance, I know my platform is a little bleeding edge: Mac, Lion, Xcode 4.2 beta etc… but I would sure like to get this going and share my experience.
> 
> It's ok, we're also interested in having KDevelop working on as much systems possible ^^.
> 
> Aleix 

It's looking actually better now that the underlying KDE+QT platform is a bit more stable on my end.  Again I've rebuilt everything from master on kde.org.  I will try a full release build and maybe linking to  the latest "stable" Mac QT  SDK from the website.  Unfortunately there isn't one yet for KDE on the Mac (very lonely out there…) Otherwise,  I LIKE the integration with CMake out-of-box.  I have Eclipse/Indigo running and it's a little more difficult to import KDE projects correctly for my entire workflow…  If you guys want me to check and test some features out on the Mac…just ask!

> 
> Patrice
> 
> 
> 
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
> 
> 
> -- 
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110723/a8754664/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KDevelop.png
Type: image/png
Size: 474154 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110723/a8754664/attachment.png>


More information about the KDevelop-devel mailing list