#11970: r-2.10.1.p4 may fail to configure with readline (BLOCKS Sage from
building
on Ubuntu 11.10)
------------------------------+---------------------------------------------
Reporter: Snark | Owner: tbd
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-4.8
Component: packages | Keywords: Oneiric Ocelot Ubuntu 11.10
ARM libtermcap libncurses libtinfo r-project
Work_issues: | Upstream: N/A
Reviewer: Jeroen Demeyer | Author: Leif Leonhardy
Merged: | Dependencies:
------------------------------+---------------------------------------------
Comment(by leif):
There's also a "debug" version which outputs some `make` variables when
building the shared library (modified patch to upstream):
http://sage.math.washington.edu/home/leif/Sage/spkgs/readline-6.2.p4-debug.spkg
{{{
#!diff
--- src/shlib/Makefile.in 2010-12-28 21:56:21.000000000 +0100
+++ src/shlib/Makefile.in 2012-01-08 18:41:05.794898031 +0100
@@ -166,7 +166,17 @@
$(SHARED_READLINE): $(SHARED_OBJ)
$(RM) $@
- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ)
$(SHLIB_LIBS)
+ # $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@
$(SHARED_OBJ) $(SHLIB_LIBS)
+ @echo
"**************************************************************************"
+ @echo "Sage: Shared readline library gets linked to
\"$(TERMCAP_LIB)\"."
+ @echo
+ @echo "\$$(SHOBJ_LD)="$(SHOBJ_LD)
+ @echo "\$$(SHOBJ_LDFLAGS)="$(SHOBJ_LDFLAGS)
+ @echo "\$$(SHOBJ_XLDFLAGS)="$(SHOBJ_XLDFLAGS)
+ @echo
+ @echo "\$$(SHLIB_LIBS)="$(SHLIB_LIBS)
+ @echo
"**************************************************************************"
+ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ)
$(SHLIB_LIBS) $(TERMCAP_LIB)
$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
$(RM) $@
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11970#comment:38>
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.