Getting Started. Compile Errors.

206 views
Skip to first unread message

Joaquin Menchaca

unread,
Aug 6, 2014, 6:21:51 PM8/6/14
to pash-p...@googlegroups.com
Hello.  This is my first time using this.  Is my Mono bad?  Or do I configure something before running xbuild?

$ brew install mono

$ git clone https://github.com/Pash-Project/Pash.git
$ cd Pash

$ xbuild
XBuild Engine Version 12.0
Mono, Version 3.4.0.0
Copyright (C) 2005-2013 Various Mono authors

Build started 8/6/2014 3:17:48 PM.
__________________________________________________
Project "/Users/test/pubarea/Pash/Pash.proj" (default target(s)):
    Target Build:
        Project "/Users/test/pubarea/Pash/Source/Pash.sln" (default target(s)):
            Target ValidateSolutionConfiguration:
                Building solution configuration "Debug|Any CPU".
            Target Build:
                Project "/Users/test/pubarea/Pash/Libraries/Irony/Irony/010.Irony.2010.csproj" (default target(s)):
                    Target PrepareForBuild:
                        Configuration: Debug Platform: AnyCPU
                        Created directory "bin/Debug/"
                        Created directory "obj/Debug/"
                    Target GenerateResources:
                        Tool /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/resgen.exe execution started with arguments: /useSourcePath /compile "Resources.resx,obj/Debug/Irony.Resources.resources"
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.Common.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/resgen.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/resgen.exe', CommandLine='/useSourcePath /compile "Resources.resx,obj/Debug/Irony.Resources.resources" ', CurrentDirectory='/Users/test/pubarea/Pash/Libraries/Irony/Irony', Native error= Cannot find the specified file
                    Task "GenerateResource" execution -- FAILED
                    Done building target "GenerateResources" in project "/Users/test/pubarea/Pash/Libraries/Irony/Irony/010.Irony.2010.csproj".-- FAILED
                Done building project "/Users/test/pubarea/Pash/Libraries/Irony/Irony/010.Irony.2010.csproj".-- FAILED
                Project "/Users/test/pubarea/Pash/Libraries/Libraries.Tests/Libraries.Tests.csproj" (default target(s)):
                    Target PrepareForBuild:
                        Configuration: Debug Platform: AnyCPU
                        Created directory "bin/Debug/"
                        Created directory "obj/Debug/"
                    Target CopyFilesMarkedCopyLocal:
                        Copying file from '/Users/test/pubarea/Pash/Tools/NUnit-2.6.1/bin/nunit.framework.dll' to '/Users/test/pubarea/Pash/Libraries/Libraries.Tests/bin/Debug/nunit.framework.dll'
                    Target GenerateSatelliteAssemblies:
                    No input files were specified for target GenerateSatelliteAssemblies, skipping.
                    Target CoreCompile:
                        Tool /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Libraries.Tests.dll MonoTests.cs Properties/AssemblyInfo.cs obj/Debug/.NETFramework,Version=v4.0.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:../../Tools/NUnit-2.6.1/bin/nunit.framework.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Data.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Xml.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Core.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/mscorlib.dll /warn:4
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/ly/b7xqv43d1b7g089x0vst2q9m0000gn/T/tmpf7bad50.tmp', CurrentDirectory='/Users/test/pubarea/Pash/Libraries/Libraries.Tests', Native error= Cannot find the specified file
                    Task "Csc" execution -- FAILED
                    Done building target "CoreCompile" in project "/Users/test/pubarea/Pash/Libraries/Libraries.Tests/Libraries.Tests.csproj".-- FAILED
                Done building project "/Users/test/pubarea/Pash/Libraries/Libraries.Tests/Libraries.Tests.csproj".-- FAILED
                Project "/Users/test/pubarea/Pash/Source/NUnitAssertHandlerAddin/NUnitAssertHandlerAddin.csproj" (default target(s)):
                    Target PrepareForBuild:
                        Configuration: Debug Platform: AnyCPU
                        Created directory "../../Tools/NUnit-2.6.1/bin/addins/"
                        Created directory "obj/Debug/"
                    Target CopyFilesMarkedCopyLocal:
                        Copying file from '/Users/test/pubarea/Pash/Tools/NUnit-2.6.1/bin/nunit.framework.dll' to '/Users/test/pubarea/Pash/Tools/NUnit-2.6.1/bin/addins/nunit.framework.dll'
                    Target GenerateSatelliteAssemblies:
                    No input files were specified for target GenerateSatelliteAssemblies, skipping.
                    Target CoreCompile:
                        Tool /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/NUnitAddinAssertHandler.dll Properties/AssemblyInfo.cs NUnitAssertHandlerAddin.cs obj/Debug/.NETFramework,Version=v4.0.AssemblyAttribute.cs /target:library /define:DEBUG /nostdlib /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.dll /reference:../../Tools/NUnit-2.6.1/bin/lib/nunit.core.interfaces.dll /reference:../../Tools/NUnit-2.6.1/bin/nunit.framework.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Core.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/mscorlib.dll /warn:4
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/ly/b7xqv43d1b7g089x0vst2q9m0000gn/T/tmp4d8c2198.tmp', CurrentDirectory='/Users/test/pubarea/Pash/Source/NUnitAssertHandlerAddin', Native error= Cannot find the specified file
                    Task "Csc" execution -- FAILED
                    Done building target "CoreCompile" in project "/Users/test/pubarea/Pash/Source/NUnitAssertHandlerAddin/NUnitAssertHandlerAddin.csproj".-- FAILED
                Done building project "/Users/test/pubarea/Pash/Source/NUnitAssertHandlerAddin/NUnitAssertHandlerAddin.csproj".-- FAILED
                Project "/Users/test/pubarea/Pash/Spikes/Spikes/Spikes.csproj" (default target(s)):
                    Target PrepareForBuild:
                        Configuration: Debug Platform: AnyCPU
                        Created directory "bin/Debug/"
                        Created directory "obj/Debug/"
                    Target CopyFilesMarkedCopyLocal:
                        Copying file from '/Users/test/pubarea/Pash/Tools/NUnit-2.6.1/bin/nunit.framework.dll' to '/Users/test/pubarea/Pash/Spikes/Spikes/bin/Debug/nunit.framework.dll'
                    Target GenerateSatelliteAssemblies:
                    No input files were specified for target GenerateSatelliteAssemblies, skipping.
                    Target CoreCompile:
                        Tool /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/Spikes.dll MemberExpressionSpikes.cs NewObjectCommandSpikes.cs Properties/AssemblyInfo.cs obj/Debug/.NETFramework,Version=v4.0.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /nostdlib /reference:../../Tools/NUnit-2.6.1/bin/nunit.framework.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Xml.Linq.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Data.DataSetExtensions.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/Microsoft.CSharp.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Data.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Xml.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/System.Core.dll /reference:/usr/local/Cellar/mono/3.4.0/lib/mono/4.0/mscorlib.dll /warn:4
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/ly/b7xqv43d1b7g089x0vst2q9m0000gn/T/tmp61a419a5.tmp', CurrentDirectory='/Users/test/pubarea/Pash/Spikes/Spikes', Native error= Cannot find the specified file
                    Task "Csc" execution -- FAILED
                    Done building target "CoreCompile" in project "/Users/test/pubarea/Pash/Spikes/Spikes/Spikes.csproj".-- FAILED
                Done building project "/Users/test/pubarea/Pash/Spikes/Spikes/Spikes.csproj".-- FAILED
            Task "MSBuild" execution -- FAILED
            Done building target "Build" in project "/Users/test/pubarea/Pash/Source/Pash.sln".-- FAILED
        Done building project "/Users/test/pubarea/Pash/Source/Pash.sln".-- FAILED
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/Users/test/pubarea/Pash/Pash.proj".-- FAILED
Done building project "/Users/test/pubarea/Pash/Pash.proj".-- FAILED

