Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15356 - Evilwm won't emerge
Summary: Evilwm won't emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 23:33 UTC by Pierre-Olivier Bouchard
Modified: 2003-02-09 21:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Olivier Bouchard 2003-02-08 23:33:47 UTC
Evilwm 0.99.11 won't emerge, I get a compilation error.

Calculating dependencies ...done!
>>> emerge (1 of 1) x11-wm/evilwm-0.99.11 to /
>>> md5 ;-) evilwm_0.99.11.orig.tar.gz
>>> Unpacking source...
>>> Unpacking evilwm_0.99.11.orig.tar.gz
>>> Source unpacked.
cat evilwm.h client.c events.c main.c misc.c new.c screen.c | sed
's/^#include.*evilwm.*$//' > allinone.c
gcc -mcpu=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -frerun-loop-opt
-frerun-cse-after-loop -falign-functions=4 -I/usr/X11R6/include -DMOUSE -DSTDIO
-DSOLIDDRAG    -DINFOBANNER -DCOLOURMAP -DMWM_HINTS -DVWM -DSHAPE
-DVERSION=\"0.99.11\"  -Os -Wall -o evilwm allinone.c -L/usr/X11R6/lib -lX11 -lXext
allinone.c:8:24: Xm/MwmUtil.h: No such file or directory
allinone.c: In function `setup_display':
allinone.c:931: `_XA_MWM_HINTS' undeclared (first use in this function)
allinone.c:931: (Each undeclared identifier is reported only once
allinone.c:931: for each function it appears in.)
allinone.c: At top level:
allinone.c:1122: parse error before '*' token
allinone.c:1122: warning: type defaults to `int' in declaration of `get_mwm_hints'
allinone.c:1122: warning: data definition has no type or storage class
allinone.c: In function `make_new_client':
allinone.c:1132: `PropMwmHints' undeclared (first use in this function)
allinone.c:1132: `mhints' undeclared (first use in this function)
allinone.c:1187: `MWM_HINTS_DECORATIONS' undeclared (first use in this function)
allinone.c:1187: `MWM_DECOR_ALL' undeclared (first use in this function)
allinone.c:1188: `MWM_DECOR_BORDER' undeclared (first use in this function)
allinone.c: At top level:
allinone.c:1339: parse error before '*' token
allinone.c:1339: warning: return type defaults to `int'
allinone.c: In function `get_mwm_hints':
allinone.c:1342: `PropMwmHints' undeclared (first use in this function)
allinone.c:1342: `data' undeclared (first use in this function)
allinone.c:1346: `PROP_MOTIF_WM_HINTS_ELEMENTS' undeclared (first use in this
function)
make: *** [allinone] Error 1

!!! ERROR: x11-wm/evilwm-0.99.11 failed.
!!! Function src_compile, Line 19, Exitcode 2
!!! (no error message)


Editing the makefile to disable MWM hints and VWM support let make allinone
compile the binary.

Maybe this should be detected somehow, or checking the motif USE var, or
creating a mwm use var? If you don't have mwm evilwm can't currently be built!
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-09 21:08:42 UTC
nice catch, fixed in portage (moved 0.99.11 to stable x86 and 0.99.14 to ~x86 as well)