<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
It seems like you downloaded the master repository as a zip
archive. <br>
This way the archive doesn't contain git information and sure `git
describe ...' command fails.<br>
So you get two options: change vsn manually to current commit hash
or tag version or clone the git repository.<br>
<br>
<br>
On 01/13/2014 12:11 AM, Ivan Carmenates García wrote:<br>
</div>
<blockquote cite="mid:8795441.20140112161134@frcuba.co.cu"
type="cite">
<title>gproc github project</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<span style=" font-family:'Courier New'; font-size: 9pt;">Hi all,<br>
regards,<br>
<br>
I downloaded the gproc module from github, and when I tried to
compile it got this error:<br>
<br>
gproc<br>
ERROR: git describe --always --tags `git log -n 1
--pretty=format:%h .` failed with error: 128 and output:<br>
fatal: Not a git repository (or any of the parent
directories): .git<br>
fatal: Not a git repository (or any of the parent
directories): .git<br>
<br>
so I review the sources and I found that in the
/src/gproc.app.src file the vsn parameter has the value "git", I
think that is prepared for online compiling or something,<br>
How can I fix it to work offline<br>
<br>
<br>
<br>
<br>
<br>
<br>
%%% -*- mode: erlang -*-<br>
%%% $Id$<br>
%%%<br>
<br>
{application, gproc,<br>
[<br>
{description, "GPROC"},<br>
{vsn, git},<br>
{id, "GPROC"},<br>
{registered, [ ] },<br>
%% NOTE: do not list applications which are load-only!<br>
{applications, [ kernel, stdlib ] },<br>
{mod, {gproc_app, []} }<br>
]<br>
}.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<hr noshade="noshade" size="2">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</span></blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards,
Dmitry Klionsky</pre>
</body>
</html>