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

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

--------------------------------------------------------------------
mail2web LIVE – Free email based on Microsoft® Exchange technology -
http://link.mail2web.com/LIVE


Reply via email to