[Mono-list] MCS build problem

Bill Middleton Bill Middleton <flashdict@gmail.com>
Tue, 3 May 2005 08:12:25 +0200


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

Hmm. Try setting $WAPI_SHARED_DIR to someplace reliable in your makefile(s)=
.=20


Bill

On 5/3/05, Ralph Mason <ralph.mason@telogis.com> wrote:
>=20
> Thanks Bill,
>=20
> Problem is : There is no .wapi dir, I already tried creating one, but
> still no good gave it 777 and still no good. Tried touching to create
> that file it's looking for. Still nothing.
>=20
> Any other suggestions are very welcome :-)
>=20
> Ralph
>=20
>=20
> > 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. Set write perms on the
> > wapi dir (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
> > <mailto:rm.monolist@telogis.com>> wrote:
> >
> > I am getting a problem building with MCS (from SVN) this same
> > build used
> > to work just fine. Does anyone have any ideas?
> >
> > 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
> >
> > ** (/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
> >
> > ** (/usr/lib/mono/1.0/mcs.exe:5306): CRITICAL **: _wapi_shm_attach:
> > shared file [bin/Debug/.wapi/shared_data-gateway-5-0] open error
> >
> > ** ERROR **: file handles.c: line 123 (shared_init): assertion failed:
> > (_wapi_shared_layout !=3D NULL)
> > aborting...
> >
> > Thanks
> > Ralph
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@lists.ximian.com
> > <mailto:Mono-list@lists.ximian.com>
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
>=20
>

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

Hmm.&nbsp; Try setting $WAPI_SHARED_DIR to someplace reliable in your makef=
ile(s).&nbsp; <br>

<br>
Bill<br>
<br><div><span class=3D"gmail_quote">On 5/3/05, <b class=3D"gmail_sendernam=
e">Ralph Mason</b> &lt;<a href=3D"mailto:ralph.mason@telogis.com">ralph.mas=
on@telogis.com</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=
=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; p=
adding-left: 1ex;">
Thanks Bill,<br><br>Problem is : There is no .wapi dir, I already tried cre=
ating one, but<br>still no good gave it 777 and still no good.&nbsp;&nbsp;T=
ried touching to create<br>that file it's looking for.&nbsp;&nbsp;Still not=
hing.<br><br>Any other suggestions are very welcome :-)
<br><br>Ralph<br><br><br>&gt; A recent 1.1.7 patch required that the wapi f=
ile be upgraded to<br>&gt; version 5, but it looks like the shared director=
y has no permissions<br>&gt; for the mono process to open a new wapi file.&=
nbsp;&nbsp;Set write perms on the
<br>&gt; wapi dir (bin/Debug/.wapi) for long enough to allow mono to open i=
t's<br>&gt; new shmfile.<br>&gt;<br>&gt;<br>&gt; Bill<br>&gt;<br>&gt; On 5/=
3/05, *Ralph Mason* &lt;<a href=3D"mailto:rm.monolist@telogis.com">rm.monol=
ist@telogis.com
</a><br>&gt; &lt;mailto:<a href=3D"mailto:rm.monolist@telogis.com">rm.monol=
ist@telogis.com</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
I am getting a problem building with MCS (from SVN) this same<br>&gt;&nbsp;=
&nbsp;&nbsp;&nbsp; build used<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; to work just =
fine.&nbsp;&nbsp;Does anyone have any ideas?
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; mcs&nbsp;&nbsp;-g --unsafe -L bin/=
Debug -out:Nii.JSON.dll -t:library<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &quot;-d=
:LINUX;DEBUG;TRACE;&quot; -r:System, System.Data,System.Xml<br>&gt;&nbsp;&n=
bsp;&nbsp;&nbsp; ../../AssemblyIn<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; fo.cs ../=
../JSONArray.cs ../../JSONFacade.cs ../../JSONObject.cs
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ../../JSONTokener.cs ../../JSONUtils.cs ..=
/../Types.cs<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ** (/usr/lib/mono/1.0/=
mcs.exe:5306): CRITICAL **:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _wapi_shm_file_=
open:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; shared file [bin/Debug/.wapi/shared_d=
ata-gateway-5-0] open erro
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; r: No such file or directory<br>&gt;<br>&g=
t;&nbsp;&nbsp;&nbsp;&nbsp; ** (/usr/lib/mono/1.0/mcs.exe:5306): CRITICAL **=
: _wapi_shm_attach:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; shared file [bin/Debug/=
.wapi/shared_data-gateway-5-0] open error<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;=
&nbsp; ** ERROR **: file=20
handles.c: line 123 (shared_init): assertion failed:<br>&gt;&nbsp;&nbsp;&nb=
sp;&nbsp; (_wapi_shared_layout !=3D NULL)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; a=
borting...<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Thanks<br>&gt;&nbsp;&nbs=
p;&nbsp;&nbsp; Ralph<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ______________=
_________________________________
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Mono-list maillist&nbsp;&nbsp;-&nbsp;&nbsp=
; <a href=3D"mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com<=
/a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href=3D"mailto:Mono-list@=
lists.ximian.com">Mono-list@lists.ximian.com</a>&gt;<br>&gt;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
<a href=3D"http://lists.ximian.com/mailman/listinfo/mono-list">http://lists=
.ximian.com/mailman/listinfo/mono-list</a><br>&gt;<br>&gt;<br><br></blockqu=
ote></div><br>
------=_Part_1766_29745519.1115100745322--