FS#6189 - wmii PKGBUILD typo, and path issue when installed. Fails to run.
Attached to Project:
Arch Linux
Opened by Oveek Mallik (veek) - Monday, 08 January 2007, 16:15 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 09 January 2007, 22:31 GMT
Opened by Oveek Mallik (veek) - Monday, 08 January 2007, 16:15 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 09 January 2007, 22:31 GMT
|
Details
Typo in PKGBUILD: The dependency libipx should be libixp.
After correcting that and installing the package there is another issue. When attempting to start wmii by adding it to my .xinitrc I get the following error: /usr/bin/wmii: line 10: /usr/bin/wmiiwm: No such file or directory Apparently a path issue, maybe a problem in the /usr/bin/wmii script that sets up paths and calls the wmiiwm binary. I chose severity as "High" based on how serious the problem is for this specific package. Severity is probably not so high in the grand scheme of things. |
This task depends upon
Closed by Jeff Mickey (codemac)
Wednesday, 10 January 2007, 05:14 GMT
Reason for closing: Fixed
Additional comments about closing: The config.mk file was missing the LD = ${CC} line.
Wednesday, 10 January 2007, 05:14 GMT
Reason for closing: Fixed
Additional comments about closing: The config.mk file was missing the LD = ${CC} line.
There is one more issue with the PKGBUILD.
wmii apparently has an additional dependency: the package "dmenu."
I compiled and installed this from AUR and all is well.
pkgver=3.5.1, pkgrel=1 and pkgrel=2.
Neither of these PKGBUILDs work for me, and I believe several other people
have problems with it.
There is a package build supplied by an user alcazoid,
that worked for me and some other people.
The relevant thread containing the discussion and PKGBUILD
is on the last few pages of this thread:
http://bbs.archlinux.org/viewtopic.php?t=22592.
Here's a link to the page of the thread containing the working PKGBUILDs:
http://bbs.archlinux.org/viewtopic.php?t=22592&postdays=0&postorder=asc&start=100
It seems that the problem is in the config.mk
that comes with the package build.
Here's the config.mk (courtesy of alcazoid) that works.
I tested this with the most recent PKGBUILD (pkgrel 2)
and it works for me.
PREFIX = /usr
CONFPREFIX = /etc
MANPREFIX = ${PREFIX}/man
X11INC = /usr/include/xorg
X11LIB = /usr/lib
VERSION = 3.5.1
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 -lixp -lm
CFLAGS = -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-DVERSION=\"${VERSION}\"
LDFLAGS = ${LIBS}
LD = cc
AR = ar cr
CC = cc
RANLIB = ranlib
I haven't screwed up on a package like this in a _while_.
I really apologize to the users of wmii, I really needed to test this package a bit more thoroughly. Like at all.
This was me just acting too quickly.
I'd also like to thank everyone who notified me about this. Normally my interaction with users has been that of demand and disrespect. EVERYONE I've talked to about these bugs has been polite, courteous, and even helpful with solutions.
The reason for the error in this package was that the "LD = ${CC}" line was missing. Don't know how, but it was. Fixed, and tested :)
Thanks for the heads up guys.