IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24670


Ignore:
Timestamp:
Jul 3, 2009, 3:59:18 PM (17 years ago)
Author:
eugene
Message:

add CFITSIO env variable (needed by CFITSIO perl module)

Location:
trunk/psconfig
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psbuild

    r23790 r24670  
    153153
    154154    # set build environment variables
    155     ps_setenv (1, "PATH",                 "--path");
    156     ps_setenv (1, "CPATH",                "--cpath");
    157     ps_setenv (1, "ARCH",                 "--arch");
     155    ps_setenv (1, "PATH",            "--path");
     156    ps_setenv (1, "CPATH",           "--cpath");
     157    ps_setenv (1, "ARCH",            "--arch");
    158158    ps_setenv (1, "LIBRARY_PATH",    "--library_path");
    159159    ps_setenv (1, "LD_LIBRARY_PATH", "--ld_library_path");
     
    161161    ps_setenv (1, "ACLOCAL_FLAGS",   "--aclocal_flags");
    162162    ps_setenv (1, "PERL5LIB",        "--perl5lib");
     163    ps_setenv (1, "CFITSIO",         "--prefix");
    163164
    164165    exit 0;
     
    211212    ps_setenv (0, "ACLOCAL_FLAGS",   "--aclocal_flags");
    212213    ps_setenv (0, "PERL5LIB",        "--perl5lib");
     214    ps_setenv (0, "CFITSIO",         "--prefix");
    213215
    214216    # some versions of libtool use this value:
  • trunk/psconfig/pscheckperl

    r24550 r24670  
    5656$perldir = `csh -f psconfig.csh --perldir $version`; chomp $perldir;
    5757$homedir = `pwd`; chomp $homedir;
     58
     59# Astro::FITS::CFITSIO requires this to be set correctly...
     60$ENV{'CFITSIO'} = $prefix;
    5861
    5962print "psconfig version: $version\n";
Note: See TracChangeset for help on using the changeset viewer.