#7833: r-2.9.2 - fix compilation on FreeBSD
-----------------------------------------------------------+----------------
   Reporter:  pjeremy                                      |       Owner:  
pjeremy     
       Type:  defect                                       |      Status:  new  
       
   Priority:  major                                        |   Milestone:  
sage-4.3.1  
  Component:  freebsd                                      |    Keywords:       
       
Work_issues:                                               |      Author:  
Peter Jeremy
   Upstream:  Not yet reported upstream; Will do shortly.  |    Reviewer:       
       
     Merged:                                               |  
-----------------------------------------------------------+----------------
 Pass CFLAGS, CPPFLAGS and LDFLAGS from the environment into the build
 process.  This also corrects a typo in CPPFLAGS.

 Note that FreeBSD needs the path to libiconv to be explicitly specified.
 In theory, --with-libiconv-prefix should work but configure script is
 broken and ignores that path when looking for libiconv.  Hard-wire
 /usr/local/include and /usr/local/lib via xxFLAGS.  Without this change,
 you get:
 {{{
 checking iconv.h usability... no
 checking iconv.h presence... no
 checking for iconv.h... no
 checking for iconv... no
 checking for iconvlist... no
 configure: error: --with-iconv=yes (default) and a suitable iconv is not
 available
 Error configuring R.
 }}}

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