Bug #1929

Use $GAMMALIB instead of prefix in setup script

Added by Knödlseder Jürgen over 7 years ago. Updated over 7 years ago.

Status:RejectedStart date:02/22/2017
Priority:UrgentDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.2.0
Duration:

Description

The following lines of code pose problem in the gammalib-setup script

prefix="/Users/jurgen/Desktop/osxpackage/install" 
exec_prefix="${prefix}" 
gammalib_bin="${exec_prefix}/bin" 
gammalib_lib="${exec_prefix}/lib:/Users/jurgen/Desktop/osxpackage/install/lib" 

Instead of using prefix, the $GAMMALIB environment variable should be used.

Same for ctools:

prefix="/Users/jurgen/Desktop/osxpackage/install" 


Recurrence

No recurrence.

History

#2 Updated by Knödlseder Jürgen over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Done. Merged into devel.

#3 Updated by Knödlseder Jürgen over 7 years ago

  • Status changed from Closed to Rejected

It finally turned out that the use of the environment variables breaks thing for out of source builds.

Since the binary package should be non-relocatble (always be installed in /usr/local/gamma) the binary package generation should always use that location for the building and checking of the package. This has already been implement in the Mac OS X package generation and validation scripts.

The issue is therefore rejected.

Also available in: Atom PDF