[Mono-list] Mono.Posix.Syscall
Jackson Harper
jackson@ximian.com
Tue, 14 Sep 2004 13:35:02 -0500
You need to use gacutil to install the new Mono.Posix. Either set your
prefix in mcs/ and do a make install in the mcs/class/Mono.Posix or do
gacutil -i Mono.Posix.dll
Jackson
On Tue, 2004-09-14 at 16:31 -0400, Loren Bandiera wrote:
> I've been using Mono for some software I'm writing and I needed a way to
> get an entry from a UNIX password file. I looked around
> Mono.Posix.Syscall but I didn't find what I was looking for.
>
> So I wrote some code to allow Mono.Posix.Syscall to call getpwent_r(3).
> See attached patches.
>
> My problem is now, I'm having issues trying to test it. I patched the mcs
> and mono source, built it and installed it in /usr/local. When trying to
> compile a simple program to use my new code, it told me it couldn't find
> it in Mono.Posix.Syscall. I guess my default mono install is causing the
> confusion.
>
> Since I run Gentoo Linux, my next idea was to modify the Mono ebuild and
> have it add my patches. I didn't get too far with that due to some other
> issues in the ebuild, which I won't get into here.
>
> Can I have two instances of mono installed? (say in /usr and /usr/local?)
> If so, did I miss something? Or what is the recommended way to this?
>