JazzCore / ctrlp-cmatcher

CtrlP C matching extension
BSD 2-Clause "Simplified" License
207 stars 22 forks source link

Compile failed under Ubuntu 13.04 #1

Closed markwu closed 11 years ago

markwu commented 11 years ago

I compile cmatcher under Ubuntu 13.04 and got this error:

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

The full output looks like the following

sudo python setup.py install
running install
running build
running build_ext
building 'fuzzycomt' extension
creating build
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c fuzzycomt.c -o build/temp.linux-x86_64-2.7/fuzzycomt.o -std=c99
fuzzycomt.c:39:7: 錯誤: expected identifier or 「(」 before 「__extension__」
fuzzycomt.c: In function 「recursive_match」:
fuzzycomt.c:117:9: 警告: variable 「dot_file_match」 set but not used [-Wunused-but-set-variable]
fuzzycomt.c: 在頂層:
fuzzycomt.c:389:16: 警告: 函式宣告不是一個原型 [-Wstrict-prototypes]
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

(Sorry, it mixed with some Chinese messages due to my language settings)

JazzCore commented 11 years ago

Should be fixed now, sorry about that. Didn't work on linux for quite a while.

markwu commented 11 years ago

It works like a charm, thanks for this great extension.