Hello,  Please let me know what I am doing wrong.

Here is the requested info for your review of my install.

[root DBI-1.19]# perl Makefile.PL
*** Note:
    The optional PlRPC-modules (RPC::PlServer etc) are not installed.
    If you want to use the DBD::Proxy driver and DBI::ProxyServer
    modules, then you'll need to install the RPC::PlServer,
RPC::PlClient,
    Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
    You can install them any time after installing the DBI.
    You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
    http://www.perl.com/CPAN/modules/by-module
    http://www.perl.org/CPAN/modules/by-module
    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

Writing Makefile for DBI

    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

[root DBI-1.19]# make
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486
-fno-strength-reduce    -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fpic
-I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO_THREADS Perl.c
In file included from Perl.xs:1:
DBIXS.h:234: parse error before `U32'
DBIXS.h:234: stray '\' in program
DBIXS.h:235: stray '\' in program
DBIXS.h:262: stray '\' in program
DBIXS.h:263: stray '\' in program
DBIXS.h:264: stray '\' in program
DBIXS.h:265: stray '\' in program
DBIXS.h:266: stray '\' in program
DBIXS.h:267: stray '\' in program
DBIXS.h:268: parse error before `->'
DBIXS.h:268: stray '\' in program
DBIXS.h:271: stray '\' in program
DBIXS.h:272: stray '\' in program
DBIXS.h:273: stray '\' in program
DBIXS.h:274: stray '\' in program
DBIXS.h:275: stray '\' in program
DBIXS.h:276: stray '\' in program
DBIXS.h:277: stray '\' in program
DBIXS.h:278: parse error before `->'
DBIXS.h:278: stray '\' in program
DBIXS.h:338: stray '\' in program
DBIXS.h:339: stray '\' in program
DBIXS.h:340: stray '\' in program
DBIXS.h:383: parse error before `}'
DBIXS.h:383: warning: data definition has no type or storage class
DBIXS.h:419: parse error before `='
DBIXS.h:419: stray '\' in program
DBIXS.h:420: stray '\' in program
DBIXS.h:421: stray '\' in program
DBIXS.h:422: stray '\' in program
DBIXS.h:423: stray '\' in program
DBIXS.h:424: stray '\' in program
DBIXS.h:432: parse error before `&&'
DBIXS.h:438: stray '\' in program
DBIXS.h:439: stray '\' in program
DBIXS.h:440: stray '\' in program
DBIXS.h:441: stray '\' in program
DBIXS.h:445: stray '\' in program
DBIXS.h:445: stray '\' in program
DBIXS.h:446: stray '\' in program
DBIXS.h:450: stray '\' in program
DBIXS.h:450: stray '\' in program
DBIXS.h:454: stray '\' in program
DBIXS.h:454: stray '\' in program
DBIXS.h:459: warning: This file contains more `}'s than `{'s.
Perl.xs:15: parse error before `*'
Perl.xs:15: warning: data definition has no type or storage class
Perl.xsi: In function `XS_DBD__Perl__dr_discon_all_':
Perl.xsi:36: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db__login':
Perl.xsi:57: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_commit':
Perl.xsi:72: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_rollback':
Perl.xsi:81: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_disconnect':
Perl.xsi:90: request for member `getcom' in something not a structure or
union
Perl.xsi:109: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__db_STORE':
Perl.xsi:118: request for member `getcom' in something not a structure
or union
Perl.xsi:123: request for member `set_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__db_FETCH':
Perl.xsi:131: request for member `getcom' in something not a structure
or union
Perl.xsi:134: request for member `get_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__db_DESTROY':
Perl.xsi:142: request for member `getcom' in something not a structure
or union
Perl.xsi:146: request for member `debug' in something not a structure or
union
Perl.xsi:147: request for member `logfp' in something not a structure or
union
Perl.xsi:158: stray '\' in program
Perl.xsi:169: request for member `debug' in something not a structure or
union
Perl.xsi:174: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st__prepare':
Perl.xsi:196: request for member `getcom' in something not a structure
or union
Perl.xsi:197: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
Perl.xsi:223: request for member `getcom' in something not a structure
or union
Perl.xsi:233: stray '\' in program
Perl.xsi:235: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.xsi:253: request for member `getcom' in something not a structure
or union
Perl.xsi:269: stray '\' in program
Perl.xsi:270: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_execute':
Perl.xsi:282: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_arrayref':
Perl.xsi:327: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_array':
Perl.xsi:340: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_finish':
Perl.xsi:357: request for member `getcom' in something not a structure
or union
Perl.xsi:358: stray '\' in program
Perl.xsi:363: `imp_dbh' undeclared (first use in this function)
Perl.xsi:363: (Each undeclared identifier is reported only once
Perl.xsi:363: for each function it appears in.)
Perl.xsi:366: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_blob_read':
Perl.xsi:386: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_STORE':
Perl.xsi:401: request for member `getcom' in something not a structure
or union
Perl.xsi:406: request for member `set_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__st_FETCH_attrib':
Perl.xsi:418: request for member `getcom' in something not a structure
or union
Perl.xsi:423: request for member `get_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__st_DESTROY':
Perl.xsi:431: request for member `getcom' in something not a structure
or union
Perl.xsi:435: request for member `debug' in something not a structure or
union
Perl.xsi:436: request for member `logfp' in something not a structure or
union
Perl.xsi:442: stray '\' in program
Perl.xsi:445: stray '\' in program
Perl.xsi:446: `imp_dbh' undeclared (first use in this function)
Perl.xsi:454: stray '\' in program
Perl.xsi: In function `boot_DBD__Perl':
Perl.xsi:15: stray '\' in program
Perl.c:699: parse error at end of input
make: *** [Perl.o] Error 1
[root DBI-1.19]# make test
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486
-fno-strength-reduce    -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fpic
-I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO_THREADS Perl.c
In file included from Perl.xs:1:
DBIXS.h:234: parse error before `U32'
DBIXS.h:234: stray '\' in program
DBIXS.h:235: stray '\' in program
DBIXS.h:262: stray '\' in program
DBIXS.h:263: stray '\' in program
DBIXS.h:264: stray '\' in program
DBIXS.h:265: stray '\' in program
DBIXS.h:266: stray '\' in program
DBIXS.h:267: stray '\' in program
DBIXS.h:268: parse error before `->'
DBIXS.h:268: stray '\' in program
DBIXS.h:271: stray '\' in program
DBIXS.h:272: stray '\' in program
DBIXS.h:273: stray '\' in program
DBIXS.h:274: stray '\' in program
DBIXS.h:275: stray '\' in program
DBIXS.h:276: stray '\' in program
DBIXS.h:277: stray '\' in program
DBIXS.h:278: parse error before `->'
DBIXS.h:278: stray '\' in program
DBIXS.h:338: stray '\' in program
DBIXS.h:339: stray '\' in program
DBIXS.h:340: stray '\' in program
DBIXS.h:383: parse error before `}'
DBIXS.h:383: warning: data definition has no type or storage class
DBIXS.h:419: parse error before `='
DBIXS.h:419: stray '\' in program
DBIXS.h:420: stray '\' in program
DBIXS.h:421: stray '\' in program
DBIXS.h:422: stray '\' in program
DBIXS.h:423: stray '\' in program
DBIXS.h:424: stray '\' in program
DBIXS.h:432: parse error before `&&'
DBIXS.h:438: stray '\' in program
DBIXS.h:439: stray '\' in program
DBIXS.h:440: stray '\' in program
DBIXS.h:441: stray '\' in program
DBIXS.h:445: stray '\' in program
DBIXS.h:445: stray '\' in program
DBIXS.h:446: stray '\' in program
DBIXS.h:450: stray '\' in program
DBIXS.h:450: stray '\' in program
DBIXS.h:454: stray '\' in program
DBIXS.h:454: stray '\' in program
DBIXS.h:459: warning: This file contains more `}'s than `{'s.
Perl.xs:15: parse error before `*'
Perl.xs:15: warning: data definition has no type or storage class
Perl.xsi: In function `XS_DBD__Perl__dr_discon_all_':
Perl.xsi:36: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db__login':
Perl.xsi:57: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_commit':
Perl.xsi:72: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_rollback':
Perl.xsi:81: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_disconnect':
Perl.xsi:90: request for member `getcom' in something not a structure or
union
Perl.xsi:109: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__db_STORE':
Perl.xsi:118: request for member `getcom' in something not a structure
or union
Perl.xsi:123: request for member `set_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__db_FETCH':
Perl.xsi:131: request for member `getcom' in something not a structure
or union
Perl.xsi:134: request for member `get_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__db_DESTROY':
Perl.xsi:142: request for member `getcom' in something not a structure
or union
Perl.xsi:146: request for member `debug' in something not a structure or
union
Perl.xsi:147: request for member `logfp' in something not a structure or
union
Perl.xsi:158: stray '\' in program
Perl.xsi:169: request for member `debug' in something not a structure or
union
Perl.xsi:174: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st__prepare':
Perl.xsi:196: request for member `getcom' in something not a structure
or union
Perl.xsi:197: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
Perl.xsi:223: request for member `getcom' in something not a structure
or union
Perl.xsi:233: stray '\' in program
Perl.xsi:235: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.xsi:253: request for member `getcom' in something not a structure
or union
Perl.xsi:269: stray '\' in program
Perl.xsi:270: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_execute':
Perl.xsi:282: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_arrayref':
Perl.xsi:327: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_array':
Perl.xsi:340: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_finish':
Perl.xsi:357: request for member `getcom' in something not a structure
or union
Perl.xsi:358: stray '\' in program
Perl.xsi:363: `imp_dbh' undeclared (first use in this function)
Perl.xsi:363: (Each undeclared identifier is reported only once
Perl.xsi:363: for each function it appears in.)
Perl.xsi:366: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_blob_read':
Perl.xsi:386: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_STORE':
Perl.xsi:401: request for member `getcom' in something not a structure
or union
Perl.xsi:406: request for member `set_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__st_FETCH_attrib':
Perl.xsi:418: request for member `getcom' in something not a structure
or union
Perl.xsi:423: request for member `get_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__st_DESTROY':
Perl.xsi:431: request for member `getcom' in something not a structure
or union
Perl.xsi:435: request for member `debug' in something not a structure or
union
Perl.xsi:436: request for member `logfp' in something not a structure or
union
Perl.xsi:442: stray '\' in program
Perl.xsi:445: stray '\' in program
Perl.xsi:446: `imp_dbh' undeclared (first use in this function)
Perl.xsi:454: stray '\' in program
Perl.xsi: In function `boot_DBD__Perl':
Perl.xsi:15: stray '\' in program
Perl.c:699: parse error at end of input
make: *** [Perl.o] Error 1
[root DBI-1.19]# make test TEST_VERBOSE=1
cc -c  -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -m486
-fno-strength-reduce    -DVERSION=\"1.19\" -DXS_VERSION=\"1.19\" -fpic
-I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO_THREADS Perl.c
In file included from Perl.xs:1:
DBIXS.h:234: parse error before `U32'
DBIXS.h:234: stray '\' in program
DBIXS.h:235: stray '\' in program
DBIXS.h:262: stray '\' in program
DBIXS.h:263: stray '\' in program
DBIXS.h:264: stray '\' in program
DBIXS.h:265: stray '\' in program
DBIXS.h:266: stray '\' in program
DBIXS.h:267: stray '\' in program
DBIXS.h:268: parse error before `->'
DBIXS.h:268: stray '\' in program
DBIXS.h:271: stray '\' in program
DBIXS.h:272: stray '\' in program
DBIXS.h:273: stray '\' in program
DBIXS.h:274: stray '\' in program
DBIXS.h:275: stray '\' in program
DBIXS.h:276: stray '\' in program
DBIXS.h:277: stray '\' in program
DBIXS.h:278: parse error before `->'
DBIXS.h:278: stray '\' in program
DBIXS.h:338: stray '\' in program
DBIXS.h:339: stray '\' in program
DBIXS.h:340: stray '\' in program
DBIXS.h:383: parse error before `}'
DBIXS.h:383: warning: data definition has no type or storage class
DBIXS.h:419: parse error before `='
DBIXS.h:419: stray '\' in program
DBIXS.h:420: stray '\' in program
DBIXS.h:421: stray '\' in program
DBIXS.h:422: stray '\' in program
DBIXS.h:423: stray '\' in program
DBIXS.h:424: stray '\' in program
DBIXS.h:432: parse error before `&&'
DBIXS.h:438: stray '\' in program
DBIXS.h:439: stray '\' in program
DBIXS.h:440: stray '\' in program
DBIXS.h:441: stray '\' in program
DBIXS.h:445: stray '\' in program
DBIXS.h:445: stray '\' in program
DBIXS.h:446: stray '\' in program
DBIXS.h:450: stray '\' in program
DBIXS.h:450: stray '\' in program
DBIXS.h:454: stray '\' in program
DBIXS.h:454: stray '\' in program
DBIXS.h:459: warning: This file contains more `}'s than `{'s.
Perl.xs:15: parse error before `*'
Perl.xs:15: warning: data definition has no type or storage class
Perl.xsi: In function `XS_DBD__Perl__dr_discon_all_':
Perl.xsi:36: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db__login':
Perl.xsi:57: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_commit':
Perl.xsi:72: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_rollback':
Perl.xsi:81: request for member `getcom' in something not a structure or
union
Perl.xsi: In function `XS_DBD__Perl__db_disconnect':
Perl.xsi:90: request for member `getcom' in something not a structure or
union
Perl.xsi:109: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__db_STORE':
Perl.xsi:118: request for member `getcom' in something not a structure
or union
Perl.xsi:123: request for member `set_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__db_FETCH':
Perl.xsi:131: request for member `getcom' in something not a structure
or union
Perl.xsi:134: request for member `get_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__db_DESTROY':
Perl.xsi:142: request for member `getcom' in something not a structure
or union
Perl.xsi:146: request for member `debug' in something not a structure or
union
Perl.xsi:147: request for member `logfp' in something not a structure or
union
Perl.xsi:158: stray '\' in program
Perl.xsi:169: request for member `debug' in something not a structure or
union
Perl.xsi:174: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st__prepare':
Perl.xsi:196: request for member `getcom' in something not a structure
or union
Perl.xsi:197: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
Perl.xsi:223: request for member `getcom' in something not a structure
or union
Perl.xsi:233: stray '\' in program
Perl.xsi:235: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
Perl.xsi:253: request for member `getcom' in something not a structure
or union
Perl.xsi:269: stray '\' in program
Perl.xsi:270: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_execute':
Perl.xsi:282: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_arrayref':
Perl.xsi:327: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_fetchrow_array':
Perl.xsi:340: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_finish':
Perl.xsi:357: request for member `getcom' in something not a structure
or union
Perl.xsi:358: stray '\' in program
Perl.xsi:363: `imp_dbh' undeclared (first use in this function)
Perl.xsi:363: (Each undeclared identifier is reported only once
Perl.xsi:363: for each function it appears in.)
Perl.xsi:366: stray '\' in program
Perl.xsi: In function `XS_DBD__Perl__st_blob_read':
Perl.xsi:386: request for member `getcom' in something not a structure
or union
Perl.xsi: In function `XS_DBD__Perl__st_STORE':
Perl.xsi:401: request for member `getcom' in something not a structure
or union
Perl.xsi:406: request for member `set_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__st_FETCH_attrib':
Perl.xsi:418: request for member `getcom' in something not a structure
or union
Perl.xsi:423: request for member `get_attr_k' in something not a
structure or union
Perl.xsi: In function `XS_DBD__Perl__st_DESTROY':
Perl.xsi:431: request for member `getcom' in something not a structure
or union
Perl.xsi:435: request for member `debug' in something not a structure or
union
Perl.xsi:436: request for member `logfp' in something not a structure or
union
Perl.xsi:442: stray '\' in program
Perl.xsi:445: stray '\' in program
Perl.xsi:446: `imp_dbh' undeclared (first use in this function)
Perl.xsi:454: stray '\' in program
Perl.xsi: In function `boot_DBD__Perl':
Perl.xsi:15: stray '\' in program
Perl.c:699: parse error at end of input
make: *** [Perl.o] Error 1

Output of perl -V

perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=linux, osvers=2.2.5-22smp, archname=i386-linux
    uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O2 -m486 -fno-strength-reduce',
gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Aug  7 2000 15:23:46
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005

Thank you in advance for your help.

Justin Burleson



Reply via email to