[Mono-list] MCS build problem

Ralph Mason rm.monolist@telogis.com
Wed, 04 May 2005 10:40:19 +1200


I tried

export WAPI_SHARED_DIR=~

Then the build but it made no difference whatsoever.  How should this 
stuff work (I assume 'it should just work, right' (TM) )

Ralph


> Hmm.  Try setting $WAPI_SHARED_DIR to someplace reliable in your 
> makefile(s). 
>
> Bill
>
> On 5/3/05, *Ralph Mason* <ralph.mason@telogis.com 
> <mailto:ralph.mason@telogis.com>> wrote:
>
>     Thanks Bill,
>
>     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.
>
>     Any other suggestions are very welcome :-)
>
>     Ralph
>
>
>     > 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>
>     > <mailto: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 != NULL)
>     >     aborting...
>     >
>     >     Thanks
>     >     Ralph
>     >
>     >     _______________________________________________
>     >     Mono-list maillist  -   Mono-list@lists.ximian.com
>     <mailto:Mono-list@lists.ximian.com>
>     >     <mailto:Mono-list@lists.ximian.com
>     <mailto:Mono-list@lists.ximian.com>>
>     >     http://lists.ximian.com/mailman/listinfo/mono-list
>     >
>     >
>
>