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