You are not logged in.
Pages: 1
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
I would like to help please
Mr Green
Mr Green
Offline
I just used your pkgbuild and kahakai built fine
freenode.net #linuxn00b
Offline
thanks.
its odd that it worked though. Do you have the latest swig installed too? usually stuff on Arch works for stuff on Arch.
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?
Dusty
Offline
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
do u want me to add it to the pkg build?
freenode.net #linuxn00b
Offline
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
alright keep me updated
freenode.net #linuxn00b
Offline
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
.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
Mr Green
Offline
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
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
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!! heheh
Offline
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
Pages: 1