For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2004 > building DBD:Adabas









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author building DBD:Adabas
Christian Stalp

2004-08-05, 3:56 pm

Hallo everbody:
I still hanging at my problem with the DBI-driver for Adabas.

The installation of perl:dbi worked fine, but than I tryed to install the
ODBC-Driver.

I called the perl Makefile.PL and get:

Useless use of private variable in void context at Makefile.PL line 430.

Configuring DBD::ODBC ...
[color=darkred]
And re-read it if you have any problems.

Multiple copies of Driver.xst found in:
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
/usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0/auto/DBI at Makefile.PL line
60
Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0) installed in
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
Using ODBC in /REFDB_HOME/referenz/adabas_d
Use of uninitialized value in substitution (s///) at Makefile.PL line 154.

Umm, this looks like a iodbc type of driver manager.

We expect to find the isql.h, isqlext.h and iodbc.h files (which were
supplied with iODBC) in $ODBCHOME/include directory alongside
the /REFDB_HOME/referenz/adabas_d/lib/libiodbc.sl library.

Use of uninitialized value in pattern match (m//) at Makefile.PL line 243.
Warning: LD_LIBRARY_PATH doesn't include /REFDB_HOME/referenz/adabas_d/lib

Injecting selected odbc driver into cc command
Injecting selected odbc driver into cc command
Multiple copies of Driver.xst found in:
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
/usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0/auto/DBI at Makefile.PL line
461
Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0) installed in
/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
Writing Makefile for DBD::ODBC

The DBD::ODBC tests will use these values for the database connection:
DBI_DSN=dbi:ODBC:refdb e.g. dbi:ODBC:demo
DBI_USER=#######
DBI_PASS=########

And thats it. For me it seems that there is something wrong with the
include-dirs. And LD_LIBRARY_PATH? Is'nt it obsolete?

Because after that I called make and this breaks after some parser errors:

make
/usr/local/bin/gcc -c -I/REFDB_HOME/referenz/adabas_d/include -I.
-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI -D_HPUX_SOURCE
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -O2
-DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/PA-RISC2.0/CORE"
-I/REFDB_HOME/referenz/adabas_d/include ODBC.c
In file included from /REFDB_HOME/referenz/adabas_d/include/isqlext.h:4,
from dbdodbc.h:6,
from ODBC.h:9,
from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/isql.h:10: error: parse error before
'*' token
/REFDB_HOME/referenz/adabas_d/include/isql.h:10: warning: data definition has
no type or storage class
.....
.....
..... many many lines and then error-code 1

What can I do ?

Gruss Christian
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com