[Kstars-devel] problem compiling cvs to add a little feature
Jason Harris
kstars at 30doradus.org
Tue May 18 23:27:38 CEST 2004
On Tuesday 18 May 2004 02:18 pm, Alessio Sangalli wrote:
> Jason Harris wrote:
> >>I would like to contribute some work to Kstars. Now I've quite finished
> >>with the new house and I should have more time for Kstars :)
> >
> > Excellent! If you want, you can start with improving the filtering in
> > the Find Object window. Or take a look at the "TODO" section of the 3.3
> > feature plan:
> > http://developer.kde.org/development-versions/kde-3.3-features.html
>
> Yes but I need to be able to compile kstars at least :(
>
For now, you can just skip the indi directory by changing the file
kstars/kstars/Makefile.am. Make the "kstars_LDADD" and "SUBDIRS" lines look
like this:
-----------
kstars_LDADD = tools/libkstarstools.a
$(top_builddir)/libkdeedu/kdeeduplot/libkdeeduplot.la
$(top_builddir)/libkdeedu/extdate/libextdate.la -lkdeprint -lm
SUBDIRS = tools . data icons
-----------
then run 'make -f Makefile.cvs' and './configure' again (both in kdeedu dir).
> Another thing: I've never developed a KDE application, althought I've
> used Qt in the past. When compiling a "test" Kstars tree, is it ok if I
> specify a --prefix wich has nothing to do with the current KDE
> installation to not mess up all the things?
>
Hmm, it's difficult, because I think it may use the prefix argument to look
for your KDE libs and includes as well. You might want to try something like
this:
./configure --prefix=/path/to/fake/target --with-qt-dir=$QTDIR
--includedir=$KDEDIR/include --libdir=$KDEDIR/lib
but I don't know that it will work...
good luck,
Jason
--
-------------------------------
KStars: KDE Desktop Planetarium
http://edu.kde.org/kstars
More information about the Kstars-devel
mailing list