Discussion:
What version of KDevelop for Centos 6.6?
Nick Savoiu
2017-09-06 23:51:27 UTC
Permalink
Hi all, I poked around the mailing list archive but did not see anything on this topic (not easy to search)
I'm moving from Centos 5.9 to Centos 6.6 and want to continue running KDevelop on it. What's a good version for it (including building from scratch)?
I've looked at KF5 and QT5 but they seem to be hard to build/install on Centos 6.6. Would a KDevelop 4.x be easy to build?

Thanks,Nick
Kevin Funk
2017-09-07 07:12:05 UTC
Permalink
Post by Nick Savoiu
Hi all, I poked around the mailing list archive but did not see anything on
this topic (not easy to search) I'm moving from Centos 5.9 to Centos 6.6
and want to continue running KDevelop on it.
Did you build KDevelop yourself before? Anyhow, the latest version of KDevelop
(5.1.2 at this point) should be good to go for this distro.

The easiest and quickest solution would be to go with the AppImage we provide:
https://www.kdevelop.org/download

Just download, make it executable, run.
Post by Nick Savoiu
What's a good version for it
(including building from scratch)? I've looked at KF5 and QT5 but they seem
to be hard to build/install on Centos 6.6.
For compiling yourself (if you really want to):

If there are no packages for KF5/Qt5 for that system I'd recommend trying
Craft (a user space package manager) for building all the dependencies on your
system:
https://community.kde.org/Craft

We're still lacking documentation how to install Craft on Linux, but you can
follow the instructions for macOS at this point.

After setup, all you need to do is:
craft kdevelop

I've never tested it on CentOS myself, but it's worth trying. If you
experience any problems please join the #kdevelop IRC channel on Freenode and
we can try to help.
Post by Nick Savoiu
Would a KDevelop 4.x be easy to
build?
Definitely not, I wouldn't go that route.

Regards,
Kevin
Post by Nick Savoiu
Thanks,Nick
--
Kevin Funk | ***@kde.org | http://kfunk.org
René J.V. Bertin
2017-09-07 07:54:39 UTC
Permalink
Post by Kevin Funk
Post by Nick Savoiu
What's a good version for it
(including building from scratch)? I've looked at KF5 and QT5 but they seem
to be hard to build/install on Centos 6.6.
If you don't mind building all dependencies, have a look at pkgsrc and Gentoo Prefix (which should be the more complete of the two, but doesn't have binary packages at all IIRC). If they don't outright reject CentOS like they do Debian/Ubuntu, you ought to be able to bootstrap either one, tell it to install KDevelop and then go to sleep or on a short holiday depending on how fast your machine is.

The only thing I think I know of CentOS is that it's one of those distros that are the opposite of rolling. Having a more or less complete (for your use) userland installed in a prefix (say /opt/local), under control of a maintenance utility and that won't interfere with the system tools can be extremely useful.
Post by Kevin Funk
We're still lacking documentation how to install Craft on Linux, but you can
follow the instructions for macOS at this point.
That's the world on its head :D
Post by Kevin Funk
Post by Nick Savoiu
Would a KDevelop 4.x be easy to
build?
Definitely not, I wouldn't go that route.
Well, depending on what version of Qt CentOS 6 ships it may be less work to install that version. But I'm with Kevin that I wouldn't go that route if I had the choice. I used KDevelop 4 and 5 in parallel for a relatively long time but it's at least a year now that I've only launched the old version very occasionally, for comparison.

KDevelop5 does seem to need more RAM to breathe though.


R.
Nick Savoiu
2017-09-07 14:51:02 UTC
Permalink
HI Kevin, yes; I've built KDE/KDevelop before. Will the AppImage need any other libraries (KF5, etc)?
Nick
Post by Nick Savoiu
Hi all, I poked around the mailing list archive but did not see anything on
this topic (not easy to search) I'm moving from Centos 5.9 to Centos 6.6
and want to continue running KDevelop on it.
Did you build KDevelop yourself before? Anyhow, the latest version of KDevelop
(5.1.2 at this point) should be good to go for this distro.

The easiest and quickest solution would be to go with the AppImage we provide:
  https://www.kdevelop.org/download

Just download, make it executable, run.
Post by Nick Savoiu
What's a good version for it
(including building from scratch)? I've looked at KF5 and QT5 but they seem
to be hard to build/install on Centos 6.6.
For compiling yourself (if you really want to):

If there are no packages for KF5/Qt5 for that system I'd recommend trying
Craft (a user space package manager) for building all the dependencies on your
system:
  https://community.kde.org/Craft

We're still lacking documentation how to install Craft on Linux, but you can
follow the instructions for macOS at this point.

