[Bioperl-l] compilation of bioperl-ext with perl 5.004 (IRIX)

Andrea Schafferhans andrea.schafferhans@lionbioscience.com
Wed, 21 Aug 2002 11:23:56 +0200


Hi,

Has anyone else had any problems in installing the bioperl-ext module on 
an SGI / with perl 5.004? Unfortunately, I'm very bad at C, so I don't 
really understand what to do about the error message I'm getting. 
Therefore, I'd be extremely grateful for help.
What I get after doing "make" is:
         cc -32 -mips2 -c -I./libs -D_BSD_TYPES -D_BSD_TIME -Olimit 
20000 -I/usr/local/include -DLANGUAGE_C -O2     -DVERSION=\"0.1\" 
-DXS_VERSION=\"0.1\"  -I/software/pub_gen/lib/perl5/IP32-irix/5.004/CORE 
-DPOSIX -DNOERROR Align.c
cfe: Error: Align.c, line 56: 'PL_na' undefined; reoccurrences will not 
be reported.
         char *  name = (char *)(((Perl_stack_base[ax + (0)])->sv_flags 
  & 0x00040000 )  ? ((PL_na = ((XPV*)  (Perl_stack_base[ax + 
(0)])->sv_any )->xpv_cur ), ((XPV*)  (Perl_stack_base[ax + 
(0)])->sv_any)->xpv_pv ) : Perl_sv_2pv (Perl_stack_base[ax + (0)], &P
L_na)) ;

A quick search on google suggested that this may be a perl version issue 
and that I might need to replace PL_na by something else. (Unfortunately 
I don't have any control about the perl version on that machine.) But 
since I wouldn't really be understanding what I'm doing there, I'd 
appreciate if somebody who had the same problem could tell me how to get 
around it.

    Thanks a lot in advance!
(And thanks to everyone for the great, helpful, timesaving bioperl -- 
just because you said you didn't get any praise... ;-)

       Andrea


-- 

  Dr. Andrea Schafferhans    mail: Andrea.Schafferhans@lionbioscience.com
                             fon:  +49-6221-4038-410         fax: ...-201
  Scientist                  LION Bioscience
  Structural Bioinformatics  Waldhofer Str. 98, 69123 Heidelberg, Germany
------------------------------------------------------------------------
  When you see someone without a smile,
  please give him one of yours!     :-)