[drmaa-wg] Perl Binding Errors

Fred L Youhanaie fly at anydata.co.uk
Thu Aug 4 14:55:03 CDT 2005


Matthew,

'make install' should overwrite the previous installation of the module.

If the 'make test' is successful, then just run 'make install' as root.

Good luck.

f.



Matthew Holt wrote:
> Thanks for the help.. I've already installed the bindings, is there anyway to uninstall so I can try a fresh reinstall?
> 
> I appreciate the help...
> Matt
> 
> ________________________________
> 
> From: Fred L Youhanaie [mailto:fly at anydata.co.uk]
> Sent: Thu 8/4/2005 1:28 AM
> To: Matthew Holt
> Subject: Re: [drmaa-wg] Perl Binding Errors
> 
> 
> 
> 
> Hi Matthew,
> 
> You shouldn't need to run swig, i.e.
> 
>         unpack
>         cd Schedule-DRMAAc-0.81
>         ln -s $SGE_ROOT/include/drmaa.h
>         perl Makefile.PL
>         make
>         make test
>         make install
> 
> Cheers
> f.
> 
> 
> Matthew Holt wrote:
> 
>>Hey Everyone,
>>   I am having trouble with the setup of the Perl Bindings for SGE 6.0. As root, I created a directory for the install as /root/integrate/Schedule-DRMAAc-0.81 and did the following:
>>
>>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/sge/lib/:/usr/local/sge/util/arch/
>>
>>ln -s $SGE_ROOT/include/drmaa.h
>>
>>swig -perl5 -exportall Schedule_DRMAAc.i
>>
>>
>>perl Makefile.pl
>>-Only possible error was:
>>   Note (probably harmless): No library found for -lsocket
>>
>>make
>>
>>make test
>>
>>-This is where I ran into the problem.. Everyone one of the tests failed. Here is sample output from what I thought was the most descriptive of the error messages:
>>
>>Global symbol "$DRMAA_ERRNO_SUCCESS" requires explicit package name at t/08_posix_tests.t line 116.
>>Global symbol "$DRMAA_ERRNO_SUCCESS" requires explicit package name at t/08_posix_tests.t line 122.
>>Global symbol "$DRMAA_ERRNO_SUCCESS" requires explicit package name at t/08_posix_tests.t line 130.
>>Execution of t/08_posix_tests.t aborted due to compilation errors.
>># Looks like your test died before it could output anything.
>>t/08_posix_tests.......dubious                                              
>>        Test returned status 255 (wstat 65280, 0xff00)
>>DIED. FAILED tests 1-32
>>        Failed 32/32 tests, 0.00% okay
>>
>>
>>Any ideas on what I am doing wrong? Thanks.
>>   Matthew Holt
>>
>>
> 
> 
> 
> 





More information about the drmaa-wg mailing list