You are not logged in.

#1 2004-04-17 17:50:17

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

kahakai

I'm trying to build kahakai, apparently its supposed to be a headache no matter what. :-/

this is my PKGBUILD:

pkgname=kahakai
pkgver=0.6.2
pkgrel=1
pkgdesc=""An extremely cool window manager for X based on the (dead?) Waimea Window Manager." Only the new version. ;)"
url=""
depends=(xfree86 boost python swig)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://aleron.dl.sourceforge.net/sourceforge/kahakai/$pkgname-$pkgver.tar.bz2)
md5sums=('84f1501035d1fbab7eb46121a47b0dd8')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

I'm getting this error:

 g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/python2.3/ -I../src -DDEFAULTSTYLE="/usr/share/kahakai/styles/Default.style" -DDEFAULTMENU="/usr/share/kahakai/menu" -DDEFAULTACTION="/usr/share/kahakai/actions/action" -DDEFAULTRCFILE="/usr/share/kahakai/config" -DDEFAULTSCRIPTDIR="/usr/share/kahakai/scripts" -DPKGDATADIR="/usr/share/kahakai" -DDEFAULTSCRIPTCONFIG="/usr/share/kahakai/home_userconfig.py" -DPKGLIBDIR="/usr/lib/kahakai" -DGDB_COMMANDS_FILE="/usr/share/kahakai/cmd.gdb" -march=i686 -O2 -pipe -MT swig_wrapper_python.lo -MD -MP -MF .deps/swig_wrapper_python.Tpo -c swig_wrapper_python.cc  -fPIC -DPIC -o .libs/swig_wrapper_python.o
In file included from DrawOp.hh:13,
                 from Texture.hh:12,
                 from Style.hh:16,
                 from Screen.hh:19,
                 from Window.hh:32,
                 from swig_wrapper_python.cc:971:
Imlib2pp.hh:16:21: Imlib2.h: No such file or directory
In file included from DrawOp.hh:13,
                 from Texture.hh:12,
                 from Style.hh:16,
                 from Screen.hh:19,
                 from Window.hh:32,
                 from swig_wrapper_python.cc:971:
Imlib2pp.hh:46: error: 'ImlibPolygon' is used as a type, but is not defined as
   a type.
Imlib2pp.hh:56: error: 'Imlib_Color_Range' is used as a type, but is not
   defined as a type.
Imlib2pp.hh:65: error: type specifier omitted for parameter `DATA32'
Imlib2pp.hh:65: error: parse error before `*' token
Imlib2pp.hh:117: error: 'Imlib_Image' is used as a type, but is not defined as
   a type.
Imlib2pp.hh:129: error: 'Imlib_Context' is used as a type, but is not defined
   as a type.
In file included from Screen.hh:22,
                 from Window.hh:32,
                 from swig_wrapper_python.cc:971:
ImageControl.hh: In member function `void ImageControl::free_pixmap(long
   unsigned int)':
ImageControl.hh:54: error: `imlib_free_pixmap_and_mask' undeclared (first use
   this function)
