Re: [gnome-db]Problem compiling with oracle



Thanks.

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/libgda-common.so /usr/local/lib/libgda-client.so -L/usr/lib /usr/lib/libgthread.so -lpthread -L/usr/X11R6/lib -ldl -lXi -lXext -lX11 -lm -lz /usr/lib/libgconf-1.so -lnsl -lm -lnsl -lm /usr/lib/libbonobo.so /usr/lib/liboaf.so /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so /usr/lib/libIIOP.so /usr/lib/libORBitutil.so -lnsl /usr/lib/libbonobox.so /usr/lib/libgnomeprint.so /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so /usr/lib/libgdk_imlib.so -lSM -lICE /usr/lib/libgnome.so /usr/lib/libgnomesupport.so /usr/lib/libesd.so -laudiofile -ldb1 /usr/lib/libgdk_pixbuf.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so -ldl -lXi -lXext -lX11 -lm /usr/lib/libxml.so -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/libgnomedb.so -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.

Gonzalo.





Bob Jones wrote:

Gonzalo,

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.

Bob


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com








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