Please use the mailing lists for support. Are you sure the compiler you have is the one used to build Perl?
---------- Forwarded message ---------- From: tedabc <[EMAIL PROTECTED]> Date: Oct 30, 2007 5:12 AM Subject: DBI install error,can you help me? To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Hello Jonathan Leffler I try to install the DBI package but it failed. Can you please help? thanks. My os is HP-UX 11.23,perl version 5.8.8. ----------------------------------- 1、perl Makefile.PL Set up gcc environment - 4.2.1 *** You are using a perl configured with threading enabled. *** You should be aware that using multiple threads is *** not recommended for production environments. *** 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://search.cpan.org/ 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 Your perl was compiled with gcc (version 4.2.1), okay. Creating test wrappers for DBI::PurePerl: t/zvp_01basics.t ... t/zvxgp_87gofer_cache.t Warning: By default new modules are installed into your 'site_lib' directories. Since site_lib directories come after the normal library directories you must delete old DBI files and directories from your 'privlib' and 'archlib' directories and their auto subdirectories. Reinstall DBI and your DBD::* drivers after deleting the old directories. Here's a list of probable old files and directories: /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/DBD I see you're using perl 5.008008 on PA-RISC1.1-thread-multi, okay. 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. Writing Makefile for DBI 2、make gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -D USE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno -strict-aliasing -pipe -DVERSION=\"1.601\" -DXS_VERSION=\"1.601\" -fPIC "-I /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" -W -Wall -Wpointer-arith - Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noret urn -Wno-unused-parameter Perl.c In file included from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/iperls ys.h:51, from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perl.h :2733, from DBIXS.h:19, from Perl.xs:6: /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perlio.h:229: error: expecte d declaration specifiers or '...' before '*' token /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perlio.h:232: warning: type defaults to 'int' in declaration of 'PerlIO_open' /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perlio.h:236: error: expecte d declaration specifiers or '...' before '*' token ... ... In file included from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perl.h :2747, from DBIXS.h:19, from Perl.xs:6: /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/sv.h:377: error: expected sp ecifier-qualifier-list before '*' token In file included from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perl.h :3884, from DBIXS.h:19, from Perl.xs:6: /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/intrpvar.h:204: error: expec ted specifier-qualifier-list before '*' token In file included from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perl.h :3951, from DBIXS.h:19, from Perl.xs:6: /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:201: error: expected declaration specifiers or '...' before '*' token /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:265: error: expected declaration specifiers or '...' before '*' token ... ... multi/CORE/proto.h:2018: warning: data definition has no type or storage class /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:2018: warning: type defaults to 'int' in declaration of 'Perl_PerlIO_stdin' /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:2021: warning: data definition has no type or storage class /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:2021: warning: type defaults to 'int' in declaration of 'Perl_PerlIO_stdout' /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:2024: warning: data definition has no type or storage class /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:2024: warning: type defaults to 'int' in declaration of 'Perl_PerlIO_stderr' /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/proto.h:2046: error: expecte d declaration specifiers or '...' before '*' token In file included from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/perlap i.h:38, from /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/XSUB.h :349, from DBIXS.h:20, from Perl.xs:6: /opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE/intrpvar.h:204: warning: typ e defaults to 'int' in declaration of 'Perl_Irsfp_ptr' In file included from Perl.xs:6: DBIXS.h:405: error: expected specifier-qualifier-list before '*' token In file included from Perl.c:62: Driver_xst.h: In function 'dbixst_bounce_method': Driver_xst.h:26: error: 'dbistate_t' has no member named 'getcom' Driver_xst.h:28: error: 'dbistate_t' has no member named 'logfp' Driver_xst.h:44: error: 'dbistate_t' has no member named 'logfp' Driver_xst.h:45: error: 'dbistate_t' has no member named 'neat_svpv' Driver_xst.h: In function 'dbdxst_fetchall_arrayref': Driver_xst.h:87: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__dr_discon_all_': Perl.xsi:42: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__dr_data_sources': Perl.xsi:57: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db__login': Perl.xsi:88: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_selectall_arrayref': Perl.xsi:130: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_selectrow_arrayref': Perl.xsi:170: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_do': Perl.xsi:218: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_last_insert_id': Perl.xsi:245: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_commit': Perl.xsi:256: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_rollback': Perl.xsi:266: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_disconnect': Perl.xsi:276: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__db_STORE': Perl.xsi:299: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:304: error: 'dbistate_t' has no member named 'set_attr_k' Perl.xsi: In function 'XS_DBD__Perl__db_FETCH': Perl.xsi:313: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:316: error: 'dbistate_t' has no member named 'get_attr_k' Perl.xsi: In function 'XS_DBD__Perl__db_DESTROY': Perl.xsi:325: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:330: error: 'dbistate_t' has no member named 'logfp' Perl.xsi:338: error: 'dbistate_t' has no member named 'logfp' Perl.xsi: In function 'XS_DBD__Perl__db_take_imp_data': Perl.xsi:376: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st__prepare': Perl.xsi:426: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_bind_col': Perl.xsi:459: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:478: error: 'dbistate_t' has no member named 'bind_col' Perl.xsi: In function 'XS_DBD__Perl__st_bind_param': Perl.xsi:497: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_bind_param_inout': Perl.xsi:527: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_execute': Perl.xsi:556: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_execute_for_fetch': Perl.xsi:585: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_fetchrow_arrayref': Perl.xsi:599: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_fetchrow_array': Perl.xsi:612: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_finish': Perl.xsi:644: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_blob_read': Perl.xsi:673: error: 'dbistate_t' has no member named 'getcom' Perl.xsi: In function 'XS_DBD__Perl__st_STORE': Perl.xsi:688: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:693: error: 'dbistate_t' has no member named 'set_attr_k' Perl.xsi: In function 'XS_DBD__Perl__st_FETCH_attrib': Perl.xsi:705: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:710: error: 'dbistate_t' has no member named 'get_attr_k' Perl.xsi: In function 'XS_DBD__Perl__st_DESTROY': Perl.xsi:719: error: 'dbistate_t' has no member named 'getcom' Perl.xsi:724: error: 'dbistate_t' has no member named 'logfp' Perl.xsi:732: error: 'dbistate_t' has no member named 'logfp' *** Error exit code 1 Stop. -- Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> Guardian of DBD::Informix - v2007.0914 - http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused."
