[MonoDevelop] Running configure under Cygwin in Windows - "Can't find 'mono' in PATH"
Huk
Huk256 at gmail.com
Mon Dec 22 16:02:37 EST 2008
knocte-2 wrote:
>
> 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
>
> --
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
Well earlier it didn't work... but now it DID :)
I managed to compile mono from svn - now... any ideas how to run this thing?
I guess that I should not run this from Cygwin, right?
Anyway I tried that - make install and then monodvelop I get:
$ monodevelop
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.
WARNING [2008-12-22 20:27:50Z]: Gtk-Warning: cannot open display:
Stack trace:
at Gtk.Application.Init()
at MonoDevelop.Ide.Gui.IdeStartup.Run(System.String[] args)
at MonoDevelop.Startup.SharpDevelopMain.Main(System.String[] args)
>From Cygwin-X I get:
shm_semaphores_init: semget error: No space left on device...
If I try it under pure Windos - I get:
I:\cyg_mono\monodevelop\main\build\bin>c:\Mono-2.0.1\bin\mono.exe --debug
MonoDe
velop.exe -ipc-tcp
** (MonoDevelop.exe:3912): WARNING **: The following assembly referenced
from I:
\cyg_mono\monodevelop\main\build\bin\MonoDevelop.Core.dll could not be
loaded:
Assembly: Mono.Addins.Setup (assemblyref_index=7)
Version: 0.3.0.0
Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in
the MO
NO_PATH environment variable, or in the location of the executing assembly
(I:\c
yg_mono\monodevelop\main\build\bin).
** (MonoDevelop.exe:3912): WARNING **: Could not load file or assembly
'Mono.Add
ins.Setup, Version=0.3.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or
one of its dependencies.
** (MonoDevelop.exe:3912): WARNING **: Could not load file or assembly
'Mono.Add
ins.Setup, Version=0.3.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' or
one of its dependencies.
Unhandled Exception: System.TypeLoadException: A type load exception has
occurre
d.
Any ideas how do I run this?
--
View this message in context: http://www.nabble.com/Running-configure-under-Cygwin-in-Windows---%22Can%27t-find-%27mono%27-in-PATH%22-tp21043693p21134937.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
More information about the Monodevelop-list
mailing list