Subject: Re: Fwd: dbi:Adabas
Date: Tue, 3 Aug 2004 13:42:24 +0200
From: Christian Stalp <[EMAIL PROTECTED]>
To: Jonathan Leffler <[EMAIL PROTECTED]>

> >>I still have a problem with my DBD:Adabas-Module
>
> Sorry, I don't think I can help -- I don't see what the trouble is.
> I would suggest upgrading from DBI 1.38, but I'm not convinced that's
> a critical part of the problem.

Hello again, I'm still hanging on this problem. Now I try again.
I build DBI again with the newest package, works fine.
But than I tryed to buid DBD:ODBC again!
First step:
perl Makefile.PL
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=DEFINITION
    DBI_PASS=ULYSSES

than second step:
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
/REFDB_HOME/referenz/adabas_d/include/isql.h:12: error: parse error before
'*' token
/REFDB_HOME/referenz/adabas_d/include/isql.h:12: warning: data definition has
no type or storage class
/REFDB_HOME/referenz/adabas_d/include/isql.h:13: error: parse error before
'*' token
/REFDB_HOME/referenz/adabas_d/include/isql.h:13: warning: data definition has
no type or storage class
/REFDB_HOME/referenz/adabas_d/include/isql.h:14: error: parse error before
'*' token
/REFDB_HOME/referenz/adabas_d/include/isql.h:14: warning: data definition has
no type or storage class
In file included from dbdodbc.h:6,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:300: error: parse error
before "CALLBACK"
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:300: error: parse error
before "UWORD"
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:300: warning: data definition
has no type or storage class
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:301: error: parse error
before "CALLBACK"
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:301: error: parse error
before "SWORD"
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:301: warning: data definition
has no type or storage class
In file included from /REFDB_HOME/referenz/adabas_d/include/sql.h:1,
                 from dbdodbc.h:7,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:35:1: warning: "SQL_API"
redefined
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:21:1: warning: this is the
location of the previous definition
In file included from /REFDB_HOME/referenz/adabas_d/include/sql.h:1,
                 from dbdodbc.h:7,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:106: error: redefinition of
`UCHAR'
/REFDB_HOME/referenz/adabas_d/include/isql.h:4: error: `UCHAR' previously
declared here
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:118: error: redefinition of
`SDWORD'
/REFDB_HOME/referenz/adabas_d/include/isql.h:5: error: `SDWORD' previously
declared here
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:122: error: redefinition of
`SWORD'
/REFDB_HOME/referenz/adabas_d/include/isql.h:6: error: `SWORD' previously
declared here
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:126: error: redefinition of
`UDWORD'
/REFDB_HOME/referenz/adabas_d/include/isql.h:7: error: `UDWORD' previously
declared here
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:130: error: redefinition of
`UWORD'
/REFDB_HOME/referenz/adabas_d/include/isql.h:8: error: `UWORD' previously
declared here
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:166: error: `PTR' redeclared
as different kind of symbol
/REFDB_HOME/referenz/adabas_d/include/isql.h:10: error: previous declaration
of `PTR'
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:168: error: `HENV'
redeclared as different kind of symbol
/REFDB_HOME/referenz/adabas_d/include/isql.h:12: error: previous declaration
of `HENV'
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:169: error: `HDBC'
redeclared as different kind of symbol
/REFDB_HOME/referenz/adabas_d/include/isql.h:13: error: previous declaration
of `HDBC'
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:170: error: `HSTMT'
redeclared as different kind of symbol
/REFDB_HOME/referenz/adabas_d/include/isql.h:14: error: previous declaration
of `HSTMT'
/REFDB_HOME/referenz/adabas_d/include/sqltypes.h:173: error: redefinition of
`RETCODE'
/REFDB_HOME/referenz/adabas_d/include/isql.h:16: error: `RETCODE' previously
declared here
In file included from dbdodbc.h:7,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/sql.h:510:1: warning: "SQL_CB_DELETE"
redefined
In file included from dbdodbc.h:6,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:164:1: warning: this is the
location of the previous definition
In file included from dbdodbc.h:7,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/sql.h:511:1: warning: "SQL_CB_CLOSE"
redefined
In file included from dbdodbc.h:6,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:165:1: warning: this is the
location of the previous definition
In file included from dbdodbc.h:7,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/sql.h:512:1: warning: "SQL_CB_PRESERVE"
redefined
In file included from dbdodbc.h:6,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:166:1: warning: this is the
location of the previous definition
In file included from dbdodbc.h:7,
                 from ODBC.h:9,
                 from ODBC.xs:1:
/REFDB_HOME/referenz/adabas_d/include/sql.h:744: error: conflicting types for
`SQLNumResultCols'
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:301: error: previous
declaration of `SQLNumResultCols'
/REFDB_HOME/referenz/adabas_d/include/sql.h:765: error: conflicting types for
`SQLSetConnectOption'
/REFDB_HOME/referenz/adabas_d/include/isqlext.h:300: error: previous
declaration of `SQLSetConnectOption'
ODBC.xs: In function `XS_DBD__ODBC__db_GetFunctions':
ODBC.xs:172: error: `SQL_API_ODBC3_ALL_FUNCTIONS_SIZE' undeclared (first use
in this function)
ODBC.xs:172: error: (Each undeclared identifier is reported only once
ODBC.xs:172: error: for each function it appears in.)
ODBC.xs:185: error: `SQL_API_ODBC3_ALL_FUNCTIONS' undeclared (first use in
this function)
*** Fehlerrückkehrcode 1

Stopp.


Do you have any idea what went wrong with the installation?

Thank you very much

Gruss Christian

-------------------------------------------------------

Reply via email to