Are you using ClojureCLR 1.4.x or 1.5RC1 (current master)?  

1.4 was not set up for mono.  1.5RC1 is.  In 1.5RC1, the csproj file for 
Clojure.Compile.exe conditionalizes the PostBuildEvent for mono vs .net.   
It works for me under Mono 2.x.  I haven't tried it under Mono3.

If you are under ClojureCLR 1.4, you will need to do on extra editing step 
that RobertJ had in his directions, to hardwire calling mono to run 
Clojure.Compile.exe in the PostBuildEvent:
 In a text editor open the "Clojure.Compile.csproj" file located in 
"Clojure/Clojure.Compile".  Under the "<PostBuildEvent>" add "mono"  to the 
section so it looks like this:

*---------------------------------Clojure.Compile.csproj 
Edit-------------------------------------------*
 <PostBuildEvent>mono "$(TargetPath)" clojure.core clojure.core.protocols 
clojure.main clojure.set clojure.zip  clojure.walk clojure.stacktrace 
clojure.template clojure.test clojure.test.tap clojure.test.junit 
clojure.pprint clojure.clr.io clojure.repl clojure.clr.shell clojure.string 
clojure.data clojure.reflect</PostBuildEvent>  </PropertyGroup>
*---------------------------------Clojure.Compile.csproj 
Edit-------------------------------------------*

If you are running into this problem with 1.5RC1 under Mono 3, let me know. 
 This would be anomalous.  (but the step above should make it work)

-David


On Thursday, January 3, 2013 2:26:37 AM UTC-6, Konrad Hinsen wrote:
>
> dmiller writes: 
>
>  > Building from souce on *nix/Mono can be done with nuget.  It's of pain 
> approximately 
>  > equal to what Robert wrote.   
>  > I just tried the following 
> ... 
>
> I tried this with Mono 3 under MacOS. It build Clojure.Compile.exe, but 
> then stops: 
>
> Target PostBuildEvent: 
> Executing: 
> "/Users/hinsen/Development/clojure-clr/bin/4.0/Release//Clojure.Compile.exe" 
> clojure.core clojure.core.protocols clojure.main clojure.set clojure.zip 
>  clojure.walk clojure.stacktrace clojure.template clojure.test 
> clojure.test.tap clojure.test.junit clojure.pprint clojure.clr.ioclojure.repl 
> clojure.clr.shell clojure.string clojure.data clojure.reflect 
> /var/folders/5o/5oa68Zl0EQG9YX04ru5xvE+++TM/-Tmp-/tmp435b44aa.tmp: line 1: 
> /Users/hinsen/Development/clojure-clr/bin/4.0/Release//Clojure.Compile.exe: 
> cannot execute binary file 
> /Library/Frameworks/Mono.framework/Versions/3.0.2/lib/mono/4.0/Microsoft.Common.targets:
>  
> error : Command 
> '"/Users/hinsen/Development/clojure-clr/bin/4.0/Release//Clojure.Compile.exe" 
> clojure.core clojure.core.protocols clojure.main clojure.set clojure.zip 
>  clojure.walk clojure.stacktrace clojure.template clojure.test 
> clojure.test.tap clojure.test.junit clojure.pprint clojure.clr.ioclojure.repl 
> clojure.clr.shell clojure.string clojure.data clojure.reflect' 
> exited with code: 126. 
> Task "Exec" execution -- FAILED 
>
> Konrad. 
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to