KDevelop 4.2.3 on Mac Lion

Aleix Pol aleixpol at kde.org
Fri Jul 22 17:06:59 UTC 2011


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.


>
> 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)

>
> 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 <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!


>
> 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"...


> 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?


>
> 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 :/.


> 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? :)


>
> 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

>
> Patrice
>
>
>
> --
> 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/20110722/d083fd82/attachment.html>


More information about the KDevelop-devel mailing list