[Mono-list] RE: Compiliation on Linux box problem...
Daniel Morgan
danmorg@sc.rr.com
Sun, 26 May 2002 13:27:57 -0400
Hi Franciso,
Ask all you need...
I hope you don't mind me forwarding your email to the mono-list. There
are smart people here who can get you up and running with Mono.
There is a good chance that what's in cvs is not compatible with a
release, such as, mono-0.11 simply because of progress of Mono (no pun
intended).
Does the daily RPMs and DEBS that are produced for Mono include the
assemblies System.Data.dll and System.Xml.dll? What about other
assemblies?
You can email the errors you get.
I don't know if you checked this page
http://www.go-mono.com/ado-net.html
out or not, but it can be helpful.
These commands should help you build System.Data.dll assembly on Linux.
I don't know how System.Xml.dll gets built on Linux, but I'm sure it's
very similar.
cd mcs/class/System.Data
mcs --target library -o System.Data.dll @list
When I compile a Mono C# program that uses System.Data.dll, I do this:
To compile:
mcs program.cs -r System.Data.dll
To run:
mono program.exe
Try these tests in mcs/class/System.Data/Test
TestSqlInsert.cs
ProgresTest.cs
TestSqlDataReader.cs
TestSqlDataAdapter.cs
Hope this helps,
Daniel
-----Original Message-----
From: Francisco Jr. [mailto:fxjrlists@yahoo.com.br]
Sent: Sunday, May 26, 2002 12:30 PM
To: Daniel Morgan
Subject: Compiliation on Linux box problem...
Hi Daniel. Sorry for asking you too much! :)
I'm having some troubles here...
As I said, I could compile most part of Mono. But in
the /usr/local/lib I got two assemblies empty:
System.Data.dll and System.Xml.dll :(
I tried to compile System.Data.dll from the cvs code
but there were some errors (normal, as the code is
under heavy development) that prevent me from doing
it. ( I can send you the output with you want ). So I
copied the System.Data.dll binary from the 0.11
release.
Later, I tried to compile Npgsql under mono but it
shows me an error saying that it can't fide
IDbConnection type. I can see the IDbConnection in the
cvs and I can see the tag saying that version 1.4 is
on the 0.11 release.
Am I missing something??
I'm using Mandrake Linux 8.1
Thanks for any information.
Francisco Jr.
_______________________________________________________________________
Yahoo! Encontros
O lugar certo para você encontrar aquela pessoa que falta na sua vida.
Cadastre-se hoje mesmo!
http://br.encontros.yahoo.com/