[Mono-list] Npgsql
Francisco Figueiredo Jr.
fxjrlists@yahoo.com.br
Wed, 24 Nov 2004 22:47:27 -0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kevin B. wrote:
| Hi,
|
| I'm trying to use Npgsql but when I compile the test program I get:
| The namespace `Npgsql' can not be found (missing assembly
reference?)(CS0246)
|
| I could not find the Npgsql.dll on my system so I downloaded the latest
| beta from the GBorg site and did this:
|
| [root@localhost mono]# gacutil -i Npgsql.dll
| Npgsql installed into the gac (/usr/lib/mono/gac)
|
| But when I go to Edit References>GAC tab in MonoDevelop I do not see
| Npgsql in the list. (Maybe the Npgsql assembly is listed under a differnt
| name?)
|
| Thanks for any ideas,
| Kevin
|
Guys, what is the difference between what Kevin did and what makefile
does in cvs?
This is what I get in cvs:
make install
make install-local
make[1]: Entering directory
`/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/mcs/class/Npgsql'
MONO_PATH="../../class/lib/default:$MONO_PATH" mono
../../tools/gacutil/gacutil.exe /i ../../class/lib/default/Npgsql.dll /f
/gacdir
/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/install/lib
/root
/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/install/lib
/package 1.0
Package exported to:
/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/install/lib/mono/1.0/Npgsql.dll
- ->
/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/install/lib/mono/gac/Npgsql/1.0.5000.0__5d8b90d52f46fda7/Npgsql.dll
Npgsql installed into the gac
(/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/install/lib/mono/gac)
make[1]: Leaving directory
`/home/fxjr/Desenvolvimento/SourceRepositories/MonoCommit/mcs/class/Npgsql'
Note that there are a lot of parameters including a package 1.0 parameter.
Maybe this is the problem?
Hmmm, after read gautil --help, I think the problem maybe is really the
package and root parameters.
Kevin, could you try to set at least root to the dir where mono libs are
located? /usr/lib?
Thanks in advance.
- --
Regards,
Francisco Figueiredo Jr.
Membro Fundador do Projeto MonoBrasil - MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org
- -------------
"Science without religion is lame;
religion without science is blind."
~ ~ Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQEVAwUBQaUrn/7iFmsNzeXfAQJ56gf+PNyJc2CVaOhlnc53axzfWV9FLfvF0YGD
9PRd+eg1M+guOUiSPoPetG6HSsceQ8Om89KWGIvR9pW5FdLpYkUFtCQ/LFaL0/4g
1eUqsf1wV89ivdBNWYPdUtvHlyh2Sbm2zNyd/2km3611w/R8s5cm4Cne+WI7/ym6
eZeyCcHeXH0vb02iHqqc8nRaeL6WDHlW5OTktDDkRWEoo6v9wS2ZvmN6LNxCfWmP
m10xSkKXFHw2yT8k4P+vZQJkuvdeBmp2l9nQ/OqVZ7ITCPzu3pnGCh6K6sE2M83I
/0Wu++rc7eDj/LvDmc19c3ZCyA1/OCFcBST4K6S3AZ8ko2KT/XxxxQ==
=a6jA
-----END PGP SIGNATURE-----