[Monodevelop-devel] Problem building on Win7/Cygwin + mono-addins errata

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Dec 21 22:49:08 EST 2011


On 21 December 2011 19:23, Dale Schumacher <dale.schumacher at gmail.com> wrote:
> Started fresh with...
>
> $ git clone https://github.com/mono/monodevelop.git
> $ cd monodevelop
> $ ./configure --prefix=/usr/local
>
> The build profile 'default' does not exist. A new profile will be created.
> Select the packages to include in the build for the profile 'default':
>
> 1. [X] main
> 2. [ ] extras/JavaBinding
> 3. [ ] extras/ValaBinding
> 4. [ ] extras/MonoDevelop.Database
> 5. [ ] extras/MonoDevelop.Debugger.Gdb
> 6. [ ] extras/PyBinding
> 7. [ ] extras/MonoDevelop.MonoMac
> 8. [ ] extras/MonoDevelop.MeeGo
>
> Enter the number of an add-in to enable/disable,
> (q) quit, (c) clear all, (s) select all, or ENTER to continue:
>
> Hit ENTER and eventually saw...
>
> checking for MONO_ADDINS... configure: error: Package requirements
> (mono-addins >= 0.6) were not met:
>
> No package 'mono-addins' found
>
> So, went back to github...
>
> $ cd ..
> $ git clone https://github.com/mono/mono-addins.git
> $ cd mono-addins
> $ ./configure --prefix=/usr/local
> -bash: ./configure: No such file or directory
>
> Instructions in README say "./configure", but I see "autogen.sh", so...
>
> $ autogen.sh --prefix=/usr/local
> $ make
> $ make install
> $ cd ../monodevelop
> $ ./configure --prefix=/usr/local --profile=core
> ...
> configure: error: You must enable one of the platform bindings
>
> OK, would be nice if README were updated with new profiles...
>
> $ rm profiles/default
> $ ./configure --prefix=/usr/local --profile=windows
> $ make
> $ make install
> ...
> /usr/local/bin/dmcs -debug -codepage:utf8 -warnaserror -debug
> -out:../../../build/bin/MonoDevelop.Projects.Formats.MSBuild.exe
> -target:winexe -r:/usr/local/lib/pkgconfig/../../lib/mono/3.5/Microsoft.Build.Engine.dll
>  -r:/usr/local/lib/pkgconfig/../../lib/mono/3.5/Microsoft.Build.Framework.dll
>  -r:/usr/local/lib/pkgconfig/../../lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll
>  -r:System  -r:System.Runtime.Remoting   ./AssemblyInfo.cs ./Main.cs
> ./MonoDevelop.Projects.Formats.MSBuild/BuildEngine.cs
> ./MonoDevelop.Projects.Formats.MSBuild/ConsoleLogger.cs
> ./MonoDevelop.Projects.Formats.MSBuild/IBuildEngine.cs
> ./MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs
> ./MonoDevelop.Projects.Formats.MSBuild/IProjectBuilder.cs
> ./MonoDevelop.Projects.Formats.MSBuild/LocalLogger.cs
> ./MonoDevelop.Projects.Formats.MSBuild/MSBuildResult.cs
> ./MonoDevelop.Projects.Formats.MSBuild/ProjectBuilder.cs
> error CS0006: Metadata file
> `/usr/local/lib/pkgconfig/../../lib/mono/3.5/Microsoft.Build.Engine.dll'
> could not be found
> error CS0006: Metadata file
> `/usr/local/lib/pkgconfig/../../lib/mono/3.5/Microsoft.Build.Framework.dll'
> could not be found
> error CS0006: Metadata file
> `/usr/local/lib/pkgconfig/../../lib/mono/3.5/Microsoft.Build.Utilities.v3.5.dll'
> could not be found
> Compilation failed: 3 error(s), 0 warnings

It looks like your Mono installation is broken, you have a pc file
pointing at nonexistent/missing files.

Is there any specific reason you need to build/run it in cygwin? On
Windows I'd recommend building with .NET since that's what we actively
support: http://monodevelop.com/Developers/Building_MonoDevelop#Windows

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-devel-list mailing list