Perl DBD

MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Perl DBD

Post by MiniMe »

I am trying to install the PERL portion of Texis but keep hitting a wall.. this is what I get.. can you recommend where to go from here.

bash-2.01# make
mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/DBD
mkdir blib/arch/auto/DBD/TEXIS
mkdir blib/lib/auto
mkdir blib/lib/auto/DBD
mkdir blib/lib/auto/DBD/TEXIS
mkdir blib/man3
cp TEXIS.pm blib/lib/DBD/TEXIS.pm
/usr/bin/perl -p -e "s/~DRIVER~/TEXIS/g" < /usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI/Driver.xst > TEXIS.xsi
/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/alpha-dec_osf -I/usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.6.0/ExtUtils/typemap TEXIS.xs > TEXIS.xsc && mv TEXIS.xsc TEXIS.c
cc -c -I/usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI -I/usr/local/morph3/api -std -fprm d -ieee -D_INTRINSICS -I/usr/local/include -DLANGUAGE_C -O4 -DVERSION=\"0.93\" -DXS_VERSION=\"0.93\" -I/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE TEXIS.c
cc: d: No such file or directory
In file included from /usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE/perl.h:1433,
from /usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI/DBIXS.h:19,
from TEXIS.h:5,
from TEXIS.xs:1:
/usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE/handy.h:82: warning: `bool' redefined
/usr/local/morph3/api/api3i.h:1035: warning: this is the location of the previous definition
cc1: Invalid option `-std'
cc1: Invalid option `-fprm'
In file included from /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/include/stdarg.h:36,
from /usr/local/lib/perl5/5.6.0/alpha-dec_osf/CORE/perl.h:435,
from /usr/local/lib/perl5/site_perl/5.6.0/alpha-dec_osf/auto/DBI/DBIXS.h:19,
from TEXIS.h:5,
from TEXIS.xs:1:
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/include/va-alpha.h:36: warning: redefinition of `va_list'
/usr/local/lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/include/va_list.h:7: warning: `va_list' previously declared here
make: *** [TEXIS.o] Error 1
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Perl DBD

Post by John »

You may want to run Makefile.PL to regenerate the makefile, as the one that is in there has the correct options for the standard DEC compiler, which apparently isn't what you are using.
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Perl DBD

Post by MiniMe »

John,

Thats exactly what I did and thats where it got me. is there anything else I should look at?

M.
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Perl DBD

Post by John »

It appears that MakeMaker doesn't know the right options, so you may want to remove the options that your compiler doesn't know, such as

-std
-fprm d
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Perl DBD

Post by MiniMe »

Hmm.. I tried to take those flags out and I get an error from Make.. have you guys installed the DBD on the alpha.. do you have a certain version of perl??
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Perl DBD

Post by John »

Yes, we have installed it on the Alpha with the DEC compiler, and Perl 5.4.4.
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Perl DBD

Post by MiniMe »

I think the key is in how the perl was compiled.. Can I get you to send me the output from 'perl -V'.
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Perl DBD

Post by John »

The relevant bit for that version of Perl I think is:

bincompat3=n
John Turnbull
Thunderstone Software
MiniMe
Posts: 210
Joined: Thu Mar 15, 2001 4:30 pm

Perl DBD

Post by MiniMe »

actually bincompat3 was removed in 5.005. I have 5.006 here right now.
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Perl DBD

Post by John »

Chances are it won't work with that version, as the Perl people kept changing the names of things, and we haven't completed making the code version independent yet.
John Turnbull
Thunderstone Software
Post Reply