[Mono-devel-list] building from CVS
charlouis.mono at wanadoo.be
Tue Mar 11 04:46:36 EST 2003
I had the same problem on a Red Hat 8:
If MONO_SIZEOF_SUNPATH in the config.h is zero then this is the
> > cause of the problem.
> > Regards,
> > Aleksey
> What value should I set this to?
Oh, you should look somewhere in
There should be s struct sockaddr_un with sun_path field.
On my box it is defined as follows:
char sun_path; /* Path name. */
So MONO_SIZEOF_SUNPATH should be 108.
But better yet you should make the configure script
determine it correctly itself.
Most likely you have problems with finding gc library
at configure time. (Please don't ask me why the test
for sun_path depends on gc.so. In priniple it shouldn't
but it is.)
This problem was already discussed in the list:
Le sam 08/03/2003 à 00:33, Norman Lorrain a écrit :
> Just encountered an error after updating from CVS
> ../../mono/io-layer/wapi-private.h:25:2: #error configure failed to
> discover size of unix socket path
> This is on Mandrake Linux.
> I've tried a make clean followed by configure and make, to no avail.
> > -----Original Message-----
> > From: mono-devel-list-admin at lists.ximian.com [mailto:mono-devel-list-
> > admin at lists.ximian.com] On Behalf Of Jonathan Pryor
> > Sent: Friday, March 07, 2003 8:19 AM
> > To: Aleksey Sudakov
> > Cc: mono-devel-list at lists.ximian.com
> > Subject: Re: Using ADO (Was: RE: [Mono-devel-list] Stupid novice
> > You need to specify the System.Data assembly on the command line:
> > mcs -r:System.Data Adaptor.cs
> > This is needed for any required assemblies other than corlib
> > and (possibly?) System.
> > - Jon
> > On Fri, 2003-03-07 at 10:04, Aleksey Sudakov wrote:
> > > > What database provider are you trying to use? Most of the
> > > > ADO.Net interfaces and base classes come from System.Data and
> > > > System.Data.Common.
> > >
> > > Well, I load (or at least try) providers dynamicly based on
> > configuration
> > > file. The code looks like this:
> > >
> > > Assembly assembly = Assembly.Load("System.Data");
> > > result =
> > >
> > > And it fails to compile with "Cannot find type IDbConnection" error.
> > I
> > > did though is 'mcs Adaptor.cs'. Is there some special steps that
> need to
> > be
> > > taken to compile code that uses ADO or should it comiple out of the
> > >
> > > Thanks,
> > > Aleksey
> > >
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.456 / Virus Database: 256 - Release Date: 2/18/2003
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
Charles-Louis <charlouis.mono at wanadoo.be>
More information about the Mono-devel-list