IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2008, 6:01:17 PM (19 years ago)
Author:
eugene
Message:

fixing various build issues: where to get mysql, options passed to extlibs, name cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.csh

    r15158 r16092  
    243243  endif
    244244end
     245
     246## XXX mysql (and others?) are not installed in the correct location: they go into
     247## prefix/lib/mysql regardless of configure options
    245248if ("$PSCONFIG" == "none") then
    246249  if ("$newpath" == "") then
    247250    unsetenv CPATH
    248251  else
    249     setenv CPATH {$newpath}
    250   endif
    251 else
    252   if ("$newpath" == "") then
    253     setenv CPATH {$incdir}:
    254   else
    255     setenv CPATH {$incdir}:{$newpath}
     252    setenv CPATH {$newpath}:
     253  endif
     254else
     255  if ("$newpath" == "") then
     256    setenv CPATH {$incdir}:{$PSCONFDIR}/{$PSCONFIG}/include/mysql:
     257  else
     258    setenv CPATH {$incdir}:{$PSCONFDIR}/{$PSCONFIG}/include/mysql:{$newpath}:
    256259  endif
    257260endif
     
    270273  endif
    271274end
     275
     276## XXX mysql (and others?) are not installed in the correct location: they go into
     277## prefix/lib/mysql regardless of configure options
    272278if ("$PSCONFIG" == "none") then
    273279  if ("$newpath" == "") then
     
    275281    unsetenv LIBRARY_PATH
    276282  else
    277     setenv LD_LIBRARY_PATH {$newpath}
    278     setenv LIBRARY_PATH {$newpath}
    279   endif
    280 else
    281   if ("$newpath" == "") then
    282     setenv LD_LIBRARY_PATH {$libdir}:
    283     setenv LIBRARY_PATH {$libdir}:
    284   else
    285     setenv LD_LIBRARY_PATH {$libdir}:{$newpath}
    286     setenv LIBRARY_PATH {$libdir}:{$newpath}
     283    setenv LD_LIBRARY_PATH {$newpath}:
     284    setenv LIBRARY_PATH {$newpath}:
     285  endif
     286else
     287  if ("$newpath" == "") then
     288    setenv LD_LIBRARY_PATH {$libdir}:{$PSCONFDIR}/{$PSCONFIG}/lib/mysql:
     289    setenv LIBRARY_PATH {$libdir}:{$PSCONFDIR}/{$PSCONFIG}/lib/mysql:
     290  else
     291    setenv LD_LIBRARY_PATH {$libdir}:{$PSCONFDIR}/{$PSCONFIG}/lib/mysql:{$newpath}:
     292    setenv LIBRARY_PATH {$libdir}:{$PSCONFDIR}/{$PSCONFIG}/lib/mysql:{$newpath}:
    287293  endif
    288294endif
     
    312318  if ("$newpath" == "") then
    313319    setenv PERL5LIB {$plibdir}:
    314     # setenv PERL5LIB {$plibdir}:{$plib5dir}:
    315320  else
    316321    setenv PERL5LIB {$plibdir}:{$newpath}
    317     # setenv PERL5LIB {$plibdir}:{$plib5dir}:{$newpath}
    318322  endif
    319323endif
Note: See TracChangeset for help on using the changeset viewer.