Changeset 33859

Show
Ignore:
Timestamp:
23.01.2020 09:56:01 (4 weeks ago)
Author:
davidb
Message:

Additional CPAN Perl packages found to be needed when compiling up Greenstone3 on CentOS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/packages/configure

    r32908 r33859  
    378378fi 
    379379 
     380cpan_extras=1 
     381if test $cpan_extras = 1 ; 
     382then 
     383 
     384  for pack in Digest-MD5-2.55 Digest-SHA-5.92 Text-CSV-1.99 ; 
     385  do  
     386    cd "$PACKAGES/cpan" 
     387    gzip -dc $pack.tar.gz | tar -xf - 
     388    cd "$PACKAGES/cpan/$pack" \ 
     389    && \ 
     390      perl Makefile.PL \ 
     391        PREFIX="$GSDLHOME/perllib/cpan" \ 
     392        INSTALLSITELIB="$GSDLHOME/perllib/cpan/$perl_dir" \ 
     393        INSTALLSITEARCH="$GSDLHOME/perllib/cpan/$perl_dir" \ 
     394        INSTALLMAN1DIR="$GSDLHOME/perllib/cpan/$perl_dir" \ 
     395        INSTALLMAN3DIR="$GSDLHOME/perllib/cpan/$perl_dir" \ 
     396        SITEPREFIX="$GSDLHOME/perllib/cpan" 
     397 
     398    if test x$? = x1 ; 
     399    then 
     400      echo "Configuration of $pack failed." 
     401      exit 1 
     402    fi 
     403  done 
     404fi 
     405 
    380406# configure powerpoint converter 
    381407echo ""