-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors on Mac OS X 10.9.3 #80
Comments
You're right about the build instructions. What you've done is correct. I'll change those. Not sure about your build error though. I can only assume it has something to do with the homebrew mono installation. Here's what my build log looks like. I'm using Mono 3.4.0 from the official channel.
|
I removed homebrew's mono version and installed the mono from mono-project, selecting MDK. After then attempted the build instructions again, and worked fine and got a similar message to yours. So it seems like OmniSharpServer has been installed correctly, but I have yet to try it with the emacs plugin. Thank you for the help |
Good to know! |
just to say that I also have encountered this same problem, and changed from homebrew to official mono-project build works for me too. |
I did not have any problems building with Mono 3.6.0 from Homebrew (OS X 10.9.4). Maybe things have changed with the newer version of Mono and this is no longer a problem? |
@nileshk I hope so. Thanks for the info :) |
Homebrew Mono 3.8.0, OSX 10.10.1 here. No trouble building either. |
I am following the build instruction on the readme under OSX/Linux, but am getting some errors. I installed mono 3.4.0 using homebrew, which should satisfy the mono 3.0.12 minimum requirement. Then I encountered a few problems. The instructions on how to clone and build OmniSharpServer seem a little confusing to me. I think there might be a mistake in the ordering of the commands? Do correct me if I'm wrong, but shouldn't one have to cd OmniSharpServer after the clone and before git submodule update --init --recursive? That is what I assumed at least when trying to build.
After which I tried xbuild inside OmniSharpServer and got 0 warnings and 2 errors.
Here is the output from xbuild
XBuild Engine Version 12.0
Mono, Version 3.4.0.0
Copyright (C) 2005-2013 Various Mono authors
Build started 5/29/2014 10:51:37 AM.
Project "/Users/admin/Desktop/OmniSharpServer/OmniSharp.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
Target Build:
Project "/Users/admin/Desktop/OmniSharpServer/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
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/Microsoft.Build.Evaluation.dll Project.cs ProjectItem.cs Properties/AssemblyInfo.cs /target:library /define:"DEBUG;TRACE" /nostdlib /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/ph/k02bv3894jdf2905zv2_mk1r0000gp/T/tmp4f8622a5.tmp', CurrentDirectory='/Users/admin/Desktop/OmniSharpServer/Microsoft.Build.Evaluation', Native error= Cannot find the specified file
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/Users/admin/Desktop/OmniSharpServer/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj".-- FAILED
Done building project "/Users/admin/Desktop/OmniSharpServer/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj".-- FAILED
Project "/Users/admin/Desktop/OmniSharpServer/NRefactory/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
Target CoreCompile:
Tool /usr/local/Cellar/mono/3.4.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /delaysign- /debug+ /keyfile:../ICSharpCode.NRefactory.snk /optimize- /out:obj/Debug/ICSharpCode.NRefactory.dll Analysis/AbiComparer.cs Analysis/TypeGraph.cs Analysis/TypeGraphNode.cs Documentation/DocumentationComment.cs Documentation/GetPotentiallyNestedClassTypeReference.cs Documentation/IDocumentationProvider.cs Editor/IDocument.cs Editor/IDocumentLine.cs Editor/ISegment.cs Editor/ITextAnchor.cs Editor/ITextSource.cs Editor/ReadOnlyDocument.cs Editor/StringBuilderDocument.cs Editor/StringTextSource.cs Editor/TextChangeEventArgs.cs Editor/TextSourceVersionProvider.cs IAnnotatable.cs PatternMatching/BacktrackingInfo.cs PatternMatching/Choice.cs PatternMatching/AnyNode.cs PatternMatching/Backreference.cs PatternMatching/INode.cs PatternMatching/Match.cs PatternMatching/NamedNode.cs PatternMatching/OptionalNode.cs PatternMatching/Repeat.cs PatternMatching/Pattern.cs Documentation/XmlDocumentationProvider.cs Properties/AssemblyInfo.cs Properties/GlobalAssemblyInfo.cs Role.cs Semantics/AmbiguousResolveResult.cs Semantics/ArrayAccessResolveResult.cs Semantics/ArrayCreateResolveResult.cs Semantics/ByReferenceResolveResult.cs Semantics/ConstantResolveResult.cs Semantics/ConversionResolveResult.cs Semantics/SizeOfResolveResult.cs Semantics/ErrorResolveResult.cs Semantics/Conversion.cs Semantics/ForEachResolveResult.cs Semantics/InitializedObjectResolveResult.cs Semantics/InvocationResolveResult.cs Semantics/LocalResolveResult.cs Semantics/MemberResolveResult.cs Semantics/NamedArgumentResolveResult.cs Semantics/NamespaceResolveResult.cs Semantics/OperatorResolveResult.cs Semantics/ResolveResult.cs Semantics/ThisResolveResult.cs Semantics/TypeIsResolveResult.cs Semantics/TypeOfResolveResult.cs Semantics/TypeResolveResult.cs Semantics/UnknownMemberResolveResult.cs TextLocation.cs TypeSystem/Accessibility.cs TypeSystem/AnonymousType.cs TypeSystem/ArrayType.cs TypeSystem/AssemblyQualifiedTypeName.cs TypeSystem/ByReferenceType.cs TypeSystem/ComHelper.cs TypeSystem/DefaultSolutionSnapshot.cs TypeSystem/DomRegion.cs TypeSystem/EntityType.cs TypeSystem/ICodeContext.cs TypeSystem/Implementation/BlobReader.cs TypeSystem/Implementation/DefaultVariable.cs TypeSystem/Implementation/ResolvedAttributeBlob.cs TypeSystem/Implementation/UnresolvedAttributeBlob.cs TypeSystem/Implementation/UnresolvedSecurityDeclarationBlob.cs TypeSystem/ISymbol.cs TypeSystem/TaskType.cs TypeSystem/TypeParameterSubstitution.cs TypeSystem/TypeSystemExtensions.cs TypeSystem/FullTypeName.cs TypeSystem/IAmbience.cs TypeSystem/IAssembly.cs TypeSystem/IAttribute.cs TypeSystem/ICompilation.cs TypeSystem/IConstantValue.cs TypeSystem/IEntity.cs TypeSystem/IEvent.cs TypeSystem/IField.cs TypeSystem/IFreezable.cs TypeSystem/IInterningProvider.cs TypeSystem/IMember.cs TypeSystem/IMethod.cs TypeSystem/Implementation/AbstractFreezable.cs TypeSystem/Implementation/AbstractResolvedEntity.cs TypeSystem/Implementation/AbstractResolvedMember.cs TypeSystem/Implementation/AbstractResolvedTypeParameter.cs TypeSystem/Implementation/AbstractType.cs TypeSystem/Implementation/AbstractUnresolvedEntity.cs TypeSystem/Implementation/AbstractUnresolvedMember.cs TypeSystem/Implementation/AccessorOwnerMemberReference.cs TypeSystem/Implementation/BaseTypeCollector.cs TypeSystem/Implementation/DefaultAssemblyReference.cs TypeSystem/Implementation/DefaultAttribute.cs TypeSystem/Implementation/DefaultMemberReference.cs TypeSystem/Implementation/DefaultParameter.cs TypeSystem/Implementation/DefaultResolvedEvent.cs TypeSystem/Implementation/DefaultResolvedField.cs TypeSystem/Implementation/DefaultResolvedMethod.cs TypeSystem/Implementation/DefaultResolvedProperty.cs TypeSystem/Implementation/DefaultResolvedTypeDefinition.cs TypeSystem/Implementation/DefaultResolvedTypeParameter.cs TypeSystem/Implementation/DefaultUnresolvedAssembly.cs TypeSystem/Implementation/DefaultUnresolvedAttribute.cs TypeSystem/Implementation/DefaultUnresolvedEvent.cs TypeSystem/Implementation/DefaultUnresolvedField.cs TypeSystem/Implementation/DefaultUnresolvedMethod.cs TypeSystem/Implementation/DefaultUnresolvedParameter.cs TypeSystem/Implementation/DefaultUnresolvedProperty.cs TypeSystem/Implementation/DefaultUnresolvedTypeDefinition.cs TypeSystem/Implementation/DefaultUnresolvedTypeParameter.cs TypeSystem/Implementation/DummyTypeParameter.cs TypeSystem/Implementation/ExplicitInterfaceImplementationMemberReference.cs TypeSystem/Implementation/FullNameAndTypeParameterCount.cs TypeSystem/Implementation/GetClassTypeReference.cs TypeSystem/Implementation/GetMembersHelper.cs TypeSystem/Implementation/KnownTypeCache.cs TypeSystem/Implementation/MergedNamespace.cs TypeSystem/Implementation/MinimalCorlib.cs TypeSystem/Implementation/NestedTypeReference.cs TypeSystem/Implementation/SimpleCompilation.cs TypeSystem/Implementation/SimpleConstantValue.cs TypeSystem/Implementation/SimpleInterningProvider.cs TypeSystem/Implementation/SpecializedEvent.cs TypeSystem/Implementation/SpecializedField.cs TypeSystem/Implementation/SpecializedMember.cs TypeSystem/Implementation/SpecializedMethod.cs TypeSystem/Implementation/SpecializedProperty.cs TypeSystem/Implementation/SpecializingMemberReference.cs TypeSystem/Implementation/TypeParameterReference.cs TypeSystem/Implementation/TypeWithElementType.cs TypeSystem/Implementation/UnknownType.cs TypeSystem/Implementation/VoidTypeDefinition.cs TypeSystem/INamedElement.cs TypeSystem/INamespace.cs TypeSystem/InheritanceHelper.cs TypeSystem/IntersectionType.cs TypeSystem/IParameter.cs TypeSystem/IParameterizedMember.cs TypeSystem/IUnresolvedFile.cs TypeSystem/IProjectContent.cs TypeSystem/IProperty.cs TypeSystem/ISolutionSnapshot.cs TypeSystem/ISupportsInterning.cs TypeSystem/IType.cs TypeSystem/ITypeDefinition.cs TypeSystem/ITypeParameter.cs TypeSystem/ITypeReference.cs TypeSystem/KnownTypeReference.cs TypeSystem/NullableType.cs TypeSystem/ParameterizedType.cs TypeSystem/ParameterListComparer.cs TypeSystem/ProjectReference.cs TypeSystem/ReflectionNameParseException.cs TypeSystem/SimpleTypeResolveContext.cs TypeSystem/TopLevelTypeName.cs TypeSystem/TypeKind.cs TypeSystem/TypeVisitor.cs TypeSystem/IVariable.cs TypeSystem/PointerType.cs TypeSystem/ReflectionHelper.cs TypeSystem/SpecialType.cs Utils/7BitEncodedInts.cs Utils/BitVector16.cs Utils/BusyManager.cs Utils/CacheManager.cs Utils/CallbackOnDispose.cs Utils/CSharpPrimitiveCast.cs Utils/EmptyList.cs Utils/ExtensionMethods.cs Utils/FastSerializer.cs Utils/GraphVizGraph.cs Utils/ImmutableStack.cs Utils/KeyComparer.cs Utils/LazyInit.cs Utils/MultiDictionary.cs Utils/Platform.cs Utils/ProjectedList.cs Utils/ReferenceComparer.cs Utils/TreeTraversal.cs TypeSystem/Error.cs Completion/ICompletionData.cs Completion/DisplayFlags.cs Completion/IEntityCompletionData.cs Completion/CompletionCategory.cs Completion/IParameterDataProvider.cs Completion/IVariableCompletionData.cs Documentation/IdStringProvider.cs Documentation/IdStringMemberReference.cs Utils/CompositeFormatStringParser/CompositeFormatStringParser.cs Utils/CompositeFormatStringParser/TextSegment.cs Utils/CompositeFormatStringParser/FormatItem.cs Utils/CompositeFormatStringParser/FormatStringSegmentBase.cs Utils/CompositeFormatStringParser/IFormatStringSegment.cs Utils/CompositeFormatStringParser/IFormatStringError.cs Completion/CompletionExtensionMethods.cs Refactoring/IssueMarker.cs Refactoring/Severity.cs Analysis/SymbolCollector.cs TypeSystem/AssemblyLoader.cs Editor/UnicodeNewline.cs Completion/FrameworkLookup.cs Utils/ComparableList.cs PatternMatching/AnyNodeOrNull.cs Editor/ITextPasteHandler.cs /target:library /warnaserror- /unsafe- /checked+ /define:"DEBUG;TRACE" /nowarn:1591 /doc:../bin/Debug/ICSharpCode.NRefactory.xml /nostdlib /platform:AnyCPU /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.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.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/ph/k02bv3894jdf2905zv2_mk1r0000gp/T/tmp31c964b9.tmp', CurrentDirectory='/Users/admin/Desktop/OmniSharpServer/NRefactory/ICSharpCode.NRefactory', Native error= Cannot find the specified file
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/Users/admin/Desktop/OmniSharpServer/NRefactory/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj".-- FAILED
Done building project "/Users/admin/Desktop/OmniSharpServer/NRefactory/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/Users/admin/Desktop/OmniSharpServer/OmniSharp.sln".-- FAILED
Done building project "/Users/admin/Desktop/OmniSharpServer/OmniSharp.sln".-- FAILED
Build FAILED.
Errors:
/Users/admin/Desktop/OmniSharpServer/OmniSharp.sln (default targets) ->
(Build target) ->
/Users/admin/Desktop/OmniSharpServer/Microsoft.Build.Evaluation/Microsoft.Build.Evaluation.csproj (default targets) ->
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
/Users/admin/Desktop/OmniSharpServer/OmniSharp.sln (default targets) ->
(Build target) ->
/Users/admin/Desktop/OmniSharpServer/NRefactory/ICSharpCode.NRefactory/ICSharpCode.NRefactory.csproj (default targets) ->
/usr/local/Cellar/mono/3.4.0/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->
Time Elapsed 00:00:01.5307170
Any thoughts?
The text was updated successfully, but these errors were encountered: