[Mono-list] installing complete mono framework on CentOS 4.3

Kornél Pál kornelpal at gmail.com
Wed Jul 5 17:16:28 EDT 2006


Hi,

You can change wapi dir by setting the MONO_SHARED_DIR environment variable 
to the absolute path of wapi directory.

But I don't know whether this will help.

Kornél

----- Original Message ----- 
From: "gnuplot post" <gnuplot.mail at gmail.com>
To: "Robert Jordan" <robertj at gmx.net>
Cc: <Mono-list at lists.ximian.com>
Sent: Wednesday, July 05, 2006 11:05 PM
Subject: Re: [Mono-list] installing complete mono framework on CentOS 4.3


> Robert,
>
> Thanks for the reply.
>
> I've checked the rights on ~/.wapi. They are 755.
> I've changed them to 777.  It did not help.
>
> Then I removed .wapi...  It did not help as well.
>
> I've removed ALL the files related to the mono. After this was done
> I've downloaded source code for mono-1.1.15 and compiled
> the package from the scratch ( configure, make, make install)
> Configure gave out:
>
>        mcs source:  $(top_srcdir)/mcs
>        GC:          included
>        TLS:         __thread
>        SIGALTSTACK: no
>        Engine:      Building and using the JIT
>        2.0 Alpha:   yes
>        JNI support: IKVM Native
>        libgdiplus:  assumed to be installed
>
> So, I am assuming everything was(is) OK.
>
> make and make install went through without a problem
>
> When I type 'mcs'   or  'mcs myprogram.cs' I get
>
> [igor at madril madril_proj_igor]$ mcs
>
> ** (/usr/local/lib/mono/1.0/mcs.exe:26222): CRITICAL **:
> _wapi_shm_file_open: shared file
> [/home/user/igor/.wapi/shared_data-madril.???.com-Linux-i686-308-10-0]
> is not big enough! (found 0, need 1261576 bytes)
>
> ** (/usr/local/lib/mono/1.0/mcs.exe:26222): CRITICAL **:
> _wapi_shm_attach: shared file
> [/home/user/igor/.wapi/shared_data-madril.???.com-Linux-i686-308-10-0]
> open error
>
> ** ERROR **: file shared.c: line 310 (_wapi_shm_semaphores_init):
> assertion failed: (tmp_shared != NULL)
> aborting...
> Abort
>
> As you can see... mcs does not work...
>
> Yessss... I released CAPS key...  it did not help ;-)
>
> What should I do next to make 'mcs' working ?
>
> Regards
>
> Igor
>
> P.S.:
> my /home is not on the same box (madril) as the  'mcs'.
> .wapi is in created on /home.
> /home is on the server.
> madril is one of the clients with its own /usr/local.
>  'msc' is installed on 'madril' (not server)
>
> NIS (yellow pages) keeps everything together (30+ clients - workstations)
> ------------------------------------------------------------------
>
> At home is do __not__ have LAN. The laptop (CentOS 4.3), I am using,
> has  /home is on the same disk as /usr/local and 'mcs' works.
>
> Could be this the problem ?  If this is , perhaps, the problem...  do
> you know how to solve it ?
>
> On 6/30/06, Robert Jordan <robertj at gmx.net> wrote:
>> Hey Gnuplot,
>>
>> > On 6/29/06, Robert Jordan <robertj at gmx.net> wrote:
>> >>> I am stuck ... AGAIN.
>> >> Well, I gave you 2 ways to solve the problem. Try the 2nd.
>> >
>> > I've tried... Everything is now installed.... which is OK....
>> > but.... it does NOT run.
>> > When I click on 'monodevelop' I get
>> >
>> > ** (./MonoDevelop.exe:5285): CRITICAL **: _wapi_shm_file_open: shared 
>> > file
>> > [/home/user/igor/.wapi/shared_data-madril.?????.com-Linux-i686-308-10-0] 
>> > is
>> > not big enough! (found 0, need 1261576 bytes)
>> >
>> > ** (./MonoDevelop.exe:5285): CRITICAL **: _wapi_shm_attach: shared file
>> > [/home/user/igor/.wapi/shared_data-madril.?????.com-Linux-i686-308-10-0]
>> > open error
>> >
>> > ** ERROR **: file shared.c: line 310 (_wapi_shm_semaphores_init):
>> > assertion failed: (tmp_shared != NULL)
>> > aborting...
>> >
>> > ==========================================================
>> > Conclusion:
>> > Nope, mono is not ready to be used on RHEL 4 (CentOS 4.3)
>> > The info on this page http://www.ifolder.com/index.php/Download
>> > is misleading. CentOS 4.3 is NOT the distribution on which mono runs
>>
>> Instead of giving up and taking the wrong conclusions
>> you could just check the rights of your ~/.wapi/ folder
>> or simply remove it. Try both options this time and
>> release your CAPS key ;-)
>>
>> Robert
>>
>> _______________________________________________
>> 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