[i3ass] makefile not working properly on debian #163

Closed
opened 2022-02-28 16:57:45 +00:00 by okalm · 4 comments
okalm commented 2022-02-28 16:57:45 +00:00 (Migrated from github.com)

Hi,

I tried to install i3ass following the listed method on the description page meaning :git clone, make & make install , but it doesn't work as intended .
I get some error messages after the first make command:

i3ass : make
for dir in src/i3Kornhe src/i3flip src/i3fyra src/i3get src/i3gw src/i3king src/i3list src/i3menu src/i3run src/i3var src/i3viswiz src/i3zen; do
make -C "$dir" all
done
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3Kornhe'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3Kornhe'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3flip'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3flip'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3fyra'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3fyra'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3get'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3get'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3gw'
parsing optionsawk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3gw'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3king'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3king'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3list'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3list'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3menu'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3menu'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3run'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3run'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3var'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3var'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3viswiz'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3viswiz'
make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3zen'
parsing options
awk: line 5: syntax error at or near ,
awk: line 11: syntax error at or near [
awk: line 13: syntax error at or near [
awk: line 16: syntax error at or near else
awk: line 23: syntax error at or near [
make[1]: *** [Makefile:313: .cache/options_in_use] Error 2
make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3zen'
make: *** [Makefile:22: all] Error 2

The only thing I found was this thread but it was related to i3-gaps which I do not use, that's why I am a bit confused.
Could you help me with it please ? thank you.

OS: Debian 11
kernel: 5.10.0-11-amd64
i3-wm version: 4.19.1-1

Hi, I tried to install i3ass following the listed method on the description page meaning :git clone, make & make install , but it doesn't work as intended . I get some error messages after the first make command: ``` i3ass : make for dir in src/i3Kornhe src/i3flip src/i3fyra src/i3get src/i3gw src/i3king src/i3list src/i3menu src/i3run src/i3var src/i3viswiz src/i3zen; do make -C "$dir" all done make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3Kornhe' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3Kornhe' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3flip' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3flip' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3fyra' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3fyra' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3get' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3get' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3gw' parsing optionsawk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3gw' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3king' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3king' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3list' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3list' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3menu' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3menu' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3run' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3run' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3var' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3var' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3viswiz' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3viswiz' make[1]: Entering directory '/home/okalm/depots_git/i3ass/src/i3zen' parsing options awk: line 5: syntax error at or near , awk: line 11: syntax error at or near [ awk: line 13: syntax error at or near [ awk: line 16: syntax error at or near else awk: line 23: syntax error at or near [ make[1]: *** [Makefile:313: .cache/options_in_use] Error 2 make[1]: Leaving directory '/home/okalm/depots_git/i3ass/src/i3zen' make: *** [Makefile:22: all] Error 2 ``` The only thing I found was this [thread](https://github.com/budlabs/i3ass/issues/41) but it was related to i3-gaps which I do not use, that's why I am a bit confused. Could you help me with it please ? thank you. OS: Debian 11 kernel: 5.10.0-11-amd64 i3-wm version: 4.19.1-1
budRich commented 2022-02-28 18:13:40 +00:00 (Migrated from github.com)

thanks for reporting this.
it works for me, but i see in your output that the list in the for loop is slightly different:
yours look like:
for dir in src/i3Kornhe src/i3flip src/i3fyra src/i3get src/i3gw src/i3king src/i3list src/i3menu src/i3run src/i3var src/i3viswiz src/i3zen; do

mine is:
for dir in src/i3flip src/i3fyra src/i3get src/i3gw src/i3king src/i3Kornhe src/i3list src/i3menu src/i3run src/i3var src/i3viswiz src/i3zen; do

further I see in my output that bfore "parsing options" .cache/ dir is created...

make -C "$dir" all
done
make[1]: Entering directory '/home/bud/tmp/asss/src/i3flip'
creating ./.cache/ dir
parsing options
making .cache/long_help.md
generating help table
making .cache/print_help.sh
making .cache/timer_start
making _i3flip.sh
generating i3flip.1 from .cache/manpage.md
making _init.sh
make[1]: Leaving directory '/home/bud/tmp/asss/src/i3flip'
make[1]: Entering directory '/home/bud/tmp/asss/src/i3fyra'
creating ./.cache/ dir

This makes me suspect we are using different make versions.

My output of make -v is:

GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

What's yours?

thanks for reporting this. it works for me, but i see in your output that the list in the for loop is slightly different: yours look like: `for dir in src/i3Kornhe src/i3flip src/i3fyra src/i3get src/i3gw src/i3king src/i3list src/i3menu src/i3run src/i3var src/i3viswiz src/i3zen; do` mine is: `for dir in src/i3flip src/i3fyra src/i3get src/i3gw src/i3king src/i3Kornhe src/i3list src/i3menu src/i3run src/i3var src/i3viswiz src/i3zen; do` further I see in my output that bfore "parsing options" `.cache/ dir` is created... ``` make -C "$dir" all done make[1]: Entering directory '/home/bud/tmp/asss/src/i3flip' creating ./.cache/ dir parsing options making .cache/long_help.md generating help table making .cache/print_help.sh making .cache/timer_start making _i3flip.sh generating i3flip.1 from .cache/manpage.md making _init.sh make[1]: Leaving directory '/home/bud/tmp/asss/src/i3flip' make[1]: Entering directory '/home/bud/tmp/asss/src/i3fyra' creating ./.cache/ dir ``` This makes me suspect we are using different make versions. My output of `make -v` is: ``` GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ``` What's yours?
okalm commented 2022-02-28 22:02:48 +00:00 (Migrated from github.com)

It looks like we are using the same version .

~ : make -v
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
It looks like we are using the same version . ``` ~ : make -v GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ```
okalm commented 2022-03-01 02:08:52 +00:00 (Migrated from github.com)

Fixed, dependencies were missing: gawk, lowdon, xdotool, I found them on the AUR page.
If I may it could be convenient to list them as a requirement on the README page.
Thank you.

Fixed, dependencies were missing: gawk, lowdon, xdotool, I found them on the AUR page. If I may it could be convenient to list them as a requirement on the README page. Thank you.
budRich commented 2022-03-01 02:24:32 +00:00 (Migrated from github.com)

yeah, i will make it more clear. I think i can just change the awk command in the make file to gawk and that error will be easier to spot.

Thanks again for the report!

yeah, i will make it more clear. I think i can just change the `awk` command in the make file to `gawk` and that error will be easier to spot. Thanks again for the report!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bud/i3ass#163
No description provided.