On 17-02-2012 20:46, Stephan Beal wrote:
> On Fri, Feb 17, 2012 at 8:34 PM, Stephan Beal <[email protected]
> <mailto:[email protected]>> wrote:
>
>     # make CPPFLAGS=-DFOSSIL_ENABLE_JSON
>
>
> Nevermind - that doesn't work. i thought it worked because i failed to
> do 'make distclean' before re-trying.
>
> i've just added an option to the mingw makefile which "should" allow
> you to do:
>
> FOSSIL_ENABLE_JSON=1 make -f win/Makefile.mingw
>
> Please do an update, make clean, and give that a try.
>
Neat, that did the trick! Thanks Stephan.

And I can achieve the same by simple adding 'FOSSIL_ENABLE_JSON = 1'
somewhere in the beginning of the Makefile.mingw (at least before the
part you added). Then I don't have to type that option each time I compile.

The problem (or one of them) very probably was that I deleted the /wbld
folder (as 'make clean' does not work), but I did not delete the
previous fossil.exe file (as is done by a 'make clean' I guess). I
discovered that by doing a 'fossil version', which gave me '... 1.22
[6c835ea8c7] ...', which was not the latest changeset you committed, and
I updated to.

(Btw: the commentline above the 'ifdef FOSSIL_ENABLE_JSON ...' part you
added in the Makefile.mingw will have to be edited, as it still refers
to where you copied it from.)

> :-?
>
> -- 
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal
>
>
>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


-- 
Johan Samyn
___________________________________________________________________
"Perfection is achieved, not when there is nothing more to add,
but when there is nothing left to take away." - A. de Saint-Exupery

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to