#9210: pkg-config prefix statements in SAGE_LOCAL/lib/pkg-config not changed 
upon
Sage move
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  drkirkby    
       Type:  defect       |      Status:  needs_review
   Priority:  major        |   Milestone:  sage-4.4.4  
  Component:  build        |    Keywords:              
     Author:  Jason Grout  |    Upstream:  N/A         
   Reviewer:               |      Merged:              
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by drkirkby):

 I thought I might have messed up, as I was tired, but as far as I can see,
 I do get a problem.

 The method I used was:

 1. Build sage from source in directory /export/home/drkirkby/32/sage-4.4.3

 2. Make a binary distribution using your updated sage-bdist, which I've
 confirmed works on other systems and mine.

 3. Log in as a different user 'sageserv' on my system.

 4. Extract the binary .tar.gz file, which was extracted to
 /export/home/sageserv/sage-4.4.3-after-rewrite-sage-location-patch-
 Solaris10_03_2005-sun4u-SunOS

 5. Run Sage in the new directory, where upon I get the seg fault. But in
 the other directory, as a different user name, it works fine.


 As far as I can see, I have the latest patches. These are the sizes of the
 patched files.

 {{{
 -rwxr-xr-x   1 drkirkby other       3680 Jun  9 23:54 sage-bdist
 -rwxr-xr-x   1 drkirkby other      10216 Jun 10 20:00 sage-env
 -rwxr-xr-x   1 drkirkby other       7133 Jun 12 15:40 sage-location
 }}}

 The 'sage-location' script starts

 {{{
 #!/usr/bin/env python

 import os, sys

 OLD_SAGE_ROOT = None
 SAGE_ROOT     = os.path.realpath(os.environ['SAGE_ROOT'])

 location_file = os.path.join(SAGE_ROOT, 'local', 'lib', 'sage-curent-
 location.txt')
 flags_file    = os.path.join(SAGE_ROOT, 'local', 'lib', 'sage-flags.txt')

 # The flags we care about recording in the local/lib/sage-flags.txt file
 # In SAGE_FAT_BINARY mode we only require that ['sse', 'sse2', '3d',
 #  'mmx', 'cmov'] be available, and in particular, don't require pni
 #  or ssse3.

 try:
     SAGE_FAT_BINARY = os.environ['SAGE_FAT_BINARY']
 except:
     SAGE_FAT_BINARY = ""
 }}}

 Anything look wrong?


 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9210#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to