[dev][wmii] Problem in config.mk

5 views
Skip to first unread message

Marco Rucci

unread,
Oct 2, 2009, 11:59:22 AM10/2/09
to d...@suckless.org
Hi all,
   I was trying to build wmii from the latest alfa (wmii 3.9a2)
following the README instructions and found a small problem.
After running 'make config' I noticed that in the file 'config.mk' the
variable INCX11 that is correctly initialized with:
INCX11 = $$(pkg-config --cflags $(X11PACKAGES))
is then overwritten with:
INCX11=-I/usr/include

I've tried to see what happen in the 'genconfig' script but without
results. Obviously, changing the include make the compilation process
work, but maybe someone want to investigate this problem so other
people won't have the same issue.

Thank you all for this wonderful window manager.

--
Marco Rucci

PS: libxinerama-dev should be added to the list of dependencies in the
deb-dep rule?
PPS: I hope this mail is not in html. If this is not the case, please
freely insult me :)

Marco Rucci

unread,
Oct 2, 2009, 12:50:30 PM10/2/09
to d...@suckless.org
Another problem. After the config/compile/install process went well, I
restarted gdm and logged in into wmii. Unfortunately I only see the
bottom bar white without any string and I can't do anything... help

Maybe someone else had the same issue but I can't google it.

Thanks
--
Marco Rucci

Kris Maglione

unread,
Oct 2, 2009, 1:38:18 PM10/2/09
to d...@suckless.org
On Fri, Oct 02, 2009 at 05:59:22PM +0200, Marco Rucci wrote:
>Hi all,
>   I was trying to build wmii from the latest alfa (wmii 3.9a2)
>following the README instructions and found a small problem.
>After running 'make config' I noticed that in the file 'config.mk' the
>variable INCX11 that is correctly initialized with:
> INCX11 = $$(pkg-config --cflags $(X11PACKAGES))
>is then overwritten with:
> INCX11=-I/usr/include
>
>I've tried to see what happen in the 'genconfig' script but without
>results. Obviously, changing the include make the compilation process
>work, but maybe someone want to investigate this problem so other
>people won't have the same issue.

Sorry, I only update the genconfig script just before release. I
may remove it before 3.9; I don't like it very much.

>PS: libxinerama-dev should be added to the list of dependencies in the
>deb-dep rule?

Perhaps. I don't run debian very often. Is it required for the
build?

>PPS: I hope this mail is not in html. If this is not the case, please
>freely insult me :)

Don't worry, it's not. :)

--
Kris Maglione

Mostly, when you see programmers, they aren't doing anything. One of
the attractive things about programmers is that you cannot tell
whether or not they are working simply by looking at them. Very often
they're sitting there seemingly drinking coffee and gossiping, or just
staring into space. What the programmer is trying to do is get a
handle on all the individual and unrelated ideas that are scampering
around in his head.
--Charles M. Strauss


Marco Rucci

unread,
Oct 2, 2009, 4:03:30 PM10/2/09
to dev mail list
On Fri, Oct 2, 2009 at 19:38, Kris Maglione <magli...@gmail.com> wrote:
> On Fri, Oct 02, 2009 at 05:59:22PM +0200, Marco Rucci wrote:
>>
>> Hi all,
>>    I was trying to build wmii from the latest alfa (wmii 3.9a2)
>> following the README instructions and found a small problem.
>> After running 'make config' I noticed that in the file 'config.mk' the
>> variable INCX11 that is correctly initialized with:
>>   INCX11 = $$(pkg-config --cflags $(X11PACKAGES))
>> is then overwritten with:
>>   INCX11=-I/usr/include
>>
>> I've tried to see what happen in the 'genconfig' script but without
>> results.  Obviously, changing the include make the compilation process
>> work, but maybe someone want to investigate this problem so other
>> people won't have the same issue.
>
> Sorry, I only update the genconfig script just before release. I may remove
> it before 3.9; I don't like it very much.
>
>> PS: libxinerama-dev should be added to the list of dependencies in the
>> deb-dep rule?
>
> Perhaps. I don't run debian very often. Is it required for the build?

Yes, it is required.

--
Marco Rucci

Marco Rucci

unread,
Oct 4, 2009, 4:46:29 AM10/4/09
to d...@suckless.org
Ok, solved. The problem was that I was using $HOME/.wmii-3.5, as
stated in the README file, and not $HOME/.wmii as folder for wmiirc.
This is due to the fact the the variable CONFVERSION in wmii.mk is not
set to anything. I don't know if this is the desired behavior but
maybe the readme should be updated. The latest alfa also does not set
correctly the variable CONFPREFIX, but this seems to be fixed in the
hg version. (this is why I had the problem: no global wmiirc, no local
wmiirc...)

Sorry for the monologue, thanks,
marco rucci

Reply all
Reply to author
Forward
0 new messages