Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

i have trouble compiling it #43

Closed
Quoteme opened this issue Mar 12, 2015 · 3 comments
Closed

i have trouble compiling it #43

Quoteme opened this issue Mar 12, 2015 · 3 comments

Comments

@Quoteme
Copy link

Quoteme commented Mar 12, 2015

when i try compiling with make && sudo make install, i get following output:

fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
[i3] CC src/ipc.c
In file included from ../i3-gaps/src/ipc.c:13:0:
../i3-gaps/src/ipc.c: In function ‘handle_get_version’:
include/yajl_utils.h:17:50: error: expected expression before ‘)’ token
#define y(x, ...) yajl_gen_##x(gen, ##VA_ARGS)
^
../i3-gaps/src/ipc.c:822:5: note: in expansion of macro ‘y’
y(integer, MAJOR_VERSION);
^
include/yajl_utils.h:17:50: error: expected expression before ‘)’ token
#define y(x, ...) yajl_gen_##x(gen, ##VA_ARGS)
^
../i3-gaps/src/ipc.c:825:5: note: in expansion of macro ‘y’
y(integer, MINOR_VERSION);
^

why does this happen, or how could I fix it?

@Airblader
Copy link
Owner

What's up with all the "Not a git repository" errors on top? In order to compile it you must have a git repository so that tags are available. See #26 .

@Quoteme
Copy link
Author

Quoteme commented Mar 12, 2015

Ok, thanks. This time i used "git clone" instead of downloading the zip directly and it compiled perfectly.

@Airblader
Copy link
Owner

Glad to hear it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants