building DBD:Adabas
From: Christian Stalp (stalp_at_imbei.uni-mainz.de)
Date: 08/05/04
- Next message: Kamal Gupta: "RE: Determining Odd and Even Numbers"
- Previous message: Gunnar Hjalmarsson: "Re: Void Context Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: beginners@perl.org Date: Thu, 5 Aug 2004 15:21:33 +0200
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 ...
>>> Remember to actually *READ* the README file!
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
- Next message: Kamal Gupta: "RE: Determining Odd and Even Numbers"
- Previous message: Gunnar Hjalmarsson: "Re: Void Context Error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|