[Mono-devel-list] building from CVS

Norman Lorrain normanlorrain at telusplanet.net
Fri Mar 7 18:33:05 EST 2003


Just encountered an error after updating from CVS
<error>
../../mono/io-layer/wapi-private.h:25:2: #error configure failed to
discover size of unix socket path
</error>
This is on Mandrake Linux.

I've tried a make clean followed by configure and make, to no avail.


Norm



> -----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
question)
> 
> 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
(mscorlib)
> 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
generic
> > > 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 =
(IDbConnection)assembly.CreateInstance(model.ConnectionType);
> >
> > And it fails to compile with "Cannot find type IDbConnection" error.
All
> 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
box?
> >
> > 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
> 




More information about the Mono-devel-list mailing list