On Wed, May 6, 2009 at 10:33 PM, Mariano Martinez Peck <
marianop...@gmail.com> wrote:
>
>
> On Wed, May 6, 2009 at 4:18 PM, OpenDBX devel list <
> libopendbx-devel@lists.sourceforge.net> wrote:
>
>> On Wednesday 06 May 2009 20:26:59 OpenDBX devel list wrote:
>> > I changed to this:
>> > (I removed C:\mariano\squeakDBX\instantclient_11_1\sdk\lib\msvc\ and
>> > C:\XEClient\bin;C:\oracle\ora92\bin;
>> >
>> > But I have same results :(
>>
>> I've tried with the instant client (basic lite + sdk) and it was also
>> successful:
>>
>>
>> CPPFLAGS="-IC:/Progra~1/Oracle/product/11.1.0/instantclient_11_1/sdk/include"
>> LDFLAGS="-LC:/Progra~1/Oracle/product/11.1.0/instantclient_11_1"
>> ./configure --disable-utils --disable-nls --with-backends="oracle"
>>
>> The packages (basic lite + sdk) are zip file, which you can extract
>> anywhere.
>> I've extracted both to the same directory and the DLL can be found in the
>> base directory while the include file is in
>> the .../instantclient_11_1/sdk/include
>>
>> Maybe your setup is still screwed up.
>>
>>
> Yes. My computer at working is crazy. I will forget it and use my pc at
> home ahaha.
>
> I tried again all the steps to compile with oracle. I can create dlls
> perfectly. But, I cannot run the test. See the result:
>
> $ ./odbxtest.exe -b oracle -h localhost -p 3333 -d mysql -u root -w XXX
> Error in odbx_init(): Out of memory
>
> I am getting a ODBX_ERR_NOMEM :(
>
> I have no idea why. I have enough RAM and HDD haha.
>
> Any tips?
>
I also put some flags in code (puts) to see where is actually happening the
problem, but flags are not displayed in the console. I am sure I have
compiled them (i did make clean, and all the process again).
I have for example:
int odbx_init( odbx_t** handle, const char* backend, const char* host, const
char* port )
{
puts("agrrrrrrrrrrrrr");
int err;
........
but "agrrrrrrrrrrrrr" is never displayed. You can see the console output:
$ ./odbxtest.exe -b oracle -h 192.168.1.140 -p 1521 -d xe -u sodbxtest -w
XXX -v
inicio
if( verbose )
true
Parameter:
backend=oracle
host=192.168.1.140
port=1521
database=xe
user=sodbxtest
password=sodbxtest
runs=1
verbose=1
for( j = 0; j < runs; j++ )
1. Run:
odbx_init()
Error in odbx_init(): Out of memory
Do you know why it can be that this is not logging ? It would be difficult
to discover the problem then.
Cheers,
Mariano
>
> greetings,
>
> Mariano
>
>
>> Norbert
>> --
>> OpenPGP public key
>> http://www.linuxnetworks.de/norbert.pubkey.asc
>>
>>
>>
>> ------------------------------------------------------------------------------
>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
>> production scanning environment may not be a perfect world - but thanks to
>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
>> i700
>> Series Scanner you'll get full speed at 300 dpi even with all image
>> processing features enabled. http://p.sf.net/sfu/kodak-com
>> _______________________________________________
>> libopendbx-devel mailing list
>> libopendbx-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
>> http://www.linuxnetworks.de/doc/index.php/OpenDBX
>>
>>
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX