On Jun 5, 4:13 pm, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote: > On 5 Jun, 15:03, mabshoff <[EMAIL PROTECTED]> wrote:
Hi David, > > Well, we require gmake anyway for freetype since that specifically > > requires gmake. gld should not be required, at least unless we call it > > explicitly. > > The only way I can get things to at least work semi-well is to copy > gmake to $HOME/bin/make, then make sure $HOME/bin is the first thing > in the path. Then, no matter whether you call gmake or make, you > actually get gmake. It is not very elegant, but does work without > changing the scripts. Yep, I have thought about doing that automatically for gamke, gtar, gas, ginstall and gld, i.e. link them into $SAGE_ROOT/local/bin without the "g", but so far I don't think that is a good idea. Once I switch to the Sun Forte compiler I plan to take /opt/sfw/bin out of $PATH [on some Sun boxen it is /usr/sfw/bin for some reason, maybe Sparc vs. x86/x86-64?]. At that point I plan to use Sun tools all the way via /usr/bin/ccs or so. > But it would be much more sensible to remove any references to 'make' > in the files, and instead use $MAKE. > > On another topic, can you explain how I should attempt to build sage > if I make a change to a file? Let's say I make a change to the NTL > makefile > > ./spkg/build/ntl-5.4.2.p3/src/src/makefile > > which is the simplist way to start the build process so it uses that > revised makefile? I thought you said this was documented somewhere, > but I can't find it. I'm still recreating a new .spkg file, which is > tedious and so does not encourage one to try to fix problems. a) from $SAGE_ROOT source local/bin/sage-env b) unpack the spkg or go into the build directory c) edit files/make changes d) run ./spkg-install e) lather, rinse, repear finally once the spkg is installed do a "touch spkg/installed/$FOO" for $FOO.spkg > Dave Cheers, Michael --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---