Build FAILED.
Errors:

/Users/test/pubarea/Pash/Pash.proj (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Source/Pash.sln (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Libraries/Irony/Irony/010.Irony.2010.csproj (default targets) ->
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.Common.targets (GenerateResources target) ->

    /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.Common.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/resgen.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/resgen.exe', CommandLine='/useSourcePath /compile "Resources.resx,obj/Debug/Irony.Resources.resources" ', CurrentDirectory='/Users/test/pubarea/Pash/Libraries/Irony/Irony', Native error= Cannot find the specified file

/Users/test/pubarea/Pash/Pash.proj (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Source/Pash.sln (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Libraries/Libraries.Tests/Libraries.Tests.csproj (default targets) ->
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/ly/b7xqv43d1b7g089x0vst2q9m0000gn/T/tmpf7bad50.tmp', CurrentDirectory='/Users/test/pubarea/Pash/Libraries/Libraries.Tests', Native error= Cannot find the specified file

/Users/test/pubarea/Pash/Pash.proj (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Source/Pash.sln (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Source/NUnitAssertHandlerAddin/NUnitAssertHandlerAddin.csproj (default targets) ->
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/ly/b7xqv43d1b7g089x0vst2q9m0000gn/T/tmp4d8c2198.tmp', CurrentDirectory='/Users/test/pubarea/Pash/Source/NUnitAssertHandlerAddin', Native error= Cannot find the specified file

/Users/test/pubarea/Pash/Pash.proj (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Source/Pash.sln (default targets) ->
(Build target) ->
/Users/test/pubarea/Pash/Spikes/Spikes/Spikes.csproj (default targets) ->
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe': ApplicationName='/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/ly/b7xqv43d1b7g089x0vst2q9m0000gn/T/tmp61a419a5.tmp', CurrentDirectory='/Users/test/pubarea/Pash/Spikes/Spikes', Native error= Cannot find the specified file

     0 Warning(s)
     4 Error(s)

Time Elapsed 00:00:00.6105600

Johannes Rössel

unread,
Aug 7, 2014, 1:25:18 AM8/7/14
to pash-p...@googlegroups.com
Hello Joaquin,

this seems to be caused by the Homebrew install of Mono.
<https://github.com/nosami/OmniSharpServer/issues/80> seems to be the
exact same issue and it was resolved by installing the official Mono
version.

Regards,
Johannes

Joaquin Menchaca

unread,
Aug 7, 2014, 6:54:38 PM8/7/14
to pash-p...@googlegroups.com, pa...@hypftier.de
Thank you.  I installed the 3.4.0 MDK and it worked like a charm.  I just cannot believe I am running PowerShell on my Mac OS X.  This is just crazy...

Jay Bazuzi

unread,
Aug 8, 2014, 12:59:59 AM8/8/14
to pash-p...@googlegroups.com

Is there a way to detect this problem, so we can print out a good error message?

--
You received this message because you are subscribed to the Google Groups "Pash Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pash-project+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/pash-project.

Johannes Rössel

unread,
Aug 8, 2014, 1:50:07 AM8/8/14
to pash-p...@googlegroups.com
On 2014-08-08 06:59, Jay Bazuzi wrote:
> Is there a way to detect this problem, so we can print out a good error
> message?

The error is a bit generic, sadly. I think I've seen posts that talked
about the executable not being set as +x, or it not being in the $PATH
(which wouldn't be the problem here, as it's run with the full path).
Maybe it's just missing, too. I have no idea how homebrew works or what
it does (apart from apparently installing software). Lacking any machine
with OS X I cannot really test either. Not knowing what the problem is
also means that writing a bug report is a bit futile.

We could put a note in the README for now, just as we did with the
terminal escape sequences on Fedora. People are apparently still reading
that (at least for the build instructions). Having the same not
replicated in the build files to detect the issue automatically would be
very nice, though.

Regards,
Johannes

Johannes Rössel

unread,
Aug 8, 2014, 7:04:09 PM8/8/14
to pash-p...@googlegroups.com
On 2014-08-08 06:59, Jay Bazuzi wrote:
> Is there a way to detect this problem, so we can print out a good error
> message?

Ventero made a patch for homebrew:
https://github.com/Homebrew/homebrew/pull/31457 as the problem is on
their end. Hopefully the problem for us will pass soon.

Regards,
Johannes

Joaquin Menchaca

unread,
Aug 17, 2014, 6:49:04 PM8/17/14
to pash-p...@googlegroups.com, pa...@hypftier.de
This will be awesome.  I have three scripting tutorial projects (basics, text manipulation, and OOP).  Part of this is documenting instructions on how to get the scripting language or compiler tools. 

I test 1-4 difference environments on the Mac (depending on what makes sense): homebrew, macports, raw packages or compile, and maybe this new one Rudix.  Doing so requires using a drive with different boot installs.... (annoying :)
Reply all
Reply to author
Forward
0 new messages