[gnome-db] using libgda and mono



Hi,

I have two problems:

Problem #1 - trying to get libgda to install from
sources.  When I run "make install" I get:


[root localhost libgda-1.1.4]# make install
Making install in po
make[1]: Entering directory
`/opt/apps/libgda-1.1.4/po'
if test -r ".././mkinstalldirs"; then \
  .././mkinstalldirs /usr/local/share; \
else \
  /bin/sh ../mkinstalldirs /usr/local/share; \
fi
../mkinstalldirs: ../mkinstalldirs: No such file or
directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/opt/apps/libgda-1.1.4/po'
make: *** [install-recursive] Error 1


Problem #2 - I'm trying to run a Mono example which
uses to Ole classes.  I can run Npgsql-based classes
fine.  But when I run a similiar example using OleDb I
get:

[ron localhost sharp]$ mono dbtest.exe
 
** (System.Data.OleDb:27727): CRITICAL **: file
gda-config.c: line 136 (gda_config_parse_config_file):
assertion `len != 0' failed


Which is why I'm trying to reinstall libgda from
sources in the first place.  If someone can help, I'll
be happy.

For the sake of completeness, I'm including the code
for the OleDb example below (it's slightly modified
from the go-mono website)

I've gotten this thing working before, only I can't
figure out what I've done differently.  ARRRGH!

*********************************
 using System;
 using System.Data;
 using System.Data.OleDb;
                                                      
                         
 public class DbTest
 {
    public static void Main(string[] args)
    {
        // there is a libgda PostgreSQL provider
       string connectionString =
          "Provider=PostgreSQL;" +
          "Addr=127.0.0.1;" +
          "Database=bogus;" +
          "User ID=bogusman;" +
          "Password=";
       IDbConnection dbcon;
       dbcon = new OleDbConnection(connectionString);
       dbcon.Open();

       dbcon.Close();
       dbcon = null;
    }
 }
***********************************************



-ron



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]