473,626 Members | 3,289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DCOracle2 and header files ??

Hi All,

Im trying to use the DCOracle2 library but I've never worked with Oracle
before, yet have to investigate the effort involved in porting a
database we have to it.

When I try running a `make` in the DCOracle2 dir having set the env
variables correctly I get the following error :

make || ./builderrors)
make[1]: Entering directory `/root/DCOracle2/src'
gcc -fPIC -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC -I/usr/include/python2.2 -I/usr/include/python2.2 -DHAVE_CONFIG_H -I/u01/app/oracle/or_home/rdbms/demo -I/u01/app/oracle/or_home/network/public -I/u01/app/oracle/or_home/plsql/public -I/u01/app/oracle/or_home/rdbms/public -DORACLE9i -DUSEOWNXID -c ././dco2.c -o ./dco2.o
dco2.c: In function `Cursor_bind':
dco2.c:3275: error: `dword' undeclared (first use in this function)
dco2.c:3275: error: (Each undeclared identifier is reported only once
dco2.c:3275: error: for each function it appears in.)
dco2.c:3275: error: syntax error before ')' token
dco2.c:3277: error: syntax error before ')' token
dco2.c:3294: error: syntax error before ')' token
make[1]: *** [dco2.o] Error 1
make[1]: Leaving directory `/root/DCOracle2/src'

Ive looked in the /u01/app/oracle/or_home/rdbms/demo dir to check for
the header files that should be there, but they arent. Does anyone know
how I am supposed to install the header files ?? or if this is a problem
that has another solution ??

Im no longer subscribed to the python-list mailling list, so if you
could reply directly I would appreciate it.

Thanks in advance
Dave

--
Dave Harrison
Nullcube
da**@nullcube.c om
http://www.nullcube.com

Jul 18 '05 #1
0 1071

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1623
by: Skip Montanaro | last post by:
Connections to remote Oracle databases doesn't seem possible with DCOracle2. I have no problem making remote connections using Perl's DBI::Oracle package, so I know it's possible in theory. Is this capability available in DCOracle2 but just not documented perhaps? Thx, Skip
0
1356
by: the_rev_dharma_roadkill | last post by:
I've have some fun getting DCOracle2 (python-to-oracle interface) going on HP/Compaq Tru64 with Oracle8i Release 3 (oracle 8.1.7). I'd like to share an answer/bug-fix with you: After un-tarring the source... 1) edit setup.py. Change the lines: CFLAGS = LFLAGS = LIBS=
2
1647
by: Timo Virkkala | last post by:
I'm having some trouble with Python2.2 and DCOracle2. I'm successfully executing a query, and getting the result I'm hoping for - with an added bonus of some interesting encoding. The beginning of the result set I get looks like this: , ... So, where are those \x00 -characters coming? It should read: , ...
3
1671
by: Ron Reidy | last post by:
All, I am trying to compile DCOracle2 on RedHat 8.0 and make is giving me the following error: gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.3 -I/usr/local/include/python2.3 @DEFS@ -I/oracle/app/oracle/9i/rdbms/demo -I/oracle/app/oracle/9i/network/public -I/oracle/app/oracle/9i/plsql/public
0
1106
by: Dave Harrison | last post by:
hi all, Im trying to install DCOracle2 but I cant seem to find out how to install the Oracle header files that the library needs (...rdbms/demo is empty). Ive installed both the db and the client, but still no header files. can anyone help out with a pointer ?
0
1039
by: Keana | last post by:
Hi, I am trying to retrieve data from an Oracle DB table. One of the columns is defined as 'Long Raw' data type and contains multi-line string data (with newlines). My query returns 'None' for this column although there is data in the rows I am retrieving. Can someone tell me how to get around this problem? I am using DCOracle2 v2.1.2 and Oracle 9i and Python 2.2.2.
2
1981
by: pepericou | last post by:
I'm trying to developp an application which use Zope and DCOracle2 module to access Oracle database. I've install the DCOracle2 product on Windows XP, but when I create a python function to access my database, I' have the following error when I test it : import DCOracle2 is unauthorized Can You help me ? Thank you
0
1302
by: Marcel Hartmann | last post by:
Hi, I have problems to get ZOracleDA run in Zope - I cannot found a solution wheter in Zope Groups nor searching google and I think it's a python problem. The connection in python - without zope - functions without problems and the missing library (see errors later) is obviously found. Is it possible to set an library path for python? I tested changing the ld.conf.so and running ldconfig or setting LD_LIBRARY_PATH environment var, but...
2
1546
by: Chris | last post by:
Hello I'm using DCOracle2 with Python 2.1 and Oracle 8.1.7 on Solaris and while it's working most of the time, I have random ORA-01084 invalid argument in OCI call errors that occur on INSERT. Out of 18000 queries all using the same DB connection I have like 15 errors of this type. It's always the same SQL queries (2 different INSERT and some other SELECT), only the parameters change and they're always valid. When the error occur I can...
0
8272
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8713
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8370
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7206
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6126
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5579
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4094
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1516
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.