itnifl
asked on
Trying to install MonoDevelop from sourde on Ubuntu 14.04 trusty
I am using this guide:
http://www.davidloo.com/?p=479
When I get to the 'sudo make' part, I get the error output:
I tried installing the nuget plugin in my existing MonoDevelop installation, but that doesn't help.
I am trying to avoid another error by installing the newest version of Monodevelop from source. It is this one when I create a MVC3 project:
So Index.cshtml is missing. i could just create it, or install MonoDevelop properly.
http://www.davidloo.com/?p=479
When I get to the 'sudo make' part, I get the error output:
nuget restore
/bin/bash: nuget: command not found
make[2]: *** [restore-packages] Error 127
make[2]: Leaving directory `/tmp/mono/monodevelop/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/mono/monodevelop/main'
make: *** [all-recursive] Error 1
I tried installing the nuget plugin in my existing MonoDevelop installation, but that doesn't help.
I am trying to avoid another error by installing the newest version of Monodevelop from source. It is this one when I create a MVC3 project:
System.IO.FileNotFoundException: Could not find file "/usr/lib/monodevelop/AddIns/MonoDevelop.AspNet.Mvc/Templates/Common/Index.cshtml".
File name: '/usr/lib/monodevelop/AddIns/MonoDevelop.AspNet.Mvc/Templates/Common/Index.cshtml'
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
at System.IO.StreamReader..ctor (System.String path) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string)
at System.IO.File.ReadAllText (System.String path) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.TextFileDescriptionTemplate.CreateContent (System.String language) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.CreateContent (MonoDevelop.Projects.Project project, System.Collections.Generic.Dictionary`2 tags, System.String language) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.CreateFileContent (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String fileName, System.String identifier) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.SaveFile (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String baseDirectory, System.String entryName) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddFileToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.SingleFileDescriptionTemplate.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.DirectoryTemplate.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.DirectoryTemplate.AddToProject (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.Project project, System.String language, System.String directory, System.String name) [0x00000] in <filename unknown>:0
at MonoDevelop.Ide.Templates.ProjectDescriptor.InitializeItem (MonoDevelop.Projects.SolutionItem policyParent, MonoDevelop.Projects.ProjectCreateInformation projectCreateInformation, System.String defaultLanguage, MonoDevelop.Projects.SolutionEntityItem item) [0x00000] in <filename unknown>:0
So Index.cshtml is missing. i could just create it, or install MonoDevelop properly.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
apt-file search nugets
ASKER
sudo apt-file search nugets
I got no reply.
I got no reply.
You should look for missing command, since lack of it will skip building some components.
ASKER
I am not familiar with apt-file, what command would I be looking for and where would I look?
Perhaps I am just missing a repository?
Perhaps I am just missing a repository?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
step1 gives output of apt-file...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I contributed to my own solution, therefore selecting my comment as a part of the solution for later reference and possible usage by other users.
ASKER
I did:
sudo apt-get install apt-file
sudo apt-file update
And then:
sudo apt-file nuget
I seem to be missing something.