This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Building KStars under Debian - total Linux newbie

Tags: None
(comma "," separated)
mike_hore
Registered Member
Posts
3
Karma
0
Hi folks,
I'm running KDE4, on a PowerPC (iMac G5). The KDE4 KStars apparently has an endianness-related bug, and I've put my hand up to try running test fixes. The problem is, I'm a Mac developer by background and I've never done any Linux development. I've installed KDevelop but I'm not sure where to go next. They want me to try to build KStars from the Debian source repository, but I don't know where that is or what to do next.
I'm sure I can manage once I get up and running, but it looks like I'll need a bit of hand holding to get started :-)

Cheers, Mike.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Debian is a Linux distribution, which installs the entire system from packages which are located in the Debian repository. Have you installed Debian or are you still running Mac OS X?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
mike_hore
Registered Member
Posts
3
Karma
0
bcooksley wrote:Debian is a Linux distribution, which installs the entire system from packages which are located in the Debian repository. Have you installed Debian or are you still running Mac OS X?


Yes :-)

That is, I run either at different times. But in this context, I'm running Debian.
Cheers, Mike.
mike_hore
Registered Member
Posts
3
Karma
0
Hi folks,

I had some private email which got me sorted out. I needed to have installed the following packages:

kdelibs5-dev
libkdeedu-dev
libphonon-dev
cmake,
libcfitsio3-dev
libglu1-mesa-dev
libqt4-opengl-dev
libreadline5-dev
zlib1g-dev
pkg-config

then I did
apt-get source kstars

which actually brought all the kdeedu packages into a new directory in my home directory.

then I had to cd into that directory and do
$ mkdir build

Then after that:

$ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=$HOME/kde4

That took a couple of minutes.

Then:
$ cd kstars
$ make install

That was the full compilation (took about 20 minutes on my G5).

Then I could launch and run kstars:
~/kde4/bin/kstars

And it wrote a lengthy debug log to the console as it started up, mainly about missing stars, which is hardly surprising since that's the bug we're trying to fix!

It might have been wiser to create a new user and do all this as that user, so as not to risk clobbering all my personal setup, but as I'm not doing serious work on the Linux side of my Mac anyway, and needed to easily access the emails with the helpful advice, I didn't bother.

Cheers, Mike.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]