Problem of installing DBI packages
am 17.02.2007 13:25:25 von AnupamHi,
my curent configuration of HP Unix system is as below:
gcc version-411
hp unix version 11
perl version 580
When i do >>perl makefilePL, i don't get any error
bplita3 /tmp/dowload=5Ffor=5Fcomverse/DBI-113 >> perl MakefilePL
*** 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://wwwperlcom/CPAN/modules/by-module
http://wwwperlorg/CPAN/modules/by-module
ftp://ftpfunetfi/pub/languages/perl/CPAN/modules/by-mo dule
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
=20
But when i do make i get the following error
bplita3 /tmp/dowload=5Ffor=5Fcomverse/DBI-113 >> make
cp DBIpm blib/lib/DBIpm
cp DBIXSh blib/arch/auto/DBI/DBIXSh
cp dbd=5Fxshh blib/arch/auto/DBI/dbd=5Fxshh
cp lib/DBI/FAQpm blib/lib/DBI/FAQpm
cp lib/DBD/Proxypm blib/lib/DBD/Proxypm
cp lib/DBD/ADOpm blib/lib/DBD/ADOpm
cp lib/DBI/Shellpm blib/lib/DBI/Shellpm
cp lib/Bundle/DBIpm blib/lib/Bundle/DBIpm
cp lib/DBD/Spongepm blib/lib/DBD/Spongepm
cp lib/DBI/W32ODBCpm blib/lib/DBI/W32ODBCpm
cp lib/DBD/NullPpm blib/lib/DBD/NullPpm
cp lib/DBI/Formatpm blib/lib/DBI/Formatpm
cp Driverxst blib/arch/auto/DBI/Driverxst
cp lib/DBI/ProxyServerpm blib/lib/DBI/ProxyServerpm
cp lib/DBI/DBDpm blib/lib/DBI/DBDpm
cp lib/Win32/DBIODBCpm blib/lib/Win32/DBIODBCpm
cp lib/DBD/ExamplePpm blib/lib/DBD/ExamplePpm
cp dbi=5Fsqlh blib/arch/auto/DBI/dbi=5Fsqlh
/opt/perl/bin/perl -p -e "s/~DRIVER~/Perl/g" <
blib/arch/auto/DBI/Driverxst > Perlxsi
/opt/perl/bin/perl /opt/perl/lib/580/ExtUtils/xsubpp -typem=
ap
/opt/perl/lib/580/ExtUtils/typemap Perlxs > Perlxsc && mv Per=
lxsc
Perlc
gcc -c -D=5FPOSIX=5FC=5FSOURCE=3D199506L -D=5FREENTRANT -D=5FHP=
UX=5FSOURCE
-fPIC -fno-strict-aliasing -D=5FLARGEFILE=5FSOURCE -D=5FFILE=5FOFFSET=5FBI=
TS=3D64 =20
-DVERSION=3D\"113\" -DXS=5FVERSION=3D\"113\" -fPIC
"-I/opt/perl/lib/580/IA64ARCHREV=5F0-thread-multi/C ORE" -Wall
-Wno-comment Perlc
In file included from
/opt/perl/lib/580/IA64ARCHREV=5F0-thread-multi/CORE /perlh:681,=
from DBIXSh:19,
from Perlxs:1:
/usr/include/sys/socketh:535: error: static declaration of 'sendfile'
follows non-static declaration
/usr/include/sys/socketh:506: error: previous declaration of 'sendfile'=
was here
/usr/include/sys/socketh:536: error: static declaration of 'sendpath'
follows non-static declaration
/usr/include/sys/socketh:508: error: previous declaration of 'sendpath'=
was here
In file included from Perlxs:1:
DBIXSh:403:1: warning: "DBIS" redefined
DBIXSh:13:1: warning: this is the location of the previous definition
*** Error exit code 1
Stop
=20
Iam unable to solve this problemPlease 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=20
Plot No 66,Street No 13
MIDC,Andheri(East)
Mumbai 400093
India
Phone:022-28254266
Mobile:9892233493
------------------------------------------------------------ --------
mail2web LIVE =96 Free email based on Microsoft=AE Exchange technology -
http://linkmail2webcom/LIVE