On Thu, Jul 9, 2009 at 7:47 PM, Minh Nguyen<nguyenmi...@gmail.com> wrote:
>
> Hi,
>
> I'm CC'ing this to sage-windows, as your questions are very relevant
> to the Windows port of Sage.
>
> --
> Regards
> Minh Van Nguyen
>
> On Fri, Jul 10, 2009 at 6:46 AM, DigDug_the_2nd<dugthemath...@gmail.com> 
> wrote:
>>
>> Thanks, that's really helpful.
>> For Visual Studio, can I get away with installing the Express Version
>> or even just Visual C++ 2008 if its just being used as a compiler? Or
>> does it draw on the .NET framework or parts of Visual Studio other
>> than the compiler itself in order to make Sage work with Windows? What
>> are the other Windows development tools needed . . . just Python 2.6
>> or 7zip & G95 that are listed in the Sage for Windows Wiki?
>> My concern with licensing was that somehow some code from Visual
>> Studio would get used in Sage and my programs would use Sage's code
>> and then if I wanted to do anything remotely commercial I would have
>> to pay $1000 license for Visual Studio. But I think its more like

No, that is not the case.  That would be a violation of the GPL, for starters.

>> Visual Studio enables the open source Sage code to get along with the
>> Windows environment.
>> Another question about getting rid of Visual Studio once Sage is
>> installed . . .
>> once Visual Studio is gone, will I still be able to install extra
>> packages to Sage? Won't extra packages be Python code that will get
>> installed
>> through Sage's iPython shell? What if there are extra packages that

You will need visual studio to install *source* spkg's.  Probably on
windows we'll always make available binary packages that can trivially
be installed without a compiler.  This is quite easy to do on Windows
(but a lot harder on Linux).

Note that sage-windows doesn't completely exist yet, so this is all
pretty theoretical.


>> are in c or c++ . . . once Sage is installed will it handle the
>> compilation of c or c++ code like it does the Pyhton code?



>>
>> dug
>> On Jul 9, 4:23 am, Minh Nguyen <nguyenmi...@gmail.com> wrote:
>>> Hi,
>>>
>>> On Thu, Jul 9, 2009 at 3:35 PM, DigDug_the_2nd<dugthemath...@gmail.com> 
>>> wrote:
>>>
>>> >     I installed Sage binary under WINDOWs Vista using the VM Player
>>> > as described in the Installation Manual . . . so far so good . . . but
>>> > I'm a little unsure what the VM Player is actually doing. Sage is not
>>> > installed in the ordinary sense that a program is usually
>>> > installed . . . right? What I'd really like to do is put the Sage_ROOT
>>> > on the PATH and then access all the packages in Sage and the
>>> > additional ones added to it. Can I do this by pointing the PATH to the
>>> > folder that contains the VM Player files that I downloaded as the
>>> > binary distribution for WINDOWs?
>>>
>>> Short answer: No.
>>>
>>> Longer answer: Currently the best way to run/use Sage under Windows is
>>> to use the VMware image. This essentially is an Ubuntu Linux image
>>> that is loaded using the WMware player. That means that the compiled
>>> version of Sage in that VMware image has been compiled for a Linux
>>> system, where the binary format is different from Windows. It's like
>>> you can't execute a Linux binary under Windows and vice versa (unless
>>> you use an emulator or a virtual machine).
>>>
>>> >    If not then I just read a new post in the WINDOWs Sage Wiki about
>>> > using Visual Studio 2008 & G95 to build Sage from source. That doesn't
>>> > sound so bad, but can I uninstall Visual Studio once I'm done using it
>>> > to build Sage . . .
>>> > or will that mess up the way Sage works?
>>>
>>> Once you've used MS Visual Studio 2008 (and G95) to compile the
>>> Windows port of Sage, then you don't really need the compiler any more
>>> in order to run a binary. So, yes, you should be able to remove MS
>>> Visual Studio 2008 after successful compilation.
>>>
>>> > Will I be able to make stand
>>> > alone programs that are not running on Visual Studio at all (and
>>> > aren't effected by its licensing?).
>>>
>>> I'm not sure what you're talking about here. Can you elaborate more on
>>> this point?
>>>
>>> >    If I have gcc installed why is it not possible to install the
>>> > source code with that?
>>>
>>> Sage currently has over 90 components. Many of those components are
>>> themselves separate open source projects. However, some of these
>>> components currently don't have Windows ports and someone has to go
>>> through all such components and port each and every one of them to
>>> Windows. If you're interested in porting Sage to Windows, a good place
>>> for that is the sage-windows mailing list.
>>>
>>> >    Finally, if I choose to build the source code, is it OK to do that
>>> > without (immediately) erasing or uninstalling my present binary
>>> > distribution in its VM Player form?
>>>
>>> The VMware image and the Windows port source distribution are two
>>> separate packages. So if you have Visual Studio 2008 and other
>>> development tools for Windows, then you can grab a Windows port source
>>> distribution from
>>>
>>> http://windows.sagemath.org/
>>>
>>> and compile it. They don't and shouldn't affect one another.
>>>
>>> --
>>> Regards
>>> Minh Van Nguyen
>
> >
>



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

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

Reply via email to