[sage-devel] Sage 3.4 build problem on Mac OS X

2009-05-01 Thread Prabhu Ramachandran
Dear Sage developers, I tried to build Sage-3.4 on my intel macbook (Mac OS X 10.4.11). I have Xcode 2.5 installed and gcc-4.0.1. I downloaded the sage-3.4.tar, untarred it and ran make. I have macports installed so changed the PATH to remove anything from /opt. I also renamed /opt to somethin

[sage-devel] Re: Sage 3.4 build problem on Mac OS X

2009-05-02 Thread Prabhu Ramachandran
mabshoff wrote: >> I think this should be documented somewhere so others don't fall into >> the same trap. Thanks. > > Cool. Thanks for telling us - I have made this #5961. Glad to be of some assistance. BTW, the .pydistutils.cfg will affect any new spkg installs also since distutils will alw

[sage-devel] Re: Sage 3.4 build problem on Mac OS X

2009-05-02 Thread Prabhu Ramachandran
mabshoff wrote: >> So one option would be to backport the patch to the Python version you >> ship and always invoke setup.py such that it ignores the >> .pydistutils.cfg. Of course, a simple test script that looks for the >> file and warns the user (like the macports warning/error) would also wor

[sage-devel] Re: Clarification of Sage and GPL

2009-05-05 Thread Prabhu Ramachandran
Rob Beezer wrote: > Your script was your creative work (well, not very creative). You > could have copied it onto CD's and sold those for whatever price you > could fetch. I could not buy a CD from you and make copies to sell - > that would violate your copyright. You have not modified Sage, yo

[sage-devel] Re: Clarification of Sage and GPL

