#12912: Interface to Fokko Ducloux's Coxeter 3
---------------------------------+------------------------------------------
       Reporter:  nthiery        |         Owner:  sage-combinat                
    
           Type:  enhancement    |        Status:  needs_work                   
    
       Priority:  major          |     Milestone:  sage-5.7                     
    
      Component:  combinatorics  |    Resolution:                               
    
       Keywords:  coxeter        |   Work issues:  category setting             
    
Report Upstream:  N/A            |     Reviewers:  Anne Schilling, Nicolas M. 
Thiery
        Authors:  Mike Hansen    |     Merged in:                               
    
   Dependencies:  #8359          |      Stopgaps:                               
    
---------------------------------+------------------------------------------

Comment (by bump):

 On Mac OS Lion (10.7.5) the Coxeter3 spkg fails with the following. It
 works on Anne's 10.6.8 Mac.

 Note that g++ can't make sense of the -soname option. The question
 is why and is this needed.

 If we remove the -soname option then it is broke on Anne's machine.

 $ sage -f ~/patches/coxeter3-1.0.spkg
 coxeter3-1.0
 ====================================================
 Extracting package /Users/bump/patches/coxeter3-1.0.spkg
 -rw-r--r--@ 1 bump  staff  5462933 Feb 13 09:53
 /Users/bump/patches/coxeter3-1.0.spkg
 Finished extraction
 ****************************************************
 Host system:
 Darwin tracer 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT
 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
 ****************************************************
 C compiler: gcc
 C compiler version:
 Using built-in specs.
 COLLECT_GCC=gcc

 [snip]

 g++ -c  -O2 -fPIC -g -DFAST -DALLTRUE sage.cpp
 g++ -c  -O2 -fPIC -g -DFAST -DALLTRUE special.cpp
 In file included from special.cpp:10:0:
 directories.h:27:31: warning: deprecated conversion from string constant
 to 'char*' [-Wwrite-strings]
 directories.h:28:28: warning: deprecated conversion from string constant
 to 'char*' [-Wwrite-strings]
 directories.h:29:29: warning: deprecated conversion from string constant
 to 'char*' [-Wwrite-strings]
 g++ -shared -Wl,-soname,libcoxeter3.so -o libcoxeter3.so affine.o
 automata.o bits.o cells.o commands.o constants.o coxgroup.o coxtypes.o
 error.o fcoxgroup.o files.o general.o graph.o help.o interactive.o
 interface.o invkl.o io.o kl.o klsupport.o main.o memory.o minroots.o
 posets.o sage.o schubert.o special.o transducer.o type.o typeA.o uneqkl.o
 wgraph.o -lc
 ld: unknown option: -soname
 collect2: ld returned 1 exit status
 make: *** [coxeter] Error 1
 cp: libcoxeter3.dylib: No such file or directory

 real    0m9.362s
 user    0m8.574s
 sys     0m0.421s
 Successfully installed coxeter3-1.0
 Deleting temporary build directory
 /Users/bump/src/sage-5.7.beta4/spkg/build/coxeter3-1.0
 Finished installing coxeter3-1.0.spkg
 Forcing sage-location, probably because a new package was installed.
 Updating various hardcoded paths...
 (Please wait at most a few minutes.)
 DO NOT INTERRUPT THIS.
 Done updating paths.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12912#comment:21>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to