#13126: Update and clean up openssl
-------------------------------------+--------------------------------------
       Reporter:  jhpalmieri         |         Owner:  tbd       
           Type:  enhancement        |        Status:  needs_work
       Priority:  major              |     Milestone:  sage-5.1  
      Component:  optional packages  |    Resolution:            
       Keywords:  openssl            |   Work issues:            
Report Upstream:  N/A                |     Reviewers:            
        Authors:  John Palmieri      |     Merged in:            
   Dependencies:                     |      Stopgaps:            
-------------------------------------+--------------------------------------

Comment (by jhpalmieri):

 > Could you please post the error message of the old OpenSSL spkg on OS X
 Lion?

 {{{
 gcc -I. -I.. -I../include  -fPIC -fno-common -DOPENSSL_PIC
 -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 -O3
 -fomit-frame-pointer -DL_ENDIAN -DOPENSSL_BN_ASM_PART_WORDS
 -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM
 -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM
 -DWHIRLPOOL_ASM -DGHASH_ASM   -c -o cryptlib.o cryptlib.c
 gcc: error: i386: No such file or directory
 gcc: error: unrecognized option ‘-arch’
 make[1]: *** [cryptlib.o] Error 1
 }}}

 I've now added config.patch to the spkg, applying it in all cases (not
 just on Solaris). Is this what you meant? For me, this still builds on OS
 X Lion (and passes tests), builds on sage.math (and fails tests), builds
 on mark, but doesn't build on hawk:
 {{{
 make[4]: Entering directory
 `/export/home/palmieri/testing/sage-5.1.beta3/spkg/build/openssl-1.0.1c.p0/src'
 ld: fatal: file
 /export/home/palmieri/testing/sage-5.1.beta3/local/bin/../lib/gcc/i386-pc-
 solaris2.11/4.6.3/crtbegin.o: wrong ELF class: ELFCLASS32
 ld: fatal: file processing errors. No output written to libcrypto.so.1.0.0
 collect2: ld returned 1 exit status
 make[4]: *** [link_a.solaris] Error 1
 make[4]: Leaving directory
 `/export/home/palmieri/testing/sage-5.1.beta3/spkg/build/openssl-1.0.1c.p0/src'
 }}}
 This is from a version of Sage built with `SAGE_INSTALL_GCC=yes`, but I
 think my environment variables are messed up hawk. I'll try again later.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13126#comment:8>
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