On Mon, Oct 8, 2012 at 6:36 PM, Thiago Farina <tfransosi@xxxxxxxxx> wrote: > On Mon, Oct 8, 2012 at 1:09 PM, Andrew Wong <andrew.kw.w@xxxxxxxxx> wrote: >> On 10/07/12 20:39, Thiago Farina wrote: >>> When trying to build from source but it's failing: >>> >>> $ sudo make prefix=/usr/local all >>> LINK git-credential-store >>> gcc: @CHARSET_LIB@: No such file or directory >>> make: *** [git-credential-store] Error 1 >> Did you run the "configure" script? > Hum, I haven't. > > Now I did. > > >> In the source folder, do you have either file "config.mak" or >> "config.mak.autogen" ? > After running ./configure, now I have. > >> If you do, try removing them, and compile again. >> Which version are you compiling? > $ cat GIT-VERSION-FILE > GIT_VERSION = 1.7.12.84.gefa6462 > >> Did you get the source files from tar? >> Or from git? > From git (git://git.kernel.org/pub/scm/git/git.git). > > OK, after running ./configure I tried the make command again. > > CC credential-store.o > /bin/sh: clang: not found > make: *** [credential-store.o] Error 127 > > $ which clang > /home/tfarina/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang > > $ clang --version > clang version 3.2 (trunk 163674) > Target: x86_64-unknown-linux-gnu > Thread model: posix Also: $ echo $CC clang -B/usr/local/gold/bin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html