IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28191


Ignore:
Timestamp:
Jun 2, 2010, 1:27:13 PM (16 years ago)
Author:
eugene
Message:

add perl_site to possible module locations; test for module after installation

Location:
trunk/psconfig
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pscheckmods

    r26273 r28191  
    1010    exit 1;
    1111}
     12# print "x: $x\n";
    1213
    1314$version = eval "\$$ARGV[0]::VERSION";
  • trunk/psconfig/pscheckperl

    r27417 r28191  
    147147        vsystem ("make install");
    148148    }
     149    chdir $homedir;
    149150
    150     chdir $homedir;
     151    # we claim to have built the module; double-check that it can be found
     152    system ("pscheckmods $module $modver");
     153    if ($?) {
     154        die "failed to find the module we just built: $module\n";
     155    }
     156    print "built $module\n\n";
    151157}
    152158if (!$build) {
  • trunk/psconfig/psconfig.csh.in

    r25892 r28191  
    358358set plibdir  = {$PSCONFDIR}/{$PSCONFIG}/lib
    359359set plib5dir = {$PSCONFDIR}/{$PSCONFIG}/lib/perl5
     360set plibsite = {$PSCONFDIR}/{$PSCONFIG}/lib/perl5/site_perl
    360361set newpath = ""
    361362set pathlist = `echo $PERL5LIB | tr ':' '\n'`
     
    378379else
    379380  if ("$newpath" == "") then
    380     setenv PERL5LIB {$plibdir}:{$plib5dir}:
    381   else
    382     setenv PERL5LIB {$plibdir}:{$plib5dir}:{$newpath}
     381    setenv PERL5LIB {$plibdir}:{$plib5dir}:{$plibsite}
     382  else
     383    setenv PERL5LIB {$plibdir}:{$plib5dir}:{$plibsite}:{$newpath}
    383384  endif
    384385endif
Note: See TracChangeset for help on using the changeset viewer.