[Mono-list] Npgsql namespace problem and nohup problem
amerigo5 amerigo5
amerigo5@hotmail.com
Wed, 17 Mar 2004 12:53:15 -0600
Namespace problem:
Use
<%@ Assembly name="Npsql" %>
instead of
<%@ import namespace="Npgsql" %>
From: http://lists.ximian.com/archives/public/mono-list/2003-May/014140.html
----Original Message Follows----
From: "Abe Gillespie" <agillesp@vt.edu>
To: <mono-list@lists.ximian.com>
Subject: [Mono-list] Npgsql namespace problem and nohup problem
Date: Wed, 17 Mar 2004 13:34:47 -0500
Npgsql:
At http://www.go-mono.com/postgresql.html and under bullet item "Npgsql" you
see "included with Mono." However, when I use the <%@ import
namespace="Npgsql" %> directive I get:
Error message: /tmp/tmp5cb222ed.cs(25,0) : error CS0246: The namespace
`Npgsql' can not be found (missing assembly reference?) (0,0) : error
failed: 1 error(s), 0 warnings
Do I need to install "Mono Class Libraries?" I haven't need that yet. Out
of curiosity, why is there a separate download for extra class libraries
when you get a ton with "Mono Runtime?" Are these additional / less
critical assemblies?
Nohup:
I get help from this newsgroup before and I very much thank everyone who
contributed. But I'm suddenly getting errors where I wasn't before.
Doing this:
nohup "mono /usr/local/bin/mod-mono-server.exe --nonstop --root .
--applications /mono:." &
Gives me this:
nohup: appending output to `nohup.out'
nohup: cannot run command `mono /usr/local/bin/mod-mono-server.exe --nonstop
--root . --applications /mono:.': No such file or directory
However, if I do the same w/o the "&" like this:
nohup mono /usr/local/bin/mod-mono-server.exe --nonstop --root .
--applications /mono:.
Then it works fine ... only I can't regain control of the terminal of
course.
Then only thing I might have changed is permissions on the directory where I
run the command. But everyone was wrx on it.
Thanks for any help. Are you guys are doing a superb job!
-Abe
_________________________________________________________________
All the action. All the drama. Get NCAA hoops coverage at MSN Sports by
ESPN. http://msn.espn.go.com/index.html?partnersite=espn