Print

Print


Generally you don't want to use the system perl because that's under the
control of your package manager.

it looks like there is some strange interaction between the DBM library on
your system and the perl build (maybe a devel package is missing, I'm not
sure) hence seeing whether a downloaded perl builds is useful (or using
perlbrew).


On Wed, Jun 5, 2013 at 2:01 PM, Thomas Marsh <[log in to unmask]>wrote:

> There is a perl on the system already of course -- does this not do for
> some reason?
>
> tom
>
>
> On 5 June 2013 18:04, Tim Jenness <[log in to unmask]> wrote:
>
>>  looks like it detected a dbm library that doesn't really work. I
>> imagine you can't build perl generally without some tweaking.
>>
>>  Can you try to build a standalone perl?
>>
>>
>> On Wed, Jun 5, 2013 at 12:50 PM, Tom Marsh <[log in to unmask]>wrote:
>>
>>> Today I cloned starlink from github and started to build it. I got as
>>> far as 'make configure-deps' but this fell over on perlsys/perl as follows:
>>>
>>> cd thirdparty/perlsys/perl \
>>>           &&amp; test -f config.status || ./configure
>>> >configure-output.log 2>configure-output.log.err || { cat
>>> configure-output.log.err; false; } \
>>>           &&amp; (make &&amp; make install) >make.log 2>make.log.err ||
>>> { cat make.log.err; false; }
>>> .
>>> .
>>> .
>>> .
>>> ListUtil.c: In function ‘XS_List__Util_min’:
>>> ListUtil.xs:72: warning: ‘retval’ may be used uninitialized in this
>>> function
>>> ListUtil.xs:72: note: ‘retval’ was declared here
>>> Processing hints file hints/linux.pl
>>> NDBM_File.c: In function ‘XS_NDBM_File_NEXTKEY’:
>>> NDBM_File.c:465: warning: unused variable ‘key’
>>> Processing hints file hints/linux.pl
>>> ODBM_File.xs: In function ‘XS_ODBM_File_DESTROY’:
>>> ODBM_File.xs:128: error: too few arguments to function ‘dbmclose’
>>> make[3]: *** [ODBM_File.o] Error 1
>>> Unsuccessful make(ext/ODBM_File): code=512 at make_ext.pl line 466.
>>> make[2]: *** [lib/auto/ODBM_File/ODBM_File.so] Error 25
>>> make[1]: *** [all] Error 2
>>> make: *** [/home/astro/phsaap/software/gstar/manifests/perl] Error 1
>>>
>>>
>>> Linux version:
>>>
>>> SUSE Linux Enterprise Desktop 11 (x86_64)
>>> VERSION = 11
>>> PATCHLEVEL = 2
>>>
>>
>>
>
>
> --
> Professor T.R. Marsh      Tel.:     +44-(0)24765-74739
> Department of Physics    FAX :  +44-(0)24765-23762
> University of Warwick
> Coventry CV4 7AL, UK    www.astro.warwick.ac.uk
>