Operating System - HP-UX
1760558 Members
2709 Online
108894 Solutions
New Discussion юеВ

Re: apache, mysql, perl, dbi

 
Konrad
Occasional Contributor

apache, mysql, perl, dbi

Hello,

I want to install perl, mysql, apache and interface to mysql in perl (DBI, DBD::Mysql) but i still have some errors with compiling DBI.

Has anobody done it and all works fine? If yes, please sent me swlist output and mayby some tips - and will be my guru :)

I've got hp-ux11

thanx, Konrad
2 REPLIES 2
Shannon Petry
Honored Contributor

Re: apache, mysql, perl, dbi

Make sure of a few things...
Use perl5.6, pre-compiled and ready from the porting center!

Next, I use CPAN to make all :)

I.E.
/opt/perl5.6/bin/perl -MCPAN -e shell
CPAN> install Bundle::DBI

CPAN> install Bundle::Mysql

You will see it build and compile and test....and install.

I was leary of using CPAN at first, but have not had any problems...I have not had failures, and if so, the errors are pretty explicit on how to fix them...

Regards,
Shannon
Microsoft. When do you want a virus today?
Konrad
Occasional Contributor

Re: apache, mysql, perl, dbi

So mayby anybody know what's going on with this:

/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: this is the location of the previous definition
DBI.xs: In function `dbih_make_com':
DBI.xs:696: parse error before `l'
DBI.xs: In function `dbih_clearcom':
DBI.xs:851: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:988: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1080: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1498: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:1928: warning: unused variable `Perl___notused'

Stop.


I've got this error with DBI compilation with gcc.


Rgds, KOnrad

PS All log included