#7817: opencdk ignoring SAGE64 except on OS X
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |       Owner:  drkirkby  
       Type:  defect    |      Status:  new       
   Priority:  major     |   Milestone:  sage-4.3.1
  Component:  porting   |    Keywords:            
Work_issues:            |      Author:            
   Upstream:  N/A       |    Reviewer:            
     Merged:            |  
------------------------+---------------------------------------------------
 Like many packages, opencdk has code which adds -m64 on OS X if SAGE64 is
 set to yes. It is being ignored on other platforms, with the result the
 build fails - see below.

 {{{
 /home/drkirkby/sage-4.3/local/lib/libgcrypt.so
 /export/home/drkirkby/sage-4.3/local/lib/libgpg-error.so -lz -lc
 ld: fatal: file /export/home/drkirkby/sage-4.3/local/lib/libgcrypt.so:
 wrong ELF class: ELFCLASS64
 ld: fatal: file processing errors. No output written to
 .libs/libopencdk.so.10.0.6
 collect2: ld returned 1 exit status
 make[4]: *** [libopencdk.la] Error 1
 make[4]: Leaving directory
 `/export/home/drkirkby/sage-4.3/spkg/build/opencdk-0.6.6.p2/src/src'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/export/home/drkirkby/sage-4.3/spkg/build/opencdk-0.6.6.p2/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/export/home/drkirkby/sage-4.3/spkg/build/opencdk-0.6.6.p2/src'
 Failed to build OpenCDK
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7817>
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