You are not logged in.

#1 2007-11-16 19:01:33

japetto
Member
From: Chicago, IL US
Registered: 2006-07-02
Posts: 183

wmii-3.1 - need help building

So I am a long time dwm user and I want to try ruby-wmii which works with wmii-3.1.  I modified the current PKGBUILD for wmii-3.5 but when run I get errors (linker couldn't find a library call?).  I wasn't sure if it had to do with the current version libixp I have installed, so I also tried an older package as well (libixp-0.1) but same error.  Any help would be very appreciated!


PKGBUILD:

# $Id: PKGBUILD,v 1.3 2007/01/10 04:59:17 jeff Exp $
# Maintainer: Jeff Mickey <jeff@archlinux.org>
# Maintainer : Aaron, phrakture, Griffin <aaron@archlinux.org>
# Contributor: Jeffrey 'jf' Lim <jfs.world@gmail.com>

pkgname=wmii
pkgver=3.1
pkgrel=1
arch=('i686')
pkgdesc="Next generation WMI (Window Manager Improved 2)"
url="http://wmii.suckless.org/"
depends=('glibc' 'libx11' 'libixp' 'dmenu')
source=(wmii-3.1.tar.gz config.mk wmii.desktop)
md5sums=('108147a4283bd76d2a76e47bb0c96bac' '3e0c1bfe7e3cf92dfc874f3aab857e12'\
         '997d01cd35931b548fa7e6d1011ff6d4')

build()
{
  cd $startdir/src/$pkgname-$pkgver
  cp ../config.mk .

  make || return 1
  make DESTDIR=$startdir/pkg install

  mkdir -p $startdir/pkg/etc/X11/sessions
  install -m644 ../wmii.desktop $startdir/pkg/etc/X11/sessions/
}

Error:

japetto@slumb /var/abs/local/wmii-3.1 $ makepkg -c
==> Entering fakeroot environment
==> Making package: wmii 3.1-1 (Fri Nov 16 10:51:14 PST 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
   -> Found wmii-3.1.tar.gz in build dir
   -> Found config.mk in build dir
   -> Found wmii.desktop in build dir
==> Validating source files with md5sums
    wmii-3.1.tar.gz ... Passed
    config.mk ... Passed
    wmii.desktop ... Passed
==> Extracting Sources...
   -> tar -xf wmii-3.1.tar.gz
==> Starting build()...
wmii build options:
LIBS     = -L/usr/lib -L/usr/include -lc -L/usr/lib -lX11 -lixp -lm
CFLAGS   = -O3 -I. -I/usr/include -I/usr/include -I/usr/include/X11 -DVERSION="3.1"
LDFLAGS  = -L/usr/lib -L/usr/include -lc -L/usr/lib -lX11 -lixp -lm
CC       = cc
make[1]: Entering directory `/var/abs/local/wmii-3.1/src/wmii-3.1/libcext'
CC emallocz.c
CC strlcat.c
CC strlcpy.c
CC strtonum.c
CC tokenize.c
CC trim.c
CC vector.c
AR libcext.a
built libcext
make[1]: Leaving directory `/var/abs/local/wmii-3.1/src/wmii-3.1/libcext'
make[1]: Entering directory `/var/abs/local/wmii-3.1/src/wmii-3.1/liblitz'
CC color.c
CC font.c
CC draw.c
CC geometry.c
AR liblitz.a
built liblitz
make[1]: Leaving directory `/var/abs/local/wmii-3.1/src/wmii-3.1/liblitz'
make[1]: Entering directory `/var/abs/local/wmii-3.1/src/wmii-3.1/libixp'
CC client.c
CC convert.c
CC message.c
CC server.c
CC socket.c
CC transport.c
AR libixp.a
built libixp
make[1]: Leaving directory `/var/abs/local/wmii-3.1/src/wmii-3.1/libixp'
make[1]: Entering directory `/var/abs/local/wmii-3.1/src/wmii-3.1/cmd'
CC wmiimenu.c
LD wmiimenu
CC wmiipsel.c
LD wmiipsel
CC wmiir.c
LD wmiir
CC wmiisetsid.c
LD wmiisetsid
CC wmiiwarp.c
LD wmiiwarp
built wmii commands
make[1]: Leaving directory `/var/abs/local/wmii-3.1/src/wmii-3.1/cmd'
make[1]: Entering directory `/var/abs/local/wmii-3.1/src/wmii-3.1/cmd/wm'
CC area.c
CC bar.c
CC client.c
CC column.c
CC event.c
CC frame.c
CC fs.c
CC key.c
CC mouse.c
CC rule.c
CC view.c
CC wm.c
LD wmiiwm
fs.o: In function `new_ixp_conn':
fs.c:(.text+0x90): undefined reference to `ixp_accept_sock'
fs.o: In function `write_event':
fs.c:(.text+0xcc8): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0xd36): undefined reference to `ixp_server_respond_error'
fs.o: In function `xwrite':
fs.c:(.text+0x1739): undefined reference to `ixp_server_fid2map'
fs.o: In function `xclunk':
fs.c:(.text+0x259e): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x25db): undefined reference to `ixp_vector_of_maps'
fs.o: In function `do_fcall':
fs.c:(.text+0x2669): undefined reference to `ixp_server_respond_error'
fs.c:(.text+0x26a3): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x2737): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x27b4): undefined reference to `ixp_vector_of_maps'
fs.c:(.text+0x2837): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x2925): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x297b): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x2a02): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x2a2d): undefined reference to `ixp_server_fid2map'
fs.c:(.text+0x2c48): undefined reference to `ixp_vector_of_maps'
fs.c:(.text+0x3b28): undefined reference to `ixp_vector_of_maps'
collect2: ld returned 1 exit status
make[1]: *** [wmiiwm] Error 1
make[1]: Leaving directory `/var/abs/local/wmii-3.1/src/wmii-3.1/cmd/wm'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Offline

#2 2007-11-16 22:28:15

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: wmii-3.1 - need help building

use the devel package in AUR. 3.1 is VERY old

or better yet wait a while http://bbs.archlinux.org/viewtopic.php?id=39053

Last edited by dolby (2007-11-16 22:30:57)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2007-11-16 22:34:54

japetto
Member
From: Chicago, IL US
Registered: 2006-07-02
Posts: 183

Re: wmii-3.1 - need help building

Hi dolby,

I have already built the devel package, but it does not work with ruby-wmii.  All the research that I have done tells me that ruby-wmii only works with wmii-3.1.  That's why I am trying to build wmii-3.1.

Offline

#4 2007-11-16 23:01:06

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: wmii-3.1 - need help building

as codemac said on the node on my previous post wmii devs seem to break backwards compatibility from release to release. maybe try asking in #wmii on oftc. i dont think there are many ppl left around here using wmii...


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

Board footer

Powered by FluxBB