Irix 6.5, freeware perl 5.6.1 and DBI/DBD help!
Hi,
I'm running a very old server that has Irix 6.5, the freeware gcc
(2.95.2), freeware perl (5.6.1), and I'm trying to get the DBD and DBI
perl modules compiled and installed. So far no luck.
On running "gmake" (also tried make) in the source dir, it errors out
as so:
cc -mips3 -IPA -c -D_BSD_TYPES -D_BSD_TIME -woff
1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON
-I/usr/freeware/include -I/usr/include -O3 -DVERSION=\"1.39\"
-DXS_VERSION=\"1.39\" -I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE
-DDBI_NO_THREADS Perl.c
cc: 1009,1110,1174,1184,1552: No such file or directory
cc: unrecognized option `-woff'
cc1: Invalid option `-OPT:Olimit=0:space=ON'
In file included from /usr/include/sys/select.h:80,
from /usr/include/sys/bsd_types.h:44,
from /usr/include/sys/types.h:372,
from
/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE/perl.h:426,
from DBIXS.h:19,
from Perl.xs:1:
/usr/include/string.h:67: warning: conflicting types for built-in
function `memcpy'
/usr/include/string.h:74: warning: conflicting types for built-in
function `memcmp'
/usr/include/string.h:95: warning: conflicting types for built-in
function `memset'
/usr/include/string.h:97: warning: conflicting types for built-in
function `strlen'
gmake: *** [Perl.o] Error 1
[iris:local/src/DBI-1.39] root#
Any ideas? I've been digging around the mail archives and old usenet
postings, but I'm not finding anything similar.
Thanks,
Charles
Re: Irix 6.5, freeware perl 5.6.1 and DBI/DBD help!
CS <google@fasttrackmonkey.com> wrote:[color=blue]
> Hi,
>
> I'm running a very old server that has Irix 6.5, the freeware gcc
> (2.95.2), freeware perl (5.6.1), and I'm trying to get the DBD and DBI
> perl modules compiled and installed. So far no luck.
>
> On running "gmake" (also tried make) in the source dir, it errors out
> as so:
>
> cc -mips3 -IPA -c -D_BSD_TYPES -D_BSD_TIME -woff
> 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON
> -I/usr/freeware/include -I/usr/include -O3 -DVERSION=\"1.39\"
> -DXS_VERSION=\"1.39\" -I/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE
> -DDBI_NO_THREADS Perl.c
> cc: 1009,1110,1174,1184,1552: No such file or directory
> cc: unrecognized option `-woff'
> cc1: Invalid option `-OPT:Olimit=0:space=ON'[/color]
the perl binary was compiled with mipspro and as such it internally
expects that compiler to exist when compiling modules. (simplistic
explanation).
compile perl with gcc and then go back to work on DBI.
yes there are other ways around this but this is the straightforward
and simple one.
Re: Irix 6.5, freeware perl 5.6.1 and DBI/DBD help!
In article <4ef2e80e.0401022156.7f56f03c@posting.google.com>,
CS <google@fasttrackmonkey.com> wrote:
:I'm running a very old server that has Irix 6.5, the freeware gcc
:(2.95.2), freeware perl (5.6.1), and I'm trying to get the DBD and DBI
:perl modules compiled and installed. So far no luck.
It's hard to do even if you have SGI's C and C++ compilers.
There is something in one of the system include files (the "wait
status" type) that exists in two forms in SGI's include files,
and perl doesn't know to conditionally compile the correct version
when perl is generating its version of the header files. The
problem usually shows up in some of the test suites, -especially-
for the DBI module. Can't build without hacking something :(
--
Inevitably, someone will flame me about this .signature.