Print

Print


Where and how do you relink the NDF module?
________________________________________
From: Starlink development [[log in to unmask]] on behalf of Tim Jenness [[log in to unmask]]
Sent: Wednesday, April 25, 2012 4:01 PM
To: [log in to unmask]
Subject: Re: perl-Starlink-AST and perl-JCMT-Tau modules

NDF module needs relinking because the AST library changed the number
of libraries it had.

On Wed, Apr 25, 2012 at 11:58 AM, Oba, Josh <[log in to unmask]> wrote:
> The tests fails afterwards and I dont think this was the case in my earlier installations. For example I get:
>
> Test Summary Report
> -------------------
> t/wvm.t         (Wstat: 65280 Tests: 1 Failed: 0)
>  Non-zero exit status: 255
>  Parse errors: Bad plan.  You planned 6 tests but ran 1.
> Files=8, Tests=35,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.19 cusr  0.04 csys =  0.26 CPU)
> Result: FAIL
> Failed 1/8 test programs. 0/35 subtests failed.
>
> This may not be relevant to oracdr but I get the following error message to oracdr -man:
>
> Can't load '/usr/local/star/Perl/lib/perl5/site_perl/5.14.2/x86_64-linux/auto/NDF/NDF.so' for module NDF: libast_wcslib.so.0: cannot open shared object file: No such file or directory at /usr/local/star/Perl/lib/perl5//5.14.2/x86_64-linux/DynaLoader.pm line 190.
>  at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Constants.pm line 23
> Compilation failed in require at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Constants.pm line 23.
> BEGIN failed--compilation aborted at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Constants.pm line 23.
> Compilation failed in require at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Print.pm line 85.
> BEGIN failed--compilation aborted at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Print.pm line 85.
> Compilation failed in require at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Basic.pm line 31.
> BEGIN failed--compilation aborted at /home/oba/UoL/JAC/oracdr/src/lib/perl5//ORAC/Basic.pm line 31.
> Compilation failed in require at /home/oba/UoL/JAC/oracdr/src/bin/oracdr line 52.
> BEGIN failed--compilation aborted at /home/oba/UoL/JAC/oracdr/src/bin/oracdr line 52.
>
> ________________________________________
> From: Starlink development [[log in to unmask]] on behalf of Tim Jenness [[log in to unmask]]
> Sent: Wednesday, April 25, 2012 3:44 PM
> To: [log in to unmask]
> Subject: Re: perl-Starlink-AST and perl-JCMT-Tau modules
>
> On Wed, Apr 25, 2012 at 11:41 AM, Oba, Josh <[log in to unmask]> wrote:
>> Although Starlink is successfully installed, I am having trouble setting up oracdr pipeline:
>>
>> I tried to build the perl-Starlink AST and perl-JCMT-Tau modules. Both failed:
>>
>> perl Build.PL in perl-Starlink-AST gave the follwoing output:
>> Overriding local Starlink configuration using $STARCONF_DEFAULT_STARLINK
>> WARNING: the following files are missing in your kit:
>>        META.yml
>> Please inform the author.
>>
>> Ignoring that and continuing resulted in:
>>
>> t/plot00_pgplot.t ... skipped: PGPLOT module not installed.
>> t/plot00_plplot.t ... skipped: Graphics::PLplot module not installed.
>> t/plot00_tk.t ....... skipped: Tk modules not installed
>> t/plot00_tk_zinc.t .. skipped: Tk modules not installed
>> t/plot_pg.t ......... skipped: PGPLOT module not installed.
>> t/plot_pl.t ......... skipped: Graphics::PLplot module not installed.
>> t/plot_tk.t ......... skipped: Tk modules not installed
>> t/plot_tk_zinc.t .... skipped: Tk module not installed
>>
>
> why is that a problem? They are being skipped because they are not
> installed. You only need them for graphics display.
>
>> The perl-JCMT-Tau module gives the following when running perl Build.PL
>> Could not get valid metadata. Error is: Invalid metadata structure. Errors: '/jac_sw/gitroot/perl-JCMT-Tau.git' for 'repository' does not have a URL scheme (resources -> repository) [Validation: 1.4]
>>  at /usr/local/star/Perl/lib/perl5//5.14.2/Module/Build/Base.pm line 4559
>>
>
> That is a warning because Module::Build has got pickier and expects a
> proper URL for the repository location. Should not affect your build.
>
> --
> Tim Jenness