Hi Pete,

Your error:

    gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT gdft.lo -MD -MP -MF  
.deps/gdft.Tpo -c gdft.c  -fno-common -DPIC -o .libs/gdft.lo
    gdft.c:113:31: error: freetype/freetype.h: No such file or directory
    gdft.c:114:30: error: freetype/ftglyph.h: No such file or directory
    gdft.c:115:30: error: freetype/ftsizes.h: No such file or directory

message is odd, since freetype is included with SAGE.
There are some natural options at this point:

(1) For a re-install of freetype then try again:

    sage -f freetype-2.1.10
    sage -upgrade

(2) You could try just doing a fresh install from source:

   http://modular.math.washington.edu/sage/dist/src/index.html

I've tested a fresh build of that tarball on one G5 machine and it
worked for me.  If it doesn't, I'd be extremely interested to
know about why.

(3) Try the pre-built binary here:

   http://sage.math.washington.edu/SAGEbin/apple_osx/ppc/

The binaries are almost the same as a normal install, and are
upgradeable.


Another comment -- it should be fine to build/install SAGE
as a normal user instead of an admin user, as long as you
do a
             chmod -R a+r *
to give everybody read permissions.  This is what I typically
do on multiuser systems with SAGE.


---

If you do (2), it's not hard to reinstall all optional packages you
want.  Just do

     sage -optional

for a list, then type

     sage -i <list of packages>

Right now, here's the command line to install all optional packages
for OS X (this is all one line):

sage -i database_cremona_ellcurve-2005.11.03 database_gap-4.4.9  
database_jones_numfield-v2 database_kohel-20060803 database_odlyzko_zeta  
database_sloane_oeis-2005-12  database_stein_watkins_mini  
gap_packages-4.4.9 gnuplotpy-1.7.p1 kash3_osx-2006.01.31 lie-2.2  
linbox-1.0.0-20060724 macaulay2-20061014 moin-1.5.4.p1 numarray-1.5.2  
numeric-24.2 nzmath-0.5.1 polymake-2.2.p1 trac-20061011

If you have a Fortran compiler, you can also install scipy (to get a very
MATLAB-like range of functionality):

    sage -i scipy-2006-12-05

Yes -- I know it is dumb that the version numbers are explicitly listed in  
the above
command line; fixing this is on my todo list.

Moreover, I also think there should be a command to try to install all  
optional
packages for a given architecture, which on completion reports on whether  
any
failed to install.

  -- William


On Fri, 15 Dec 2006 08:05:45 -0800, Pete Chvany <[EMAIL PROTECTED]>  
wrote:

> Sorry, I should have been clearer. I've gotten further but am still
> running into trouble.
>
> I was running as the default administrative user. To the best of my
> recollection, this is the user that installed sage. All of the
> objects in the top-level /usr/local/bin/sage directory are owned by
> root:admin
>
> I sudo'd (i.e., as root) and tried again, within tcsh. That bombed
> out at a later point involving the build of gd. There was great error
> text advising that I be within bash and that I source a sage-env
> script to set proper defaults first, so I returned the machine to its
> prior configuration (i.e., from our current Mac 10.4.8 image, which
> is running SAGE 1.4.1.2) rebooted the machine, and started again.
>
> I got the same error at the build of gd. Here's the error text (.rtf
> file attached) (it looks pretty much the same as the errors I got
> under tcsh without running the sage-env script).
>


--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to