[Mono-list] Can't get DbClient to compile

Gonzalo Paniagua Javier gonzalo@gnome-db.org
Sat, 27 Jul 2002 17:33:33 +0200


* [ Michael Schwery <mschwery@socket.net>
* Sat, 27 Jul 2002 09:54:10 +0200 ]
> Maybe I'm missing something but I thought if I downloaded the baselabs
> mono rpm and installed it I should be able to compile the code in the
> mono snapshots. The one I'm really interested in is the DbClient.
> 
> I'm also unsure how to set up postgresql so that it would work with the
> dbpage2.aspx web page.

You need the same database for client.cs (DBClient.cs is old) and
dbpage2.aspx. If you know how to use xsp, just try to access to
dbpage2.aspx though it. If the connection to the DB cannot be
stablished, you get a page telling you what to do. I updated client.cs
to give the same info when no connection available.

If you are not able to use XSP, follow this simple instructions:

	-Compile xsp.exe and server.exe (just 'make').
	-Copy xsp.exe, server.exe and redirector.sh to some directory
	(you choose which one). Then copy xsp/test/* to the same
	directory or any other one below it.
	-In that directory, run 'mono server.exe 8000'.
	-Point your browser to, for example:
	http://127.0.0.1:8000/dbpage2.aspx



-- 
Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
http://www.gnome-db.org/~gonzalo/