Re: [gnome-db]Problem compiling with oracle


This work ok:

s% ORACLE_LIBS@%-L/home/oracle/Home817/lib -lm -ldl -lserver8 -lclient8 -lcommon8 -lvsn8 -lagent8 -lmm -lclntsh -lslax8 -lwtc8 -lsql8 -lcore8 -lpsa8%

After compiling i run gda-test and return:

opening connection...
gda-connection.c: 76: gda_connection_real_error called
Could not open CORBA factory

Is this a bad configuration?

Trying compile gnome-db 0.2.10 I have the error

gcc -g -O2 -o .libs/gnomedb-fe gnomedb-fe-callbacks.o gnomedb-fe-config.o gnomedb-fe-main.o gnomedb-fe-wizard.o gnomedb-fe-workarea.o -rdynamic -rdynamic -rdynamic  -L/usr/local/lib /usr/local/lib/ /usr/local/lib/ -L/usr/lib /usr/lib/ -lpthread -L/usr/X11R6/lib -ldl -lXi -lXext -lX11 -lm -lz /usr/lib/ -lnsl -lm -lnsl -lm /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lnsl /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lSM -lICE /usr/lib/ /usr/lib/ /usr/lib/ -laudiofile -ldb1 /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -ldl -lXi -lXext -lX11 -lm /usr/lib/ -lz /usr/lib/perl5/5.00503/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.00503/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lposix -lcrypt ../lib/.libs/ -Wl,--rpath -Wl,/usr/local/lib
gnomedb-fe-callbacks.o: In function `fe_run_perl_cb':
/home/publico/soft/gnome-db/gnome-db-0.2.10/frontend/gnomedb-fe-callbacks.c:171: undefined reference to `fe_perl_run'
collect2: ld returned 1 exit status
make[2]: *** [gnomedb-fe] Error 1
make[2]: Leaving directory `/home/publico/soft/gnome-db/gnome-db-0.2.10/frontend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/publico/soft/gnome-db/gnome-db-0.2.10'
make: *** [all-recursive-am] Error 2

I need any perl-XX  package? I can disable this?

Thanks in advance.


Bob Jones wrote:


I have been working on cleaning up the Oracle provider for libgda on and off (mostly off) for the last 2 months or so. What I have noticed is that libgda's Oracle provider is setup to handle Oracle 8.0.x, not 8i as you and I both have. To correct this, you need to manually edit the config.status file in ~/libgda-<version #>. Approximately 1/2-2/3 way through the file you will see the ORACLE_LIBS line. I would recommend using Konquerer, MidnightCommander (GNOME), or Nautilus to give you a tree view of the files in your $ORA_HOME/lib directory. With both the editor and directory view open, edit the config.status file to to place an 8 at the end of the lib files that correspond (eg. from -lserver to -lserver8, -lcommon to -lcommon8, etc). Remove any lib entries in config.status that have no corresponding matches in the $ORA_HOME/lib directory, save it and re-run make. This should compile and run just fine.


Do You Yahoo!?
Get your free address at

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