[Mono-list] Strange error while compiling Mono 2.6.4 on VPS with CentOS 5
Abe Gillespie
abe.gillespie at gmail.com
Tue Aug 2 15:29:07 EDT 2011
I've seen this error a few times before. It has happened to me when
my system ran out of memory. And it always happened while compiling
SWF. Use "top" in a different terminal while you're running the
compile and watch to see if the mem usage goes to 100%. If so you
either need to add more memory or hack the configure scripts to not
compile SWF.
-Abe
On Tue, Aug 2, 2011 at 2:26 PM, Maxim <makska at yandex.ru> wrote:
> Thanks a lot, Sebastien!
>
> I've tried and got the this message:
>
> make all-local
> make[8]: Entering directory `/root/mono/mono-2.6.4/mcs/class/Mono.WebBrowser'
> make[8]: Nothing to be done for `all-local'.
> make[8]: Leaving directory `/root/mono/mono-2.6.4/mcs/class/Mono.WebBrowser'
> make[7]: Leaving directory `/root/mono/mono-2.6.4/mcs/class/Mono.WebBrowser'
> make[7]: Entering directory `/root/mono/mono-2.6.4/mcs/class/Managed.Windows.Forms'
> make all-local
> make[8]: Entering directory `/root/mono/mono-2.6.4/mcs/class/Managed.Windows.Forms'
> MONO_PATH="./../../class/lib/net_2_0:$MONO_PATH"
> /root/mono/mono-2.6.4/runtime/mono-wrapper ./../../mcs/gmcs.exe
> /codepage:65001 -optimize -d:NET_1_1 -d:NET_2_0 -debug /noconfig /unsafe
> /r:mscorlib.dll /r:System.dll /r:System.Xml.dll /r:System.Drawing.dll
> /r:Accessibility.dll /r:System.Data.dll /r:Mono.Posix.dll /r:Mono.WebBrowser
> @System.Windows.Forms.dll.resources -debug -nowarn:618,612,809
> /r:System.Configuration.dll -target:library
> -out:../../class/lib/net_2_0/System.Windows.Forms.dll
> @System.Windows.Forms.dll.sources
> System.Windows.Forms/DataGridView.cs(5226,29): warning CS0219: The variable
> `index' is assigned but its value is never used
> System.Windows.Forms/DataGridViewCell.cs(808,55): warning CS0219: The variable
> `style' is assigned but its value is never used
> System.Windows.Forms/DataGridViewRow.cs(580,40): warning CS0219: The variable
> `formattedValue' is assigned but its value is never used
> System.Windows.Forms/DataGridViewRow.cs(581,40): warning CS0219: The variable
> `errorText' is assigned but its value is never used
> System.Windows.Forms/Help.cs(57,32): warning CS0219: The variable `param' is
> assigned but its value is never used
> make[8]: *** [../../class/lib/net_2_0/System.Windows.Forms.dll] Terminated
> make[8]: Leaving directory `/root/mono/mono-2.6.4/mcs/class/Managed.Windows.Forms'
> make[7]: *** [do-all] Error 2
> make[7]: Leaving directory `/root/mono/mono-2.6.4/mcs/class/Managed.Windows.Forms'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory `/root/mono/mono-2.6.4/mcs/class'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory `/root/mono/mono-2.6.4/mcs'
> make[4]: *** [profile-do--net_2_0--all] Error 2
> make[4]: Leaving directory `/root/mono/mono-2.6.4/mcs'
> make[3]: *** [profiles-do--all] Error 2
> make[3]: Leaving directory `/root/mono/mono-2.6.4/mcs'
> make[2]: *** [all-local] Error 2
> make[2]: Leaving directory `/root/mono/mono-2.6.4/runtime'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/mono/mono-2.6.4'
> make: *** [all] Error 2
>
> All the best,
> Maxim Karavaev
>
> On 08/02/2011 05:17 PM, Sebastien Pouliot wrote:
>> Try: make V=1
>> You'll get more details about what's failing.
>>
>> Sebastien
>>
>> Le 2011-08-02 à 09:08, Maxim<makska at yandex.ru> a écrit :
>>
>>> Hello!
>>>
>>> I'm trying to compile Mono 2.6.4 on VPS with CentOS 5 x64.
>>> 2.6.4 is most stable Mono for our software and we use it everywhere.
>>> Also I've installed this version of mono on CentOS 5 many many times (but not on
>>> VPS).
>>>
>>> But on this VPS under Parallels control panel I've got error:
>>> # ./configure --prefix=/opt/mono
>>> ....
>>> mcs source: $(top_srcdir)/mcs
>>> olive source:
>>>
>>> GC: included
>>> GLIB: system
>>> TLS: __thread
>>> SIGALTSTACK: yes
>>> Engine: Building and using the JIT
>>> 2.0 Profile: yes
>>> Moon Profile: no
>>> 4.0 Alpha: no
>>> MonoTouch: no
>>> JNI support: IKVM Native
>>> libgdiplus: assumed to be installed
>>> zlib: system zlib
>>> oprofile: no
>>> BigArrays: no
>>> DTrace: no
>>> Parallel Mark: yes
>>> LLVM Back End: no
>>>
>>> # make
>>> ......
>>> make all-am
>>> make[4]: Entering directory `/root/mono/mono-2.6.4/mono/mini'
>>> CC mini.lo
>>> CC driver.lo
>>> CC aot-runtime.lo
>>> CC mini-amd64.lo
>>> make[4]: *** [mini-amd64.lo] Error 1
>>> make[4]: Leaving directory `/root/mono/mono-2.6.4/mono/mini'
>>> make[3]: *** [all] Error 2
>>> make[3]: Leaving directory `/root/mono/mono-2.6.4/mono/mini'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory `/root/mono/mono-2.6.4/mono'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory `/root/mono/mono-2.6.4'
>>> make: *** [all] Error 2
>>>
>>> Any help or info are highly appreciate!
>>>
>>> All the best,
>>> Maxim Karavaev
>>> _______________________________________________
>>> Mono-list maillist - Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list