I don't know much about linbox specifically; this is just about developing with spkgs.
On Tue, Feb 24, 2009 at 1:10 PM, John H Palmieri <[email protected]> wrote: > Run "tar jxf linbox-1.1.6.spkg" to unpack the archive, then edit the > file linbox-1.1.6/src/interfaces/sage/linbox-sage.C and any other > files however you want. Then you need to recreate the spkg file (make > a bzipped tar file of the altered linbox-1.1.6 directory and call it > something like 'linbox-1.1.6a.spkg'), and then install it: run 'sage - > f linbox-1.1.6a.spkg'. Sage actually has a command to create an spkg from a directory: the "sage -pkg" command. While you're developing your changes, you don't need to keep building a new .spkg and installing it. Instead, you can install from within your unpacked spkg directory. Type "sage -sh" to start a new shell with all the environment variables correctly set for Sage. Then you can just run the spkg-install from the spkg to install the spkg (with your changes) into Sage. (Be sure to exit from the new shell when you're done developing.) If you want to submit your modified spkg for use with Sage, you should talk to Michael Abshoff. Carl --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
