[MonoDevelop] Monodevelop on windows
Bartolomeo Nicolotti
bnicolotti at siapcn.it
Tue Mar 10 14:45:31 EDT 2009
Trying from svn
Alessandro at michel /cygdrive/c/src/monodevlop_svn/monodevelop
$ ./configure --profile=windows
Configuring package: main
-------------------------
Configuration options: --disable-subversion --disable-update-mimedb
--disable-u
pdate-desktopdb --disable-gnomeplatform --enable-windowsplatform
Running aclocal ...
Running automake --foreign ...
Running autoconf ...
Running ./configure --enable-maintainer-mode --enable-compile-warnings
--prefix=
/usr/local --disable-subversion --disable-update-mimedb
--disable-update-desktop
db --disable-gnomeplatform --enable-windowsplatform ...
configure: WARNING: unrecognized options: --enable-compile-warnings
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for mono... /cygdrive/c/mono/MonoX-1.2.1/bin/mono
checking for gmcs... /cygdrive/c/mono/MonoX-1.2.1/bin/gmcs
checking for pkg-config... /cygdrive/c/mono/MonoX-1.2.1/bin/pkg-config
checking for msgfmt... /cygdrive/c/mono/MonoX-1.2.1/bin/msgfmt
checking for msgmerge... /cygdrive/c/mono/MonoX-1.2.1/bin/msgmerge
./configure: line 2801: syntax error near unexpected token
`UNMANAGED_DEPENDENCI
ES_MONO,mono'
./configure: line 2801: `PKG_CHECK_MODULES(UNMANAGED_DEPENDENCIES_MONO,mono
>= $
MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)'
Bartolomeo Nicolotti wrote:
>
> Hi,
>
> the problem was that I was launching it inside cygwin bash shell.
>
> From command prompt it starts, but:
>
> MonoDevelop failed to start. The following error has been reported: Method
> 'Create' override 'System.Delegate Create(System.Delegate,
> MonoDevelop.Core.Gui.SyncContext)' but it is not virtual.
>
>
> System.TypeLoadException: Method 'Create' override 'System.Delegate
> Create(System.Delegate, MonoDevelop.Core.Gui.SyncContext)' but it is not
> virtual
> at System.Reflection.Emit.MethodBuilder.check_override () [0x00000]
> at System.Reflection.Emit.TypeBuilder.CreateType () [0x00000]
> at MonoDevelop.Core.Gui.SyncContext.GetDelegateFactoryType (System.Type
> delegateType) [0x00000]
> at MonoDevelop.Core.Gui.SyncContext.CreateSynchronizedDelegate
> (System.Delegate del) [0x00000]
> at MonoDevelop.Core.Gui.DispatchService.GuiDispatch (System.Delegate
> del) [0x00000]
> at MonoDevelop.Ide.Gui.DefaultWorkbench.InitializeWorkspace () [0x00000]
> at MonoDevelop.Ide.Gui.Workbench.Initialize (IProgressMonitor monitor)
> [0x00000]
> at MonoDevelop.Ide.Gui.IdeApp.Initialize (IProgressMonitor monitor)
> [0x00000]
> at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x00000]
>
>
>
>
> MonoDevelop failed to start. The following error has been reported: Method
> 'Create' override 'System.Delegate Create(System.Delegate,
> MonoDevelop.Core.Gui.SyncContext)' but it is not virtual.
>
> Bartolomeo Nicolotti wrote:
>>
>> Compiled, but....
>>
>> $ monodevelop --help
>> WARNING: Cannot find Mozilla directory containing libgtkembedmoz.so. Some
>> Addins
>> may not be able to function. Please set MOZILLA_FIVE_HOME to your
>> Mozilla direc
>> tory.
>> ERROR: Add-in scan operation failed (Win32 IO returned 232. Path:
>> [Unknown])
>> ERROR: The add-in database could not be updated. It may be due to file
>> corruptio
>> n. Try running the setup repair utility
>>
>> Unhandled Exception: System.NullReferenceException: Object reference not
>> set to
>> an instance of an object
>> at MonoDevelop.Core.Runtime.Initialize (Boolean updateAddinRegistry)
>> [0x00000]
>>
>> at MonoDevelop.Startup.SharpDevelopMain.Main (System.String[] args)
>> [0x00000]
>>
>>
>>
>> Bartolomeo Nicolotti wrote:
>>>
>>>
>>> Changed line 616 of Diff.cs in:
>>>
>>> object IList.this[int index] { get { throw new
>>> InvalidOperationE
>>> xception(); }
>>>
>>> set { throw new InvalidOperationException(); } }
>>>
>>> the set was missing!
>>>
>>> bye
>>>
>>>
>>> Bartolomeo Nicolotti wrote:
>>>>
>>>> downloaded Mono.Addins, compiled and added
>>>>
>>>>
>>>> Alessandro at michel /cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig
>>>> $ cp monodoc.pc mono-addins.pc
>>>>
>>>> Alessandro at michel /cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig
>>>> $ vim mono-addins.pc
>>>>
>>>> Alessandro at michel /cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig
>>>> $ cp mono-addins.pc mono-addins-setup.pc
>>>>
>>>> Alessandro at michel /cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig
>>>> $ vim mono-addins-setup.pc
>>>>
>>>> Alessandro at michel /cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig
>>>> $ cp mono-addins.pc mono-addins-gui.pc
>>>>
>>>> Alessandro at michel /cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig
>>>> $ vim mono-addins-gui.pc
>>>>
>>>> and see attached files ..
>>>>
>>>>
>>>> also neede to move these files:
>>>>
>>>>
>>>> error CS0006: cannot find metadata file
>>>> `C:/mono/MonoX-1.2.1/bin/Mono.Addins.dll
>>>> '
>>>> error CS0006: cannot find metadata file
>>>> `C:/mono/MonoX-1.2.1/bin/Mono.Addins.Set
>>>> up.dll'
>>>> Compilation failed: 2 error(s), 0 warnings
>>>> make[3]: *** [../../../build/bin/MonoDevelop.Core.dll] Error 1
>>>>
>>>>
>>>>
>>>> C:\Documents and Settings\Alessandro>gacutil -i
>>>> c:\mono\MonoX-1.2.1\bin\Mono.Add
>>>> ins.dll
>>>> Installed c:\mono\MonoX-1.2.1\bin\Mono.Addins.dll into the gac
>>>> (C:\mono\MonoX-1.
>>>> 2.1\lib\mono\gac)
>>>>
>>>> C:\Documents and Settings\Alessandro>gacutil -i
>>>> c:\mono\MonoX-1.2.1\bin\Mono.Add
>>>> ins.Setup.dll
>>>> Installed c:\mono\MonoX-1.2.1\bin\Mono.Addins.Setup.dll into the gac
>>>> (C:\mono\Mo
>>>> noX-1.2.1\lib\mono\gac)
>>>>
>>>> C:\Documents and Settings\Alessandro>gacutil -i
>>>> c:\mono\MonoX-1.2.1\bin\Mono.Add
>>>> ins.Gui.dll
>>>> Installed c:\mono\MonoX-1.2.1\bin\Mono.Addins.Gui.dll into the gac
>>>> (C:\mono\Mono
>>>> X-1.2.1\lib\mono\gac)
>>>>
>>>> mkdir -p ../../../../build/AddIns/VersionControl
>>>> /cygdrive/c/mono/MonoX-1.2.1/bin/gmcs -debug -codepage:utf8 ./Diff.cs
>>>> ./Merge.cs
>>>> ./Patch.cs ./StructuredDiff.cs ./TextDiff.cs ./UnifiedDiff.cs
>>>> -r:System.Xml -o
>>>> ut:../../../../build/AddIns/VersionControl/Diff.dll -target:library
>>>>
>>>> ./Diff.cs(615,24): error CS0551: Explicit interface implementation
>>>> `Algorithm.Di
>>>> ff.Range.IList.this[int]' is missing accessor
>>>> `System.Collections.IList.this[int
>>>> ].get'
>>>>
>>>>
>>>>
>>>>
>>>> Bartolomeo Nicolotti wrote:
>>>>>
>>>>> Compiling Mono.addint from source:
>>>>>
>>>>> http://www.mono-project.com/Mono.Addins
>>>>>
>>>>>
>>>>>
>>>>> Bartolomeo Nicolotti wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to compile Monodevelop on windows:
>>>>>>
>>>>>> 1) Installed Experimental...
>>>>>> mono-1.2.1-gtksharp-2.8.3-win32-exp-0.0.exe to C:\mono\MonoX-1.2.1
>>>>>> 2) Installed Evolution :Evolution-2.22.2-4.msi
>>>>>> 3) Copied all files from the Evolution to C:\mono\MonoX-1.2.1
>>>>>> (mantaining tree)
>>>>>> 4) Backedup etc\mono\config from the Mono install location.
>>>>>> 5) Installed mono-2.2-gtksharp-2.12.7-win32-5.exe to
>>>>>> C:\mono\MonoX-1.2.1
>>>>>> 6) Restored the backed-up config file.
>>>>>> 7) installed cygwin (with vim)
>>>>>> 8) dounloaded monodevelop-1.0 and untarred it
>>>>>> 8) Add the Mono install location's bin\ to your PATH:
>>>>>>
>>>>>> Alessandro at michel /cygdrive/c/src/monodevelop-1.0
>>>>>> $ echo $PATH
>>>>>> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri
>>>>>> ve/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/PROGRA~1/IBM/CLIENT~1
>>>>>> :/cygdrive/c/PROGRA~1/IBM/CLIENT~1/Shared:/cygdrive/c/PROGRA~1/IBM/CLIENT~1/Emul
>>>>>> ator:/cygdrive/c/Programmi/File
>>>>>> comuni/gtkmozembed-win32:/cygdrive/c/mono/MonoX-
>>>>>> 1.2.1/bin
>>>>>>
>>>>>> 9) Set PKG_CONFIG_PATH to the Mono install location's lib\pkgconfig:
>>>>>>
>>>>>> Alessandro at michel /cygdrive/c/src/monodevelop-1.0
>>>>>> $ echo $PKG_CONFIG_PATH
>>>>>> C:\mono\MonoX-1.2.1\lib\pkgconfig:/cygdrive/c/mono/MonoX-1.2.1/lib/pkgconfig/
>>>>>>
>>>>>> when I use ./configure I get (disable-update-desktopdb is needed
>>>>>> because not found):
>>>>>>
>>>>>> Alessandro at michel /cygdrive/c/src/monodevelop-1.0
>>>>>> $ ./configure --disable-update-desktopdb
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether build environment is sane... yes
>>>>>> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
>>>>>> checking for gawk... gawk
>>>>>> checking whether make sets $(MAKE)... no
>>>>>> checking how to create a ustar tar archive... gnutar
>>>>>> checking whether to enable maintainer-specific portions of
>>>>>> Makefiles... no
>>>>>> checking for mono... /cygdrive/c/mono/MonoX-1.2.1/bin/mono
>>>>>> checking for gmcs... /cygdrive/c/mono/MonoX-1.2.1/bin/gmcs
>>>>>> checking for update-mime-database...
>>>>>> /cygdrive/c/mono/MonoX-1.2.1/bin/update-mim
>>>>>> e-database
>>>>>> checking for pkg-config...
>>>>>> /cygdrive/c/mono/MonoX-1.2.1/bin/pkg-config
>>>>>> checking for msgfmt... /cygdrive/c/mono/MonoX-1.2.1/bin/msgfmt
>>>>>> checking for msgmerge... /cygdrive/c/mono/MonoX-1.2.1/bin/msgmerge
>>>>>> checking pkg-config is at least version 0.9.0... yes
>>>>>> checking for UNMANAGED_DEPENDENCIES_MONO... yes
>>>>>> checking for mono... /cygdrive/c/mono/MonoX-1.2.1/bin/mono
>>>>>> checking for gmcs... /cygdrive/c/mono/MonoX-1.2.1/bin/gmcs
>>>>>> checking for MONO_ADDINS... configure: error: Package requirements
>>>>>> (mono-addins
>>>>>>>= 0.3) were not met:
>>>>>>
>>>>>> No package 'mono-addins' found
>>>>>>
>>>>>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>>>>>> installed software in a non-standard prefix.
>>>>>>
>>>>>> Alternatively, you may set the environment variables
>>>>>> MONO_ADDINS_CFLAGS
>>>>>> and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
>>>>>> See the pkg-config man page for more details.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Monodevelop-on-windows-tp22433199p22440831.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list