[MonoDevelop] Running configure under Cygwin in Windows - "Can't find 'mono' in PATH"

"Andrés G. Aragoneses" knocte at gmail.com
Mon Dec 22 11:20:00 EST 2008


Huk wrote:
> 
> 
> Christian Hoff wrote:
>> Maybe that problem occurs because mono has the filename extension .exe 
>> in Windows and its name is therefore mono.exe, but the configure script 
>> is just looking for a file named "mono" as it would be present on Linux 
>> systems?
>>
>> However I haven't tried to build mono on Windows yet; this is just what 
>> I am guessing.
>>
>> Are you familar with the export command? Running "export -p" in a cygwin 
>> shell will give you the PATH environment variable that the configure 
>> script evaluates. What are the contents of it? Does PATH contain the bin 
>> directory of the mono installation where mono.exe is? If not, you can 
>> also set the PATH manually for this session by typing export 
>> PATH="/cygdrive/c/program files/mono-2.0/bin:....."
>>
>> Christian
>>
>> Huk wrote:
>>> Thank You for reply - I restarted Windos but it didn't change anything -
>>> configure still doesn't see mono in PATH... - I even tried compiling old
>>> monodevelop-1.0 (1.9?) but same thin here no "mono" in PATH - any other
>>> Ideas? Maybe I should try compiling mono myself?
>>>
>>> Best regards.
>>>
>>> James
>>>
>>> P.S
>>>
>>> Sorry for my English - it's not my native language ;]
>>>   
>>
>> Thanks for Your answers - I got passed the "PATH" problem - by typing:
>>
>> export PATH=$PATH:/cygdrive/c/<path_to_my_mono>/bin
>>
>> same for PKG_CONFIG_PATH except changing bin to /lib/pkgconfig of course
>>
>> I managed to run ./configure for both monodevelop-1.0(1.9) and monodevelop
>> from svn but... that is about it - if I try to compile MD-1.0 it goes for
>> some time until following error:
>>
>> ./MonoDevelop.SourceEditor.Gui/SourceEditorDisplayBinding.cs(110,17):
>> warning CS
>> 0612: `Gtk.Tooltips' is obsolete
>> ./MonoDevelop.SourceEditor.Gui.OptionPanels/SyntaxHighlightingPanel.cs(114,73):
>> error CS1061: Type `GtkSourceView.SourceLanguage' does not contain a
>> definition
>> for `Tags' and no extension method `Tags' of type
>> `GtkSourceView.SourceLanguage'
>>  could be found (are you missing a using directive or an assembly
>> reference?)
>> ./MonoDevelop.SourceEditor.Gui/SourceEditorDisplayBinding.cs(110,37):
>> warning CS
>> 0612: `Gtk.Tooltips' is obsolete
>> Compilation failed: 1 error(s), 2 warnings
>> make[3]: *** [../../../build/AddIns/MonoDevelop.SourceEditor.dll] Error 1
>> make[3]: Leaving directory
>> `/cygdrive/c/cyg_mono/monodevelop-1.0.tar/monodevelop
>> -1.0/monodevelop-1.0/src/addins/MonoDevelop.SourceEditor'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/cygdrive/c/cyg_mono/monodevelop-1.0.tar/monodevelop
>> -1.0/monodevelop-1.0/src/addins'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/cygdrive/c/cyg_mono/monodevelop-1.0.tar/monodevelop
>> -1.0/monodevelop-1.0/src'
>> make: *** [all-recursive] Error 1
>>
>> and if I try to compile MD from subversion I get:
>>
>> ./AutoHideBox.cs(363,41): error CS0115:
>> `MonoDevelop.Components.Docking.Scrollab
>> leContainer.OnSizeAllocated(Gdk.Rectangle)' is marked as an override but
>> no suit
>> able method found to override
>> ./DockBarItem.cs(116,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockBarI
>> tem.OnExposeEvent(Gdk.EventExpose)' is marked as an override but no
>> suitable met
>> hod found to override
>> ./DockBarItem.cs(216,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockBarI
>> tem.OnEnterNotifyEvent(Gdk.EventCrossing)' is marked as an override but no
>> suita
>> ble method found to override
>> ./DockBarItem.cs(223,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockBarI
>> tem.OnLeaveNotifyEvent(Gdk.EventCrossing)' is marked as an override but no
>> suita
>> ble method found to override
>> ./DockBarItem.cs(247,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockBarI
>> tem.OnButtonPressEvent(Gdk.EventButton)' is marked as an override but no
>> suitabl
>> e method found to override
>> ./DockContainer.cs(135,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockCo
>> ntainer.OnSizeAllocated(Gdk.Rectangle)' is marked as an override but no
>> suitable
>>  method found to override
>> ./DockContainer.cs(162,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockCo
>> ntainer.OnExposeEvent(Gdk.EventExpose)' is marked as an override but no
>> suitable
>>  method found to override
>> ./DockContainer.cs(237,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockCo
>> ntainer.OnButtonPressEvent(Gdk.EventButton)' is marked as an override but
>> no sui
>> table method found to override
>> ./DockContainer.cs(248,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockCo
>> ntainer.OnButtonReleaseEvent(Gdk.EventButton)' is marked as an override
>> but no s
>> uitable method found to override
>> ./DockContainer.cs(254,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockCo
>> ntainer.OnMotionNotifyEvent(Gdk.EventMotion)' is marked as an override but
>> no su
>> itable method found to override
>> ./DockContainer.cs(294,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockCo
>> ntainer.OnLeaveNotifyEvent(Gdk.EventCrossing)' is marked as an override
>> but no s
>> uitable method found to override
>> ./DockFrame.cs(526,41): error CS0115:
>> `MonoDevelop.Components.Docking.DockFrame.
>> OnSizeAllocated(Gdk.Rectangle)' is marked as an override but no suitable
>> method
>> found to override
>> ./PlaceholderWindow.cs(88,41): error CS0115:
>> `MonoDevelop.Components.Docking.Pla
>> ceholderWindow.OnSizeAllocated(Gdk.Rectangle)' is marked as an override
>> but no s
>> uitable method found to override
>> ./PlaceholderWindow.cs(95,41): error CS0115:
>> `MonoDevelop.Components.Docking.Pla
>> ceholderWindow.OnExposeEvent(Gdk.EventExpose)' is marked as an override
>> but no s
>> uitable method found to override
>> ./TabStrip.cs(141,41): error CS0115:
>> `MonoDevelop.Components.Docking.TabStrip.On
>> SizeAllocated(Gdk.Rectangle)' is marked as an override but no suitable
>> method fo
>> und to override
>> ./TabStrip.cs(164,41): error CS0115:
>> `MonoDevelop.Components.Docking.TabStrip.On
>> ExposeEvent(Gdk.EventExpose)' is marked as an override but no suitable
>> method fo
>> und to override
>> ./TabStrip.cs(299,41): error CS0115:
>> `MonoDevelop.Components.Docking.Tab.OnSizeA
>> llocated(Gdk.Rectangle)' is marked as an override but no suitable method
>> found t
>> o override
>> Compilation failed: 17 error(s), 0 warnings
>> make[4]: *** [../../../build/bin/MonoDevelop.Dock.dll] Error 1
>> make[4]: Leaving directory
>> `/cygdrive/c/cyg_mono/monodevelop/main/src/core/MonoD
>> evelop.Dock'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory
>> `/cygdrive/c/cyg_mono/monodevelop/main/src/core'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/cygdrive/c/cyg_mono/monodevelop/main/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/cygdrive/c/cyg_mono/monodevelop/main'
>> make: *** [all-recursive] Error 1
>>
>> I'm out of ideas - it would seem that every problem is Gtk-related...
>>
>> According to Cygwin I have:
>>
>> -Name: GtkSourceView#
>> Description: GtkSourceView# - gtksourceview .NET Binding
>> Version: 2.20.1
>>
>> -Name: gtksourceview
>> Description: GTK+ 2.0 Source Editing Widget
>> Version: 1.8.5
>>
>> -Name: GtkSourceView#
>> Description: GtkSourceView# - gtksourceview .NET Binding
>> Version: 0.12
>>
>> -Name: GDK
>> Description: GTK+ Drawing Kit (${target} target)
>> Version: 2.14.6
>>
>> -Name: GTK+
>> Description: GTK+ Graphical UI Library (${target} target)
>> Version: 2.14.6
>>
>> and
>>
>> -Name: Gtk.DotNet
>> Description: .NET Extensions for Gtk
>> Version: 2.12.4
>>
>> Any ideas?

I would say yes, this seems to be a Gtk version problem but I'm not
sure. Have you tried these new brand installers?:

http://mkestner.blogspot.com/2008/12/gtk-for-net-installers.html

Regards,

	Andrés

-- 




More information about the Monodevelop-list mailing list