#7033: libfplll can't find _gmpz_init in -lgmp
------------------------+---------------------------------------------------
   Reporter:  drkirkby  |          Owner:  tbd        
       Type:  defect    |         Status:  new        
   Priority:  major     |      Milestone:  sage-4.7   
  Component:  build     |       Keywords:  solaris gmp
Work_issues:            |       Upstream:  N/A        
   Reviewer:            |         Author:             
     Merged:            |   Dependencies:             
------------------------+---------------------------------------------------
Changes (by ltw):

  * upstream:  => N/A


Old description:

> Using
>
>     * Solaris 10 update 7 on SPARC
>     * sage-4.1.2.alpha2
>     * Sun Studio 12.1
>     * An updated configure script to allow the Sun compiler to be used
> http://sagetrac.org/sage_trac/ticket/7021
>
> CC was set to the Sun C compiler, and CXX to the Sun C++ compiler,
>
> {{{
> checking whether we are using the GNU C++ compiler... (cached) no
> checking whether /opt/xxxsunstudio12.1/bin/CC accepts -g... (cached) yes
> checking dependency style of /opt/xxxsunstudio12.1/bin/CC... (cached)
> none
> checking for gcc... (cached) /opt/xxxsunstudio12.1/bin/cc
> checking whether we are using the GNU C compiler... (cached) no
> checking whether /opt/xxxsunstudio12.1/bin/cc accepts -g... (cached) yes
> checking for /opt/xxxsunstudio12.1/bin/cc option to accept ISO C89...
> (cached) none needed
> checking dependency style of /opt/xxxsunstudio12.1/bin/cc... (cached)
> none
> checking whether make sets $(MAKE)... (cached) yes
> checking for __gmpz_init in -lgmp... no
> configure: error: GNU MP not found, see http://gmplib.org
> Error configuring libfplll
>
> real    0m45.568s
> user    0m10.239s
> sys     0m25.294s
> }}}
>
> mpir is insalled ok - all the gmp headers and libraries have been built.
> I suspect some programs not to accept mpir as being the same as gmp when
> the compiler is not gcc.

New description:

 Using

     * Solaris 10 update 7 on SPARC
     * sage-4.1.2.alpha2
     * Sun Studio 12.1
     * An updated configure script to allow the Sun compiler to be used
 #7021

 CC was set to the Sun C compiler, and CXX to the Sun C++ compiler,

 {{{
 checking whether we are using the GNU C++ compiler... (cached) no
 checking whether /opt/xxxsunstudio12.1/bin/CC accepts -g... (cached) yes
 checking dependency style of /opt/xxxsunstudio12.1/bin/CC... (cached) none
 checking for gcc... (cached) /opt/xxxsunstudio12.1/bin/cc
 checking whether we are using the GNU C compiler... (cached) no
 checking whether /opt/xxxsunstudio12.1/bin/cc accepts -g... (cached) yes
 checking for /opt/xxxsunstudio12.1/bin/cc option to accept ISO C89...
 (cached) none needed
 checking dependency style of /opt/xxxsunstudio12.1/bin/cc... (cached) none
 checking whether make sets $(MAKE)... (cached) yes
 checking for __gmpz_init in -lgmp... no
 configure: error: GNU MP not found, see http://gmplib.org
 Error configuring libfplll

 real    0m45.568s
 user    0m10.239s
 sys     0m25.294s
 }}}

 mpir is insalled ok - all the gmp headers and libraries have been built. I
 suspect some programs not to accept mpir as being the same as gmp when the
 compiler is not gcc.

--

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