ImageControl.hh:54: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[2]: *** [swig_wrapper_python.lo] Error 1
make[2]: Leaving directory `/home/dusty/Documents/code/pkgs/kahakai/src/kahakai-0.6.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dusty/Documents/code/pkgs/kahakai/src/kahakai-0.6.2/src'
make: *** [all-recursive] Error 1

And according to kahakai wiki:

Compilation bombs out on swig_wrapper_python.cc or swig_wrapper_ruby.cc

Please check your SWIG version: 1.3.18 and 1.3.19 have a bug, 1.3.16 or 1.3.17 work fine.

the SWIG version in pacman is 1.3.21. Apparently it doesn't work with kahakai either. I think the bug is in kahakai, not swig. :-D

I don't feel like messing with this a lot, but what can somebody suggest for the easiest way to solve this?  I assume downgrading swig is one option, but that's not easy or clean.

Dusty

Offline

#2 2004-04-17 18:42:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: kahakai

I would like to help please  tongue

Mr Green


Mr Green

Offline

#3 2004-04-17 19:07:54

dakor
Member
Registered: 2004-03-19
Posts: 107

Re: kahakai

I just used your pkgbuild and kahakai built fine


freenode.net  #linuxn00b

Offline

#4 2004-04-17 20:20:54

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: kahakai

thanks.

its odd that it worked though. Do you have the latest swig installed too?  usually stuff on Arch works for stuff on Arch. wink

I'm downloading the package, I'll be sure to let you know if it doesn't work. :-D

Maybe we should let contrasutra know that the package is (or might be) working again so he can put it in his TUR. What chances he'll read this? smile

Dusty

Offline

#5 2004-04-17 20:43:03

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: kahakai

Ok, it doesn't work for me, its failing on IMlib2. I'm just pacmanning this in right now, but imlib2 should be added to the list of depends for this package, and the release incremented.

will let you know if it works now...

Dusty

Offline

#6 2004-04-17 22:55:22

dakor
Member
Registered: 2004-03-19
Posts: 107

Re: kahakai

do u want me to add it to the pkg build?


freenode.net  #linuxn00b

Offline

#7 2004-04-17 23:54:56

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: kahakai

Sure, and it seems to be working now.

Only I'm having a problem with using "Super" as a modifier key. Its sending events even when the key isn't down. I'll work on sorting that one out later.

Dusty

Offline

#8 2004-04-18 04:26:46

dakor
Member
Registered: 2004-03-19
Posts: 107

Re: kahakai

alright keep me updated


freenode.net  #linuxn00b

Offline

#9 2004-04-18 09:46:30

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: kahakai

Man its lighter then fluxbox,,,,,   8)

emmm now we need some themes ...

Dusty can you edit your PKGBUILD on thread so others may give it a go...(please)

Mr Green


Mr Green

Offline

#10 2004-04-18 10:51:34

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: kahakai

.desktop file if you want to run from KDM/GDM

[Desktop Entry]
Encoding=UTF-8
Name=Kahakai
Comment=Kahakai
Exec=/usr/bin/kahakai
#no icon yet, only the top three are currently used
Icon=
Type=Application

save as kahakai.desktop then as root

mv kahakai.desktop /etc/X11/sessions

HTH

Mr Green tongue


Mr Green

Offline

#11 2004-04-18 13:32:47

dakor
Member
Registered: 2004-03-19
Posts: 107

Re: kahakai

heres the PKGBUILD

pkgname=kahakai
pkgver=0.6.2
pkgrel=1
pkgdesc=""An extremely cool window manager for X based on the (dead?) Waimea Window Manager." Only the new version. ;)"
url=""
depends=('xfree86' 'boost' 'python' 'swig' 'imlib2')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://aleron.dl.sourceforge.net/sourceforge/kahakai/$pkgname-$pkgver.tar.bz2)
md5sums=('84f1501035d1fbab7eb46121a47b0dd8')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

freenode.net  #linuxn00b

Offline

#12 2004-04-23 10:30:29

BigBadPenguin
Member
From: Toronto, Canada
Registered: 2004-03-03
Posts: 51

Re: kahakai

Awesome, my pkgbuild worked? (sounds like i forgot imlib2 though, sorry bout that) I definitely think contrasutra should know his pkgbuild works without patching headers in the new versions of X. He would for sure put a new pkg in his TUR. There are quite a few themes at freshmeat for this most excellent WM. Enjoy Kahakai! I think it rocks.

Offline

#13 2004-04-23 21:03:21

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: kahakai

so is there a working PKG outthere??

there are two in ftp://ftp.archlinux.org/incoming

if those are broken (or old) remove them or at least add the new one that works. I want to try Kahakai!! smile heheh

Offline

#14 2004-04-23 21:12:47

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: kahakai

At least one of the ones in incoming worked for me.

I logged into Kahakai IRC a while back and the topic was something along the lines of "Kahakai is no longer being developed". I was having trouble with it not recognizing my Super key, so I'm back on flux-devel now.

Offline

Board footer

Powered by FluxBB