On Fri, 7 Aug 2009, Tim Jenness wrote:
> http://starlink.jach.hawaii.edu/starlink/NanahopeErrata
>
> Has the updated profile.
But not the fix for AUTOASTROM. I've pushed a change to the repository
that also fixes that.
Peter.
> Tim
>
> On Fri, Aug 7, 2009 at 1:17 AM, Roderick Johnstone <[log in to unmask]>
> wrote:
> Roderick Johnstone wrote:
> Tim Jenness wrote:
>
>
> ./Perl/lib/perl5/5.10.0/i686-linux/File/Spec.pm
>
> ./Perl/lib/perl5/5.10.0/i686-linux/Data/Dumper.pm
>
> Is this because this is a x86-64 system,
> not i686?
>
>
> This is nothing short of bizarre.
>
> If I look in our /star-nanahope trees I don't
> see what you see. On 32-bit:
>
> >find /star-nanahope/Perl/lib -name "Spec.pm"
> /star-nanahope/Perl/lib/perl5/5.10.0/File/Spec.pm
>
> 64-bit:
>
> >find /star-nanahope/Perl/lib -name "Spec.pm"
> /star-nanahope/Perl/lib/perl5/5.10.0/File/Spec.pm
>
> and for Data/Dumper:
>
> 32-bit:
> /star-nanahope/Perl/lib/perl5/5.10.0/i686-linux/Data/Dumper.pm
> 64-bit:
> /star-nanahope/Perl/lib/perl5/5.10.0/x86_64-linux/Data/Dumper.pm
>
> which is closer (but suggests you have a
> 32-bit version hidden somewhere).
>
> so what does
>
> /star-nanahope/Perl/bin/perl -V
>
> give?
>
> What does
> % file /star-nanahope/Perl/bin/perl
>
> say?
>
> I get:
>
> /star-nanahope/Perl/bin/perl: ELF 32-bit LSB
> executable, Intel 80386,
> /star-nanahope/Perl/bin/perl: ELF 64-bit LSB
> executable
>
> What does $PERL5LIB get set to?
>
> Tim
>
>
> Tim
>
> I think there were some spurious confusions in previous
> dialogue on this problem as mentioned by Jeremy.
>
> To get the autoastrom command to be recognised I had to
> change etc/profile from:
>
> autoastrom () { ${exec_prefix}/Perl/bin/perl
> $AUTOASTROM_DIR/autoastrom; }
>
> to:
> autoastrom () { ${STARLINK_DIR}/Perl/bin/perl
> $AUTOASTROM_DIR/autoastrom; }
>
>
> That is similar to my figaro problem, this time with
> exec_prefix not being exported, I think.
>
> Then if I try to execute autoastrom by hand I get:
> linux> autoastrom
> Segmentation fault
>
> dmesg shows:
> perl[29576] general protection ip:3288017b08
> sp:3c70629863aac44e error:0 in ld-2.9.so[3288000000+20000]
>
> It fails in gaia as well, but the error is harder to see.
>
> This is Fedora 10 x86_64 again.
>
> Hope you can shed some light. Thanks.
>
> Roderick
>
> ok so Jeremy found that we have PERL5LIB changed by HEASoft.
>
> echo $PERL5LIB
> /data/soft3/heasoft/heasoft-6.6.2/x86_64-unknown-linux-gnu-libc2.9/lib/perl
> :/data/soft3/starlink/star-nanahope/Perl/lib/perl5/:/data/soft3/starlink/st
> ar-nanahope/Perl/lib/perl5/site_perl
>
> If I remove the first element of PERL5LIB then autoastrom works fine.
>
> Still need to get the problem with exec_prefix fixed though.
>
> Roderick
>
>
>
>
--
Peter W. Draper, http://astro.dur.ac.uk/~pdraper
|