On Sat, Apr 3, 2010 at 7:56 AM, mhampton <hampto...@gmail.com> wrote:

> Ok, moving /usr/local/ "fixed" the problem.  I wish I knew what I did
> that caused it though.  I've been building Sage since version 1.4 on
> there without problems.
>

It's sort of totally obvious to point this out, but perhaps you installed
some program, and that program put something in /usr/local/.   Any program
can do that upon installation; I think some tex installs may.

I don't know how in OS X to somehow totally hide the existence of
/usr/local/ from a subshell.  As root (on Linux at least) one could easily
do so using mount and bind.  Making changes to the PATH and other
environment variables is not enough to stop components of Sage looking in
/usr/local during the build, despite .remarks possibly to the contrary by
others in this thread.

 -- William


>
> Thanks for the help,
> Marshall
>
> On Apr 3, 3:13 am, William Stein <wst...@gmail.com> wrote:
> > On Sat, Apr 3, 2010 at 12:22 AM, Dima Pasechnik <dimp...@gmail.com>
> wrote:
> >
> > > On Apr 3, 12:31 am, mhampton <hampto...@gmail.com> wrote:
> > >> I'll try downloading it a second time, although I don't think its
> > >> corrupted because I copied that tar file to 3 other computers and all
> > >> their installs went fine.
> >
> > >> I don't think I've ever used Fink or Macports on the computer causing
> > >> problems.  I'm not sure how to "move /usr/local out of the way" in a
> >
> > 1. sudo mv /usr/local /usr/local.0
> >
> > 2. build Sage
> >
> > 3. sudo mv /usr/local.0 /usr/local
> >
> >  -- William
> >
> >
> >
> > > set the PATH to the values recommended for building on MacOSX
> > > (there is an instruction for this somewhere, I can't seem to find the
> > > right link now).
> > > I.e. PATH should not contain /sw/bin (this would be a sign of having
> > > Fink installed, and you do not want to have it clashed with Xcode
> > > environment)
> > > and /usr/local/bin,
> > > then do the building from the beginning, from the same shell session.
> >
> > > On bash this is done by
> > > $ PATH=/usr/bin:/bin:/sbin
> > > $ export PATH
> >
> > > I nuked few Sage builds on MacOSX by forgetting to do this (I use Fink
> > > quite a bit)
> >
> > > Dima
> >
> > >> nice way but I guess I'll give that a try.  This is a computer I use
> > >> quite a bit for sage development, so I'd rather not install a binary.
> >
> > >> Thanks for the comments.
> >
> > >> -Marshall
> >
> > >> On Apr 2, 10:23 am, John H Palmieri <jhpalmier...@gmail.com> wrote:
> >
> > >> > On Apr 2, 9:19 am, William Stein <wst...@gmail.com> wrote:
> >
> > >> > > On Fri, Apr 2, 2010 at 9:16 AM, mhampton <hampto...@gmail.com>
> wrote:
> >
> > >> > > > Can anyone help with this?  I upgraded to 10.6.3, started over,
> and
> > >> > > > things crash in the same place as before - towards the end of
> building
> > >> > > > freetype.  Any ideas??
> >
> > >> > > I can report that to help with this I upgraded to 10.6.3 (on
> > >> > > bsd.math), then did a complete
> > >> > > build and full long test, and everything worked perfectly.
> >
> > >> > Me too.
> >
> > >> > > You should get rid of Fink and/or MacPorts and maybe move
> /usr/local
> > >> > > out of the way and try again.  Or use this binary:
> >
> > >> > >    http://sage.math.washington.edu/home/wstein/binaries/4.3.5/
> >
> > >> > Or maybe your Sage tar file is corrupted?  Have you tried
> downloading
> > >> > it a second time?
> >
> > >> > --
> > >> > John
> >
> > > --
> > > To post to this group, send an email to sage-devel@googlegroups.com
> > > To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com<sage-devel%2bunsubscr...@googlegroups.com>
> > > For more options, visit this group athttp://
> groups.google.com/group/sage-devel
> > > URL:http://www.sagemath.org
> >
> > > To unsubscribe, reply using "remove me" as the subject.
> >
> > --
> > William Stein
> > Associate Professor of Mathematics
> > University of Washingtonhttp://wstein.org
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com<sage-devel%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to