2009-05-06 Thread Prabhu Ramachandran
William Stein wrote: > On Tue, May 5, 2009 at 3:25 PM, Brian Granger wrote: >> * Is the code pure python or does it use the sage syntax? If the code >> uses the sage syntax, I think it must be released under the GPL. >> * Does the code being written actually use any GPL libraries (like the >> sa

[sage-devel] Using --enable-framework on Mac OS X?

2009-05-10 Thread Prabhu Ramachandran
Hi, I had a mini-vacation and I spent a while trying to get sage working with VTK on a Macbook. The machine is somewhat slow and experimenting takes a long while. I've managed to get VTK built with Sage but required a framework build. Here are the details. I've been using sage-3.4 (since t

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-05-10 Thread Prabhu Ramachandran
On 05/10/09 21:03, mabshoff wrote: >> 1. Why isn't --enable-framework turned on by default for the sage >> python build on the Mac? If this isn't a hassle can you please consider >> making this the default? > > It caused some issues in the past and we would have to special case > certain bits

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-05-10 Thread Prabhu Ramachandran
On 05/10/09 21:58, mabshoff wrote: >> Linking CXX shared library ../bin/libvtkCommonPythonD.dylib >> >> ld: common symbols not allowed with MH_DYLIB output format with the >> -multi_module option > > > > Ok, check out > > http://www.mail-archive.com/g...@gcc.gnu.org/msg05799.html > > for a p

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-05-14 Thread Prabhu Ramachandran
On 05/13/09 22:16, Brian Granger wrote: > I just pinged the pythonmac-sig group about why and when a framework > build is actually needed. A while back I created an spkg for qt/pyqt > and I remember that I needed to do a framework build to get it to > work. My recollection is that if you want Py

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-05-14 Thread Prabhu Ramachandran
On 05/10/09 23:18, mabshoff wrote: >>> Well, it doesn't matter for builds from source too much, the real >>> problem is when a user runs -upgrade for Sage. >> Sorry for being dense. You mean when the user runs -upgrade with a >> non-framework install? Suppose a user has a fresh install, would the

[sage-devel] Re: sage mentioned in slashdot comments right now

2009-05-27 Thread Prabhu Ramachandran
Jason Grout wrote: > Ondrej Certik wrote: >> It even mentions my, Prabhu and Jaap's work on getting mayavi working >> in the sage notebook. Cool, it cost me several sleepless nights at the >> Siam conference. Here is the updated howto for getting it working in >> Sage/SPD: >> >> http://code.google

[sage-devel] Re: URGENT: Help needed: Error in installing the package mesa-7.2

2009-06-28 Thread Prabhu Ramachandran
On 06/19/09 01:43, Nicole Jinn wrote: > To whom it may concern, > > I was trying to install the package "mesa-7.2.spkg" and the following > errors came up: > > GLwDrawA.c:48:28: error: X11/IntrinsicP.h: No such file or directory > GLwDrawA.c:49:28: error: X11/StringDefs.h: No such file or direct

[sage-devel] Re: vtk fails to build on Mac

2009-06-29 Thread Prabhu Ramachandran
On 06/29/09 14:37, Ondrej Certik wrote: > the optional vtk package fails to buid on Mac, it fails to configure. > I didn't like the spkg install much, so I joined the Mac and linux > version and it now configures and starts compiling, but then it fails > with: > > http://code.google.com/p/femhub/

[sage-devel] Re: vtk fails to build on Mac

2009-06-29 Thread Prabhu Ramachandran
On 06/29/09 14:58, William Stein wrote: > On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote: >> Hi, >> >> the optional vtk package fails to buid on Mac, it fails to configure. >> I didn't like the spkg install much, so I joined the Mac and linux >> version and it now configures and starts comp

[sage-devel] Re: vtk fails to build on Mac

2009-06-29 Thread Prabhu Ramachandran
On 06/29/09 22:07, Prabhu Ramachandran wrote: > On 06/29/09 14:58, William Stein wrote: >> On Mon, Jun 29, 2009 at 11:07 AM, Ondrej Certik wrote: >>> Hi, >>> >>> the optional vtk package fails to buid on Mac, it fails to configure. >>> I didn't l

[sage-devel] Re: vtk fails to build on Mac

2009-06-30 Thread Prabhu Ramachandran
On 06/30/09 00:42, William Stein wrote: >> Oops, sage-4.0.2 doesn't build on bsd.math. Here is what I get after a >> long compile: > > For what it is worth, sage-4.0.2 does build fine on bsd.math. That's > where I build all the OS X 10.5 intel binaries.Since you didn't > actually post anythi

[sage-devel] Sage fails to build on bsd.math

2009-07-07 Thread Prabhu Ramachandran
Hi, I feel embarrassed posting this (since others seem to be able to build sage on bsd.math) but I've run into a problem building sage-4.0.2 on bsd.math. I've tried twice and both times maxima fails to build with the following error: $ cd sage-4.0.2 $ ./sage -sh $ cd spkg/build/maxima-5.16.3

[sage-devel] Re: vtk fails to build on Mac

2009-07-07 Thread Prabhu Ramachandran
On 07/01/09 03:22, Ondrej Certik wrote: >> If you have questions about this, I would simply join the visit users list: >> >> https://email.ornl.gov/mailman/listinfo/visit-users > > Thanks for this, I'll have a look at how to fix/patch VTK to build on > Mac. I think Prabhu has a commit access, so

[sage-devel] Re: vtk fails to build on Mac

2009-07-07 Thread Prabhu Ramachandran
On 07/08/09 10:56, Ondrej Certik wrote: >> I'll rebuild VTK on my mac tonight and check how that works. > > Many thanks for the update and for working on it. If it cannot be used > offscreen, then I think it's a showstopper, that will create Mac a > second class platform, that is incapable of hos

[sage-devel] Re: Sage fails to build on bsd.math

2009-07-07 Thread Prabhu Ramachandran
Hi William, On 07/07/09 23:43, William Stein wrote: >> I feel embarrassed posting this (since others seem to be able to build >> sage on bsd.math) but I've run into a problem building sage-4.0.2 on >> bsd.math. I've tried twice and both times maxima fails to build with >> the following error: >

[sage-devel] Re: Sage fails to build on bsd.math

2009-07-08 Thread Prabhu Ramachandran
On 07/09/09 01:18, William Stein wrote: >> Many thanks and sorry for the bother! There isn't an immediate hurry >> though, I'm traveling the next couple of days. > > I'm 100% completely stumped by why Maxima won't build for you on > bsd.math. Sorry. Fortunately, i tried typing Oh, wow! Many t

[sage-devel] Python spkg for OSX framework build

2009-07-09 Thread Prabhu Ramachandran
lf an hour) but if someone wants to try these out please feel free to do so. I will make a VTK spkg this weekend for the framework build and then look at the offscreen support. cheers, -- Prabhu Ramachandran http://www.aero.iitb.ac.

[sage-devel] Re: update on the vtk package

2009-07-17 Thread Prabhu Ramachandran
On 07/16/09 06:57, Ondrej Certik wrote: > Prabhu, did you make any progress on fixing VTK to build? I think the > framework is only useful for a GUI, but we use notebook for the gui > and there it just needs to build. Considering the amount of work and > testing to convert all Sage to use framewor

[sage-devel] Re: slideshow mode for the notebook

2009-07-27 Thread Prabhu Ramachandran
On 07/26/09 05:59, William Stein wrote: > http://en.wikipedia.org/wiki/List_of_screencasting_software#Mac_OS_X > > It's depressing -- there appear to be *no* FOSS screencasting programs > for OS X at all. This one works on OS X: http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html prabhu -

[sage-devel] Re: Using --enable-framework on Mac OS X?

2009-08-03 Thread Prabhu Ramachandran
On 08/04/09 00:32, Ondrej Certik wrote: >> I will dig up my framework python spkg and get back after I hear from >> the pythonmac-sig folks. > > > Could you please share it? I have created sip (sip is something like > swig, needed to built pyqt) and pyqt packages here: Ondrej, I put up a simple

[sage-devel] Re: Python spkg for OSX framework build

2009-08-03 Thread Prabhu Ramachandran
On 07/10/09 01:55, William Stein wrote: >> I've made an SPKG of a framework Python build -- it was really easy. >> The modified spkg-install is on bsd.math.washington.edu as is the spkg, >> they are here: >> >> /Users/Prabhu/spkg-install.python >> /Users/Prabhu/python-2.6.2.p2.spkg >> >> I'm not g

[sage-devel] Re: cool things coming up in matplotlib

2009-08-03 Thread Prabhu Ramachandran
On 08/04/09 00:58, Ondrej Certik wrote: >> I'm posting this since multiple people have touched this code in Sage, >> and might be interested in looking at a soon-to-be-native way to do it >> in matplotlib. > > Matplotlib guys rock. Btw, I just manage to get matplotlib working as > a traits editor

[sage-devel] Re: vtk on Mac

2009-08-28 Thread Prabhu Ramachandran
Hi, Ondrej Certik wrote: > we spent about 6 hours with Prabhu trying to install VTK in Sage on > Mac on the scipy09. We failed and Prabhu suggested to just use the > framework build of python. I have some good news on this front. This morning I got mayavi working offscreen on bsd.math.w.e. I

[sage-devel] Re: update on femhub windows port

2009-09-22 Thread Prabhu Ramachandran
On Tuesday 22 September 2009 12:50 AM, Ondrej Certik wrote: > are all fixed and reported. Then all packages that are also in Sage > build in cygwin. After that, VTK has to be fixed, but then it seems to > build, only it takes insanely long (an hour or more), so I think I'll > skip it for now and e

[sage-devel] Re: update on femhub windows port

2009-09-22 Thread Prabhu Ramachandran
On Tuesday 22 September 2009 11:31 PM, Ondrej Certik wrote: >>> I think we are very close to actually provide a windows binary of >>> femhub in the next release, I feel it. So I'll be working on this, and >>> finish it this week. >> That is great! Are you also rolling in the changes I submitted f

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-23 Thread Prabhu Ramachandran
On Wednesday 23 September 2009 07:20 AM, Fernando Perez wrote: >> https://svn.enthought.com/enthought/wiki/TVTKIntroduction#visual >> >> I've used vpython too, and I thought it was really nice and simple. > > Prabhu may comment with more information, but in the meantime, it's > worth keeping in m

[sage-devel] Re: Sage Days: India?

2009-10-01 Thread Prabhu Ramachandran
On Thursday 01 October 2009 08:48 AM, William Stein wrote: >> I'll be in India for the ICM, but I've already booked the week before >> for a pair of satellite conferences in Goa, and I don't think I can >> stay any later. So I'm interested but very likely not actually >> available. > > I'm also l

[sage-devel] Re: Sage Days: India?

2009-10-01 Thread Prabhu Ramachandran
On Thursday 01 October 2009 08:39 AM, Dan Drake wrote: >> Who here is highly interested in the possibility of attending such a >> Sage Days? > > It's quite unlikely I could make it -- I've got other travel, plus not > enough funding, etc -- but I definitely think this should happen. In the > othe

[sage-devel] [ANN] SciPy India conference in Dec. 2009

2009-10-01 Thread Prabhu Ramachandran
y with SPACE-Kerala (http://www.space-kerala.org). Regards, Prabhu Ramachandran and Jarrod Millman --~--~-~--~~~---~--~~ 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...@googlegr

[sage-devel] Re: Sage Days: India?

2009-10-01 Thread Prabhu Ramachandran
On Thursday 01 October 2009 09:32 PM, William Stein wrote: >> Any thoughts about the location? If Prabhu is at IITB, I suppose >> that's an option. > > I'm guessing IITB with dates like Aug 7-12 or therabouts. OK, let me check if there isn't something else here at the time, but I can only do th

[sage-devel] Re: Sage Days: India?

2009-10-01 Thread Prabhu Ramachandran
On Friday 02 October 2009 02:55 AM, William Stein wrote: >> Can you please give me a rough estimate of the number of people you >> expect for this? The biggest issue is getting the guest house booked >> for local accommodation and it would really help if we have a decent >> estimate so I can book

[sage-devel] Re: [Enthought-dev] mayavi in sage, howto

2009-03-05 Thread Prabhu Ramachandran
On 03/06/09 09:40, Ondrej Certik wrote: > Hi, > > I spent last couple days figuring out how to get mayavi2 installed > into Sage, using offscreen rendering (e.g. so that you can use mayavi > from ipython over ssh, without X), so that it can be used in the > notebook easily. It was a lot of pain,

[sage-devel] Re: [Enthought-dev] mayavi in sage, howto

2009-03-05 Thread Prabhu Ramachandran
On 03/06/09 12:14, Ondrej Certik wrote: >> The error messages are very annoying though. Prabhu, do you know how >> to fix it? But it works, that's the most important. > > Ok, I fixed that by commenting the warning messages in the C++ file > and reuploaded the spkg package. Well. :) Right, thats

[sage-devel] Re: [Enthought-dev] mayavi in sage, howto

2009-03-05 Thread Prabhu Ramachandran
On 03/06/09 12:45, Prabhu Ramachandran wrote: > On 03/06/09 12:14, Ondrej Certik wrote: >>> The error messages are very annoying though. Prabhu, do you know how >>> to fix it? But it works, that's the most important. >> Ok, I fixed that by commenting the warning

[sage-devel] Re: [Enthought-dev] mayavi in sage, howto

2009-03-06 Thread Prabhu Ramachandran
On 03/06/09 13:18, Ondrej Certik wrote: >> After I do that it works fine. However, it might be nice to fix this be >> default by changing the content type response? > > That's weird, it works for me and I also use firefox. Do you know how > I can reproduce the problem? Unfortunately, I have no

[sage-devel] Re: mayavi in sage, howto

2009-03-06 Thread Prabhu Ramachandran
On 03/07/09 01:45, Jaap Spies wrote: > Some questions: > > 1) Do you need more than just mayavi2 from the ETS? If you only need mayavi2 > there are a lot less dependencies: only vtk and wxPython IIRC. In addition, you can install mayavi2 without any dependency on Envisage or the traits UI b

[sage-devel] 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
Dear Sage developers, Is it possible to view an x3d file from a sage worksheet (assuming my browser has the necessary plugin or java support for example)? I saw numerous mentions of x3d support in the source code in plot/plot3d. For example if one generates a 'foo.png', the image is immediate

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
Hi Carl, On 03/08/09 22:31, Carl Witty wrote: > If you want to add such support, the place to look is > sage/server/notebook/cell.py, in the function files_html. This > function takes a list of all the files that were produced by > evaluating the cell, and produces HTML with display or download

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
On 03/08/09 19:19, William Stein wrote: >> 3D interactivity. Here are a few simple examples from Ondrej's site >> that I made from some mlab examples: >> >> http://nb.hpfem.org/home/pub/16 > > Awesome!! Thanks, yes, the sage notebook is awesome! >> Another option would be to produce output su

[sage-devel] Re: 3d display: x3d?

2009-03-08 Thread Prabhu Ramachandran
On 03/09/09 03:01, Ondrej Certik wrote: >> >> >> and it seems to work with my setup. I am using freewrl >> http://freewrl.sourceforge.net/ on Ubuntu 8.04. > > I just tried that too and it works for me as well: > > http://nb.hpfem.org/home/pub/15/ > > and clearly I could now create some nice 3d

[sage-devel] Re: 3d display: x3d?

2009-03-09 Thread Prabhu Ramachandran
On 03/09/09 23:11, Robert Bradshaw wrote: > Way back when I started working on the 3d stuff, this is what I > imagined people would do. Unfortunately, x3d viewers aren't common > (meaning not commonly installed, they are easy to get) and using an > applet to install and/or view them was unwi

[sage-devel] Re: 3d display: x3d?

2009-03-11 Thread Prabhu Ramachandran
On 03/10/09 16:41, Jason Grout wrote: >> http://nb.hpfem.org/home/pub/16 > > I just installed FreeWRL and looked at this. Awesome! It looks like > this might be the best way to get good opengl graphics (and mayavi!) in > the sage notebook while we still wait on the possibility of an html >

[sage-devel] Re: Enthought tools install issues

2009-03-19 Thread Prabhu Ramachandran
On 03/18/09 21:07, Jaap Spies wrote: > You need the development part of tcl/tk. In Ubuntu you should do > something like apt-get install tk8.4-dev or so. I don't remember > exactly (I'm not on Ubuntu right now). I'm not sure why you need to enable VTK_USE_TK at all. I think it would be safe to

