[Mono-list] MCS build problem

Bill Middleton Bill Middleton <flashdict@gmail.com>
Tue, 3 May 2005 07:19:20 +0200


------=_Part_1749_19843732.1115097560955
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

A recent 1.1.7 patch required that the wapi file be upgraded to version 5,=
=20
but it looks like the shared directory has no permissions for the mono=20
process to open a new wapi file. Set write perms on the wapi dir=20
(bin/Debug/.wapi) for long enough to allow mono to open it's new shmfile.


Bill

On 5/3/05, Ralph Mason <rm.monolist@telogis.com> wrote:
>=20
> I am getting a problem building with MCS (from SVN) this same build used
> to work just fine. Does anyone have any ideas?
>=20
> mcs -g --unsafe -L bin/Debug -out:Nii.JSON.dll -t:library
> "-d:LINUX;DEBUG;TRACE;" -r:System,System.Data,System.Xml ../../AssemblyIn
> fo.cs ../../JSONArray.cs ../../JSONFacade.cs ../../JSONObject.cs
> ../../JSONTokener.cs ../../JSONUtils.cs ../../Types.cs
>=20
> ** (/usr/lib/mono/1.0/mcs.exe:5306): CRITICAL **: _wapi_shm_file_open:
> shared file [bin/Debug/.wapi/shared_data-gateway-5-0] open erro
> r: No such file or directory
>=20
> ** (/usr/lib/mono/1.0/mcs.exe:5306): CRITICAL **: _wapi_shm_attach:
> shared file [bin/Debug/.wapi/shared_data-gateway-5-0] open error
>=20
> ** ERROR **: file handles.c: line 123 (shared_init): assertion failed:
> (_wapi_shared_layout !=3D NULL)
> aborting...
>=20
> Thanks
> Ralph
>=20
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>

------=_Part_1749_19843732.1115097560955
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

A recent 1.1.7 patch required that the wapi file be upgraded to version 5,
but it looks like the shared directory has no permissions for the mono
process to open a new wapi file.&nbsp; Set write perms on the wapi dir
(bin/Debug/.wapi) for long enough to allow mono to open it's new
shmfile.<br>

<br>

<br>

Bill<br><br><div><span class=3D"gmail_quote">On 5/3/05, <b class=3D"gmail_s=
endername">Ralph Mason</b> &lt;<a href=3D"mailto:rm.monolist@telogis.com">r=
m.monolist@telogis.com</a>&gt; wrote:</span><blockquote class=3D"gmail_quot=
e" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt =
0.8ex; padding-left: 1ex;">
I am getting a problem building with MCS (from SVN) this same build used<br=
>to work just fine.&nbsp;&nbsp;Does anyone have any ideas?<br><br>mcs&nbsp;=
&nbsp;-g --unsafe -L bin/Debug -out:Nii.JSON.dll -t:library<br>&quot;-d:LIN=
UX;DEBUG;TRACE;&quot; -r:System,
System.Data,System.Xml&nbsp;&nbsp; ../../AssemblyIn<br>fo.cs ../../JSONArra=
y.cs ../../JSONFacade.cs ../../JSONObject.cs<br>../../JSONTokener.cs ../../=
JSONUtils.cs ../../Types.cs<br><br>** (/usr/lib/mono/1.0/mcs.exe:5306): CRI=
TICAL **: _wapi_shm_file_open:
<br>shared file [bin/Debug/.wapi/shared_data-gateway-5-0] open erro<br>r: N=
o such file or directory<br><br>** (/usr/lib/mono/1.0/mcs.exe:5306): CRITIC=
AL **: _wapi_shm_attach:<br>shared file [bin/Debug/.wapi/shared_data-gatewa=
y-5-0] open error
<br><br>** ERROR **: file handles.c: line 123 (shared_init): assertion fail=
ed:<br>(_wapi_shared_layout !=3D NULL)<br>aborting...<br><br>Thanks<br>Ralp=
h<br><br>_______________________________________________<br>Mono-list maill=
ist&nbsp;&nbsp;-&nbsp;&nbsp;
<a href=3D"mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a=
><br><a href=3D"http://lists.ximian.com/mailman/listinfo/mono-list">http://=
lists.ximian.com/mailman/listinfo/mono-list</a><br></blockquote></div><br>
------=_Part_1749_19843732.1115097560955--