After setup, all you need to do is:
  craft kdevelop

I've never tested it on CentOS myself, but it's worth trying. If you
experience any problems please join the #kdevelop IRC channel on Freenode and
we can try to help.
Post by Nick Savoiu
Would a KDevelop 4.x be easy to
build?
Definitely not, I wouldn't go that route.

Regards,
Kevin
Post by Nick Savoiu
Thanks,Nick
--
Kevin Funk | ***@kde.org | http://kfunk.org
Kevin Funk
2017-09-07 15:33:27 UTC
Permalink
Post by Nick Savoiu
HI Kevin, yes; I've built KDE/KDevelop before. Will the AppImage need any
other libraries (KF5, etc)? Nick
Nope, it's completely self-contained. Just try.

If you want to build from source (to fix issues or just for fun), then please
check out Craft and get in touch with us:
https://www.kdevelop.org/contribute-kdevelop

Regards,
Kevin
Post by Nick Savoiu
Post by Nick Savoiu
Hi all, I poked around the mailing list archive but did not see anything on
this topic (not easy to search) I'm moving from Centos 5.9 to Centos 6.6
and want to continue running KDevelop on it.
Did you build KDevelop yourself before? Anyhow, the latest version of
KDevelop (5.1.2 at this point) should be good to go for this distro.
The easiest and quickest solution would be to go with the AppImage we
provide: https://www.kdevelop.org/download
Just download, make it executable, run.
Post by Nick Savoiu
What's a good version for it
(including building from scratch)? I've looked at KF5 and QT5 but they seem
to be hard to build/install on Centos 6.6.
If there are no packages for KF5/Qt5 for that system I'd recommend trying
Craft (a user space package manager) for building all the dependencies on
https://community.kde.org/Craft
We're still lacking documentation how to install Craft on Linux, but you can
follow the instructions for macOS at this point.
craft kdevelop
I've never tested it on CentOS myself, but it's worth trying. If you
experience any problems please join the #kdevelop IRC channel on Freenode
and we can try to help.
Post by Nick Savoiu
Would a KDevelop 4.x be easy to
build?
Definitely not, I wouldn't go that route.
Regards,
Kevin
Post by Nick Savoiu
Thanks,Nick
--
Kevin Funk | ***@kde.org | http://kfunk.org
Nick Savoiu
2017-09-07 17:59:04 UTC
Permalink
Cool! I was able to run the AppImage so perhaps I can avoid the pain of building it.
Are there any differences/limitations when using the AppImage version as opposed to using a regularly built binary?
Thanks,Nick
Post by Nick Savoiu
HI Kevin, yes; I've built KDE/KDevelop before. Will the AppImage need any
other libraries (KF5, etc)? Nick
Nope, it's completely self-contained. Just try.

If you want to build from source (to fix issues or just for fun), then please
check out Craft and get in touch with us:
  https://www.kdevelop.org/contribute-kdevelop

Regards,
Kevin
Post by Nick Savoiu
    On Thursday, September 7, 2017, 12:12:12 AM PDT, Kevin Funk
Post by Nick Savoiu
Hi all, I poked around the mailing list archive but did not see anything on
this topic (not easy to search) I'm moving from Centos 5.9 to Centos 6.6
and want to continue running KDevelop on it.
Did you build KDevelop yourself before? Anyhow, the latest version of
KDevelop (5.1.2 at this point) should be good to go for this distro.
The easiest and quickest solution would be to go with the AppImage we
provide: https://www.kdevelop.org/download
Just download, make it executable, run.
Post by Nick Savoiu
What's a good version for it
(including building from scratch)? I've looked at KF5 and QT5 but they seem
to be hard to build/install on Centos 6.6.
If there are no packages for KF5/Qt5 for that system I'd recommend trying
Craft (a user space package manager) for building all the dependencies on
  https://community.kde.org/Craft
We're still lacking documentation how to install Craft on Linux, but you can
follow the instructions for macOS at this point.
  craft kdevelop
I've never tested it on CentOS myself, but it's worth trying. If you
experience any problems please join the #kdevelop IRC channel on Freenode
and we can try to help.
Post by Nick Savoiu
Would a KDevelop 4.x be easy to
build?
Definitely not, I wouldn't go that route.
Regards,
Kevin
Post by Nick Savoiu
Thanks,Nick
--
Kevin Funk | ***@kde.org | http://kfunk.org
Sven Brauch
2017-09-07 18:10:08 UTC
Permalink
Post by Nick Savoiu
Are there any differences/limitations when using the AppImage version
as opposed to using a regularly built binary?
It's hard to make it fit your system GUI style / color scheme / icon
theme etc. Other than that, nothing significant we're aware of, if you
find anything let us know.

