[Mono-list] Npgsql namespace problem and nohup problem
Abe Gillespie
agillesp@vt.edu
Wed, 17 Mar 2004 13:34:47 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C40C24.9DBCAB40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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=3D"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
------=_NextPart_000_0015_01C40C24.9DBCAB40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Npgsql:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>At <A=20
href=3D"http://www.go-mono.com/postgresql.html">http://www.go-mono.com/po=
stgresql.html</A> and=20
under bullet item "Npgsql" you see "included with Mono." However, =
when=20
I use the <%@ import namespace=3D"Npgsql" %> directive I =
get:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><!--StartFragment --> <B>Error message: =
</B>/tmp/tmp5cb222ed.cs(25,0)=20
: error CS0246: The namespace `Npgsql' can not be found (missing =
assembly=20
reference?) (0,0) : error failed: 1 error(s), 0 warnings</DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Do I need to install "Mono Class =
Libraries?" =20
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?" =20
Are these additional / less critical assemblies?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Nohup:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I get help from this newsgroup before =
and I very=20
much thank everyone who contributed. But I'm suddenly =
getting errors=20
where I wasn't before.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Doing this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>nohup "mono =
/usr/local/bin/mod-mono-server.exe=20
--nonstop --root . --applications /mono:." &</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Gives me this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>nohup: appending output to =
`nohup.out'<BR>nohup:=20
cannot run command `mono /usr/local/bin/mod-mono-server.exe --nonstop =
--root .=20
--applications /mono:.': No such file or directory</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>However, if I do the same w/o the =
"&" like=20
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>nohup mono =
/usr/local/bin/mod-mono-server.exe=20
--nonstop --root . --applications /mono:.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Then it works fine ... only I can't =
regain control=20
of the terminal of course.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Then only thing I might have changed is =
permissions=20
on the directory where I run the command. But everyone was wrx on=20
it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for any help. Are you guys =
are doing a=20
superb job!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>-Abe</FONT></DIV></BODY></HTML>
------=_NextPart_000_0015_01C40C24.9DBCAB40--