Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Linux Oracle UPP
Linux Oracle UPP [message #9195] Fri, 20 April 2007 17:21 Go to next message
mrmodolo is currently offline  mrmodolo
Messages: 3
Registered: August 2006
Junior Member
Hi,
I am using UPP in windows a long time (I have a Oracle database and connect to It by UPP...). Now in my work some machines are migrating to Linux, I try the SQL_Oraclein my KUBUNTU 6.10 but did no compile. The other examples work very well (now OpenGL work too). I have the client .so librarys and sdk oracle oci but did not work.

What I am doing wrong?

thanks a lot,
marcelo módolo
Re: Linux Oracle UPP [message #9197 is a reply to message #9195] Fri, 20 April 2007 18:01 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
mrmodolo wrote on Fri, 20 April 2007 11:21

Hi,
I am using UPP in windows a long time (I have a Oracle database and connect to It by UPP...). Now in my work some machines are migrating to Linux, I try the SQL_Oraclein my KUBUNTU 6.10 but did no compile. The other examples work very well (now OpenGL work too). I have the client .so librarys and sdk oracle oci but did not work.

What I am doing wrong?

thanks a lot,
marcelo módolo


Frankly, I do not know Smile You are the first one trying this...

What are errors?

Mirek
Re: Linux Oracle UPP [message #9234 is a reply to message #9197] Mon, 23 April 2007 01:13 Go to previous messageGo to next message
mrmodolo is currently offline  mrmodolo
Messages: 3
Registered: August 2006
Junior Member
Thanks for your attention!
This is the output after try to compile SQL_Oracle:

----- Oracle ( GCC DEBUG SHARED BLITZ LINUX ) (1 / 4)
BLITZ: OraCommon.cpp Oci7.cpp Oci8.cpp contest.cpp
/home/marcelo/upp/uppsrc/Oracle/Oracle7.h:37: error: ‘OCI7Connection’ was not declared in this scope
/home/marcelo/upp/uppsrc/Oracle/Oracle7.h:37: error: template argument 1 is invalid
/home/marcelo/upp/uppsrc/Oracle/Oci7.cpp: In constructor ‘Upp::OCI7Connection::OCI7Connection(Upp::Oracle7*)’:
/home/marcelo/upp/uppsrc/Oracle/Oci7.cpp:765: error: no matching function for call to ‘Upp::OCI7Connection::LinkAfter(int*)’
/home/marcelo/upp/uppsrc/Core/Other.h:267: note: candidates are: void Upp::Link<T, N>::LinkAfter(Upp::Link<T, N>*, int) [with T = Upp::OCI7
Connection, int N = 1]
/home/marcelo/upp/uppsrc/Oracle/Oci7.cpp: In member function ‘void Upp::Oracle7::Close()’:
/home/marcelo/upp/uppsrc/Oracle/Oci7.cpp:818: error: request for member ‘IsEmpty’ in ‘((Upp::Oracle7*)this)->Upp::Oracle7::clink’, which is
of non-class type ‘int’
/home/marcelo/upp/uppsrc/Oracle/Oci7.cpp:819: error: request for member ‘GetNext’ in ‘((Upp::Oracle7*)this)->Upp::Oracle7::clink’, which is
of non-class type ‘int’
/home/marcelo/upp/uppsrc/Oracle/Oci7.cpp:820: error: request for member ‘GetNext’ in ‘((Upp::Oracle7*)this)->Upp::Oracle7::clink’, which is
of non-class type ‘int’
/home/marcelo/upp/uppsrc/Oracle/Oracle8.h: At global scope:
/home/marcelo/upp/uppsrc/Oracle/Oracle8.h:66: error: ‘OCI8Connection’ was not declared in this scope
/home/marcelo/upp/uppsrc/Oracle/Oracle8.h:66: error: template argument 1 is invalid
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp: In constructor ‘Upp::OCI8Connection::OCI8Connection(Upp::Oracle8*)’:
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp:744: error: no matching function for call to ‘Upp::OCI8Connection::LinkAfter(int*)’
/home/marcelo/upp/uppsrc/Core/Other.h:267: note: candidates are: void Upp::Link<T, N>::LinkAfter(Upp::Link<T, N>*, int) [with T = Upp::OCI8
Connection, int N = 1]
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp: In member function ‘void Upp::Oracle8::Logoff()’:
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp:857: error: request for member ‘IsEmpty’ in ‘((Upp::Oracle8*)this)->Upp::Oracle8::clink’, which is
of non-class type ‘int’
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp:858: error: request for member ‘GetNext’ in ‘((Upp::Oracle8*)this)->Upp::Oracle8::clink’, which is
of non-class type ‘int’
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp:859: error: request for member ‘GetNext’ in ‘((Upp::Oracle8*)this)->Upp::Oracle8::clink’, which is
of non-class type ‘int’
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp: In constructor ‘Upp::Oracle8::Oracle8()’:
/home/marcelo/upp/uppsrc/Oracle/Oci8.cpp:956: error: ‘struct Upp::T_OCI8’ has no member named ‘LibName’
Oracle: 4 file(s) built in (0:02.86), 716 msecs / file, duration = 3028 msecs

There were errors. (0:03.03)

marcelo módolo
Re: Linux Oracle UPP [message #9259 is a reply to message #9234] Tue, 24 April 2007 13:57 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, seems like this is beyond the simple fix. We will have to install Oracle client (hope we can do it in Ubuntu) and fix all issues...

Mirek
Re: Linux Oracle UPP [message #23205 is a reply to message #9259] Fri, 25 September 2009 13:02 Go to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

luzr wrote on Tue, 24 April 2007 14:57

Well, seems like this is beyond the simple fix. We will have to install Oracle client (hope we can do it in Ubuntu) and fix all issues...

Mirek


Is possible to install oracle client on ubuntu:

The detail instalation is by address:
http://thisbrokenworld.wordpress.com/2008/04/10/oracle-10g-c lient-tools-on-ubuntu-710/#comment-3

The package SQL_oracle was compiled succefull with oracle8 in ubuntu. but when I run I have getlastError:
Error loading OCI8 oracle connection dynamic library.

Somebody works on u++ with ubuntu?

[Updated on: Fri, 25 September 2009 13:58]

Report message to a moderator

Previous Topic: Can I use Upp::Oracle8 connect to Oracle10?
Next Topic: OCILIB in U++?
Goto Forum:
  


Current Time: Thu Mar 28 11:40:23 CET 2024

Total time taken to generate the page: 0.01924 seconds