Changeset 33416

Show
Ignore:
Timestamp:
14.08.2019 17:48:31 (8 days ago)
Author:
ak19
Message:

DEC collections weren't getting built on 32 bit linux VM after trying to use Math::Trig's pi the way it was imported into doc.pm for GPSMapOverlay stuff. Now changing the import statement to check that generating DEC examples collection will work again.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/doc.pm

    r33313 r33416  
    4646# We just need pi from the Trig lib 
    4747# Import constants pi2, pip2, pip4 (2*pi, pi/2, pi/4). 
    48 use Math::Trig ':pi'; 
     48# But doing 
     49# use Math::Trig ':pi'; 
     50# resulted in errors on 32 bit linux VM with perl v8 of "bareword pi not allowed while strict subs in use" 
     51# So, now doing just 
     52use Math::Trig; 
    4953 
    5054# the document type may be indexed_doc, nonindexed_doc, or