Greetings,
Sven
René J.V. Bertin
2017-09-07 18:29:28 UTC
Permalink
Post by Sven Brauch
It's hard to make it fit your system GUI style / color scheme / icon
theme etc.
Not that this has anything to do with KDevelop in particular, but doesn't the AppImage environment use your regular files in ~/.config, ~/.local/share etc? IOW, if you include the plasma integration plugin shouldn't it respect all local settings that do not require Qt plugins?
Sven Brauch
2017-09-07 18:32:58 UTC
Permalink
Post by René J.V. Bertin
Post by Sven Brauch
It's hard to make it fit your system GUI style / color scheme /
icon theme etc.
Not that this has anything to do with KDevelop in particular, but
doesn't the AppImage environment use your regular files in ~/.config,
~/.local/share etc? IOW, if you include the plasma integration plugin
shouldn't it respect all local settings that do not require Qt
plugins?
Yeah, but we don't do that. And if you set a widget style which isn't
shipped for example, that won't work either because we cannot load
plugins from outside etc.
René J.V. Bertin
2017-09-07 20:00:19 UTC
Permalink
Post by Sven Brauch
Yeah, but we don't do that. And if you set a widget style which isn't
shipped for example, that won't work either because we cannot load
plugins from outside etc.
That's the only thing I can think of that won't work. Fonts, colours, icon theme and everything should work.
Then again Qt has a builtin stripped down version of the plasma integration plugin which will parse the user's kdeglobals file as long as KDE_SESSION_VERSION and KDE_FULL_SESSION are set.

R.
Nick Savoiu
2017-09-08 23:56:48 UTC
Permalink
OK, that's not a deal breaker as long as I can set them within KDevelop and have it remember those settings from run to run.
As a side note, I notice that memory usage has increased significantly. What used to take ~1.2GB now takes 7.5GB (virtual memory that is). Is this expected?
Nick
Post by Nick Savoiu
Are there any differences/limitations when using the AppImage version
as opposed to using a regularly built binary?
It's hard to make it fit your system GUI style / color scheme / icon
theme etc. Other than that, nothing significant we're aware of, if you
find anything let us know.

Greetings,
Sven
Sven Brauch
2017-09-09 02:46:02 UTC
Permalink
Post by Nick Savoiu
What used to take ~1.2GB now takes 7.5GB (virtual memory that is).
Virtual memory usage doesn't really matter, does it? How much physical
memory does it use?

Greetings,
Sven
Nick Savoiu
2017-09-10 17:14:40 UTC
Permalink
It was ~300MB in 3.5.4 and it's now 2.3GB.
Nick
Post by Nick Savoiu
What used to take ~1.2GB now takes 7.5GB (virtual memory that is).
Virtual memory usage doesn't really matter, does it? How much physical
memory does it use?

Greetings,
Sven
Sven Brauch
2017-09-10 18:56:56 UTC
Permalink
Post by Nick Savoiu
It was ~300MB in 3.5.4 and it's now 2.3GB.
That seems fine to me and as said virtual memory usage doesn't really
matter.

Best,
Sven
Nick Savoiu
2017-09-10 19:17:34 UTC
Permalink
But there's an almost 10x increase in both.
Nick

Sent from Yahoo Mail on Android
Post by Nick Savoiu
It was ~300MB in 3.5.4 and it's now 2.3GB.
That seems fine to me and as said virtual memory usage doesn't really
matter.

Best,
Sven
Sven Brauch
2017-09-10 19:28:38 UTC
Permalink
Post by Nick Savoiu
But there's an almost 10x increase in both.
Both what?
Nick Savoiu
2017-09-10 19:51:17 UTC
Permalink
Both virtual and "in-use" memory.
Post by Nick Savoiu
But there's an almost 10x increase in both.
Both what?

Sven Brauch
2017-09-07 12:44:44 UTC
Permalink
Post by Nick Savoiu
I'm moving from Centos 5.9 to Centos 6.6 and want to continue running
KDevelop on it. What's a good version for it (including building from
scratch)?
If you are just interested in using the IDE, go with the AppImage. It
should work there and it's the only easy path to get a somewhat
up-to-date version on a system that old.

Greetings!
René J.V. Bertin
2017-09-07 13:04:57 UTC
Permalink
On Thursday September 07 2017 14:44:44 Sven Brauch wrote:

The question is of course what you're going to do with a self-contained latest-and-greatest IDE
Post by Sven Brauch
on a system that old.
but I guess I'll have to assume the OP already knows that :)

Cheers,
R.
Loading...