The OS is: Red Hat Linux release 6.0 (Hedwig) Kernel 2.2.12-20ensim on an i686
Thanks again for the help. -----Original Message----- From: Taylor Lewick [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 1:03 AM To: [EMAIL PROTECTED] Subject: Re: DBI install problems ... What OS are you compiling under? I would strongly reccomend upgrading to perl 5.6.1 or higher... Build dynamically... Taylor Lewick Unix System Administrator Fortis Benefits 816 881 6073 "Help Wanted. Seeking Telepath..." "You Know where to apply." >>> "Roy Rubin" <[EMAIL PROTECTED]> 02/01/02 01:19AM >>> Hello, I am attempting to install DBI and have ran into the some problems. I have included logs of all the four steps and the perl -v output. *Your help is appreciated.* <snip perl Makefile.pl> [teamone@ns1 DBI-1.201]$ make realclean rm -f blib/script/dbiproxy blib/script/dbish rm -rf DBI.c Perl.c DBI-1.201 Perl.xsi dbish dbiproxy ndtest.prt ./blib Makefil ...aperl blib/arch/auto/DBI/extralibs.all perlmain.c mon.out core so_locations pm to_blib *~ */*~ */*/*~ *.o *.a perl.exe DBI.bs DBI.bso DBI.def DBI.exp mv Makefile Makefile.old > /dev/null 2>&1 rm -rf blib/lib/auto/DBI blib/arch/auto/DBI rm -f blib/arch/auto/DBI/DBI.so blib/arch/auto/DBI/DBI.bs rm -f blib/arch/auto/DBI/DBI.a rm -f blib/lib/DBI/W32ODBC.pm blib/lib/DBD/ExampleP.pm blib/lib/DBI/Shell.pm bl b/lib/DBI/FAQ.pm blib/lib/DBI/ProxyServer.pm blib/lib/Bundle/DBI.pm blib/lib/DB /Proxy.pm blib/arch/auto/DBI/DBIXS.h blib/arch/auto/DBI/dbd_xsh.h blib/arch/aut /DBI/dbi_sql.h blib/lib/DBD/NullP.pm blib/lib/DBD/Sponge.pm blib/lib/DBI/Format pm blib/arch/auto/DBI/Driver.xst blib/lib/DBI/DBD.pm blib/lib/DBI.pm blib/lib/W n32/DBIODBC.pm blib/arch/auto/DBI/dbipport.h rm -rf Makefile Makefile.old [teamone@ns1 DBI-1.201]$ 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 Checking if your kit is complete... Looks good 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. </snip perl Makefile.pl> <snip make> [teamone@ns1 DBI-1.201]$ make mkdir blib mkdir blib/lib mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/DBI mkdir blib/lib/auto mkdir blib/lib/auto/DBI mkdir blib/man1 mkdir blib/man3 cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBI/Format.pm blib/lib/DBI/Format.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp DBI.pm blib/lib/DBI.pm /usr/local/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst > Perl.xsi /usr/local/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.0 050 /usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.00503/ExtUti s/typemap Perl.xs >xstmp.c && mv xstmp.c Perl.c cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"1.201\ " - XS_VERSION=\"1.201\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO _TH EADS Perl.c /usr/local/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.0 050 /usr/lib/perl5/5.00503/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.00503/ExtUti s/typemap DBI.xs >xstmp.c && mv xstmp.c DBI.c cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"1.201\ " - XS_VERSION=\"1.201\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO _TH EADS DBI.c DBI.xs:104: parse error before `->' DBI.xs:104: stray '\' in program DBI.xs:105: parse error before `(' DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously declared here DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `lna' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `lna' undeclared here (not in a function) DBI.xs:105: `__s2' undeclared here (not in a function) DBI.xs:105: initializer element is not constant DBI.xs:105: parse error before `if' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: redefinition of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: `__s1' undeclared here (not in a function) DBI.xs:105: initializer element is not constant DBI.xs:105: parse error before `if' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: stray '\' in program DBI.xs:106: stray '\' in program DBI.xs:107: stray '\' in program DBI.xs:108: stray '\' in program DBI.xs: In function `set_trace': DBI.xs:485: `dbi_build_opt' undeclared (first use in this function) DBI.xs:485: (Each undeclared identifier is reported only once DBI.xs:485: for each function it appears in.) DBI.xs: In function `XS_DBI_trace': DBI.xs:2740: `dbi_build_opt' undeclared (first use in this function) DBI.xs: In function `XS_DBI__var_FETCH': DBI.xs:2836: stray '\' in program DBI.xs:2836: parse error before `;' DBI.xs: In function `XS_DBD_____common_state': DBI.xs:3157: stray '\' in program DBI.xs:3157: parse error before `;' make: *** [DBI.o] Error 1 </snip make> <snip make test> [teamone@ns1 DBI-1.201]$ make test cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"1.201\ " - XS_VERSION=\"1.201\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO _TH EADS DBI.c DBI.xs:104: parse error before `->' DBI.xs:104: stray '\' in program DBI.xs:105: parse error before `(' DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously declared here DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `lna' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `lna' undeclared here (not in a function) DBI.xs:105: `__s2' undeclared here (not in a function) DBI.xs:105: initializer element is not constant DBI.xs:105: parse error before `if' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: redefinition of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: `__s1' undeclared here (not in a function) DBI.xs:105: initializer element is not constant DBI.xs:105: parse error before `if' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: stray '\' in program DBI.xs:106: stray '\' in program DBI.xs:107: stray '\' in program DBI.xs:108: stray '\' in program DBI.xs: In function `set_trace': DBI.xs:485: `dbi_build_opt' undeclared (first use in this function) DBI.xs:485: (Each undeclared identifier is reported only once DBI.xs:485: for each function it appears in.) DBI.xs: In function `XS_DBI_trace': DBI.xs:2740: `dbi_build_opt' undeclared (first use in this function) DBI.xs: In function `XS_DBI__var_FETCH': DBI.xs:2836: stray '\' in program DBI.xs:2836: parse error before `;' DBI.xs: In function `XS_DBD_____common_state': DBI.xs:3157: stray '\' in program DBI.xs:3157: parse error before `;' make: *** [DBI.o] Error 1 </snip make test> <snip make test TEST_VERBOSE=1> [teamone@ns1 DBI-1.201]$ make test TEST_VERBOSE=1 cc -c -Dbool=char -DHAS_BOOL -I/usr/local/include -O2 -DVERSION=\"1.201\ XS_VERSION=\"1.201\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE -DDBI_NO EADS DBI.c DBI.xs:104: parse error before `->' DBI.xs:104: stray '\' in program DBI.xs:105: parse error before `(' DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously declared here DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `lna' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `state' undeclared here (not in a function) DBI.xs:105: `lna' undeclared here (not in a function) DBI.xs:105: `__s2' undeclared here (not in a function) DBI.xs:105: initializer element is not constant DBI.xs:105: parse error before `if' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: redefinition of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: `__s1' undeclared here (not in a function) DBI.xs:105: initializer element is not constant DBI.xs:105: parse error before `if' DBI.xs:105: conflicting declarations of `__result' DBI.xs:105: `__result' previously defined here DBI.xs:105: warning: data definition has no type or storage class DBI.xs:105: parse error before `}' DBI.xs:105: stray '\' in program DBI.xs:106: stray '\' in program DBI.xs:107: stray '\' in program DBI.xs:108: stray '\' in program DBI.xs: In function `set_trace': DBI.xs:485: `dbi_build_opt' undeclared (first use in this function) DBI.xs:485: (Each undeclared identifier is reported only once DBI.xs:485: for each function it appears in.) DBI.xs: In function `XS_DBI_trace': DBI.xs:2740: `dbi_build_opt' undeclared (first use in this function) DBI.xs: In function `XS_DBI__var_FETCH': DBI.xs:2836: stray '\' in program DBI.xs:2836: parse error before `;' DBI.xs: In function `XS_DBD_____common_state': DBI.xs:3157: stray '\' in program DBI.xs:3157: parse error before `;' make: *** [DBI.o] Error 1 </snip make test TEST_VERBOSE=1> <snip perl -V> [teamone@ns1 DBI-1.201]$ perl -V Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Platform: osname=linux, osvers=2.2.1-ac1, archname=i386-linux uname='linux porky.devel.redhat.com 2.2.1-ac1 #1 smp mon feb 1 17:44:44 est 1999 i686 unknown ' hint=recommended, useposix=true, d_sigaction=define usethreads=undef useperlio=undef d_sfio=undef Compiler: cc='cc', optimize='-O2', 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 -lndbm -lgdbm -ldb -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 Apr 6 1999 23:34:07 @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 </snip perl -V> thanks. Roy Rubin [EMAIL PROTECTED] Please Note The information in this E-mail message is legally privileged and confidential information intended only for the use of the individual(s) named above. If you, the reader of this message, are not the intended recipient, you are hereby notified that you should not further disseminate, distribute, or forward this E-mail message. If you have received this E-mail in error, please notify the sender. Thank you
