You are not logged in.

#1 2008-09-07 19:17:01

valandil
Member
Registered: 2008-03-11
Posts: 60

[solved with semantik] Kdissert compilation

Hi there!

I have a weird problem when I try to compile kdissert.

[31/136] * cpp : ../src/kdissert/canvasview/DCanvasLink.cpp -> default/src/kdissert/canvasview/DCanvasLink.o
../src/kdissert/canvasview/DCanvasLink.cpp: In member function 'void DCanvasLink::setPosThickWeb()':
../src/kdissert/canvasview/DCanvasLink.cpp:308: error: 'abs' was not declared in this scope

What can I do to remedy to that problem?

Last edited by valandil (2008-09-08 01:31:29)

Offline

#2 2008-09-07 19:28:42

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: [solved with semantik] Kdissert compilation

Hello!

Are you using KDE4 or KDE3 ?

@+

Offline

#3 2008-09-07 19:41:31

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: [solved with semantik] Kdissert compilation

In fact, I am using GNOME, but I installed the qt3 package.

Offline

#4 2008-09-08 00:05:00

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [solved with semantik] Kdissert compilation

Offline

#5 2008-09-08 00:14:08

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: [solved with semantik] Kdissert compilation

Sorry for the noobiness, but what I am to do with this?

Offline

#6 2008-09-08 00:39:00

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [solved with semantik] Kdissert compilation

try this modified AUR PKGBUILD (not tested).

pkgname=kdissert
pkgver=1.0.7
pkgrel=1
pkgdesc="A KDE mindmapping tool"
arch=('i686' 'x86_64')
url="http://www.freehackers.org/~tnagy/kdissert/"
license=('GPL')
depends=('kdelibs3')
makedepends=('python')
source=("http://www.freehackers.org/~tnagy/$pkgname/$pkgname-$pkgver.tar.bz2" http://kambing.ui.edu/gentoo-portage/kde-misc/kdissert/files/kdissert-1.0.7-gcc43.patch)
md5sums=('88ad0d4f67bded1aac307434564215fc' 'c33befefb9152d64fa619778fc4cec05')

build() {
  . /etc/profile.d/qt3.sh
  export PATH=$QTDIR/bin:$PATH
  export QMAKESPEC=$QTDIR/mkspecs/linux-g++

  cd $startdir/src/$pkgname-$pkgver
  patch -p0 < ../kdissert-1.0.7-gcc43.patch ||return 1
  ./waf --prefix=$(kde-config --prefix) configure 
  ./waf
  ./waf --destdir=$startdir/pkg install
  
  #fix category in .desktop file
  sed -i -e 's/Utility;X-KDE-More/Office/' $startdir/pkg/opt/kde/share/applications/kde/kdissert.desktop
  rm -rf $startdir/pkg/opt/kde/share/applnk
}

Offline

#7 2008-09-08 00:57:24

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: [solved with semantik] Kdissert compilation

Unfortunately, this doesn't work.

[66/136] * cpp : default/src/kdissert/settings.cpp -> default/src/kdissert/settings.o
In file included from /usr/include/QtCore/QFile:1,
                 from default/src/kdissert/settings.cpp:7:
/usr/include/QtCore/qfile.h:55: error: 'QT_BEGIN_HEADER' does not name a type
/usr/include/QtCore/qfile.h:64: error: function definition does not declare parameters
/usr/include/QtCore/qfile.h:200: error: expected constructor, destructor, or type conversion before '(' token

Offline

#8 2008-09-08 01:31:05

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: [solved with semantik] Kdissert compilation

Hi guys!

Thanks for all the help you provided me, but I just found out that Semantik (which I am now able to build) is backwards compatible with Kdissert and it now features the document-generating thing.

So... thanks for your time!

Offline

Board footer

Powered by FluxBB