[sage-devel] Re: quick reference

2009-03-28 Thread Prabhu Ramachandran
On 03/29/09 08:29, William Stein wrote: > I created a new 2-page Sage quick reference based on the one Peter > Jipsen made a while ago. > > http://sage.math.washington.edu/home/wstein/patches/quickref.pdf This is very nice. Thanks. prabhu --~--~-~--~~~---~--~~

[sage-devel] Re: mayavi spkg packages work

2009-04-06 Thread Prabhu Ramachandran
On 04/03/09 20:55, Ondrej Certik wrote: > I just want to confirm, that the packages and instructions here for > getting mayavi to work in the notebook (e.g. offscreen rendering, > without having X installed): > > http://sage.math.washington.edu/home/jsp/SPKGS/MayaviOSMesa/ > > work for me on bot

[sage-devel] Re: mayavi spkg packages work

2009-04-08 Thread Prabhu Ramachandran
On 04/06/09 17:26, François Bissey wrote: > I was toying with the ebuild on Gentoo the other day and there > we haven't been able to get rid of the dependency on wxpython > although I haven't checked the command line version (was trying The mayavi2 command line application will always require a U

[sage-devel] Re: notebook and sage in path

2009-04-17 Thread Prabhu Ramachandran
On 04/17/09 13:37, mabshoff wrote: > If your plan is still to recreate all scripts to be BSD the above > would be more or less pointless, so you need to let us know what you > want to do. I really don't want to relicense my code in $SAGE_LOCAL/ > bin/sage-$FOO to BSD since the EPD for example has

[sage-devel] Re: notebook and sage in path

2009-04-21 Thread Prabhu Ramachandran
On 04/17/09 15:05, mabshoff wrote: > On Apr 17, 2:25 am, Prabhu Ramachandran > wrote: >> On 04/17/09 13:37, mabshoff wrote: >> >>> If your plan is still to recreate all scripts to be BSD the above >>> would be more or less pointless, so you need to let us kn

[sage-devel] Re: notebook and sage in path

2009-04-21 Thread Prabhu Ramachandran
On 04/21/09 13:31, mabshoff wrote: > Ok. I tried to find what I was thinking off and could not find it, so > it seems that my recollection was wrong, so mea culpa. Thanks for > pinging Enthought on this to set the record straight. Not a problem. Thanks for all the excellent work on Sage! cheers