On 2/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, my curent configuration of HP Unix system is as below: gcc version-4.1.1 hp unix version 11 perl version 5.8.0
At a rough guess, your Perl was built with an older version of GCC than 4.1.1. You can look at the 'perl -V' output to see which version was used. Either rebuild Perl (but upgrade to 5.8.8) with your current compiler or get the version of the compiler used to build the Perl you have. Chances are it was GCC 3.x that was used; the chances are moderate that a later 3.x version of GCC will do. When i do >>perl makefile.PL, i don't get any error.
bplita3 /tmp/dowload_for_comverse/DBI-1.13 >> perl Makefile.PL *** You are using a perl with experimental threading enabled! *** You should be aware that using multiple threads is unstable *** are should NOT be done in production environments. DBI thread mutex protection is enabled *** 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. But when i do make i get the following error. bplita3 /tmp/dowload_for_comverse/DBI-1.13 >> make cp DBI.pm blib/lib/DBI.pm cp DBIXS.h blib/arch/auto/DBI/DBIXS.h cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBI/Format.pm blib/lib/DBI/Format.pm cp Driver.xst blib/arch/auto/DBI/Driver.xst cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h /opt/perl/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst > Perl.xsi /opt/perl/bin/perl /opt/perl/lib/5.8.0/ExtUtils/xsubpp -typemap /opt/perl/lib/5.8.0/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"1.13\" -DXS_VERSION=\"1.13\" -fPIC "-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE" -Wall -Wno-comment Perl.c In file included from /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h:681, from DBIXS.h:19, from Perl.xs:1: /usr/include/sys/socket.h:535: error: static declaration of 'sendfile' follows non-static declaration /usr/include/sys/socket.h:506: error: previous declaration of 'sendfile' was here /usr/include/sys/socket.h:536: error: static declaration of 'sendpath' follows non-static declaration /usr/include/sys/socket.h:508: error: previous declaration of 'sendpath' was here In file included from Perl.xs:1: DBIXS.h:403:1: warning: "DBIS" redefined DBIXS.h:13:1: warning: this is the location of the previous definition *** Error exit code 1 Stop. Iam unable to solve this problem.Please help regarding this!!!! "Happiness keeps u Sweet, Trials keep u Strong, Sorrow keeps u Human, Failure Keeps u Humble, Success keeps u Glowing, But only God Keeps u Going......" Thanx & Regards Anupam Sarkar Software Developer Baysquare Technologies Plot No. 66,Street No. 13 MIDC,Andheri(East) Mumbai 400093 India Phone:022-28254266 Mobile:9892233493
-- Jonathan Leffler <[EMAIL PROTECTED]> #include <disclaimer.h> Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org "I don't suffer from insanity - I enjoy every minute of it."
