#6759: [with spkg, needs work] Update sqlite to latest release - needed for
Sun's
compiler
--------------------------+-------------------------------------------------
Reporter: drkirkby | Owner: mabshoff
Type: defect | Status: reopened
Priority: major | Milestone: sage-4.1.2
Component: packages | Resolution:
Keywords: | Reviewer: Minh Van Nguyen
Author: David Kirkby | Merged: Sage 4.1.2.alpha2
--------------------------+-------------------------------------------------
Comment(by ddrake):
Here's the effect of the old Makefile.in "patch":
{{{
--- src/Makefile.in 2007-11-24 00:05:48.000000000 +0900
+++ patches/Makefile.in 2008-05-17 03:36:19.000000000 +0900
@@ -570,11 +570,12 @@
libtclsqlite3.la $(LIBTCL)
-install: sqlite3 libsqlite3.la sqlite3.h ${HAVE_TCL:1=tcl_install}
+#install: sqlite3 libsqlite3.la sqlite3.h ${HAVE_TCL:1=tcl_install}
+install: libsqlite3.la sqlite3.h ${HAVE_TCL:1=tcl_install}
$(INSTALL) -d $(DESTDIR)$(libdir)
$(LTINSTALL) libsqlite3.la $(DESTDIR)$(libdir)
$(INSTALL) -d $(DESTDIR)$(exec_prefix)/bin
- $(LTINSTALL) sqlite3 $(DESTDIR)$(exec_prefix)/bin
+ #$(LTINSTALL) sqlite3 $(DESTDIR)$(exec_prefix)/bin
$(INSTALL) -d $(DESTDIR)$(prefix)/include
$(INSTALL) -m 0644 sqlite3.h $(DESTDIR)$(prefix)/include
$(INSTALL) -m 0644 $(TOP)/src/sqlite3ext.h
$(DESTDIR)$(prefix)/include
}}}
It just comments out a bit of the install target. In 3.6.17, Makefile.in
is all automake-generated, and it's not at all obvious (to me, at any
rate) how to make the corresponding change. However, I'm wondering if we
need to make the change at all. The idea is to not install the sqlite
client; what will happen if we do that? In {{{spkg-install}}}, it says the
client isn't needed for Sage, but if we install it anyway, will anything
bad happen?
If we can get by without any patches at all to the source, that seems
ideal and very easy. Certainly better than manually patching an automake
Makefile!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6759#comment:5>
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
-~----------~----~----~----~------~----~------~--~---