[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-08 Thread Jean-Pierre Flori
On Wednesday, April 9, 2014 12:06:14 AM UTC+2, Dima Pasechnik wrote: > > On 2014-04-08, Evan Oman > wrote: > > > > > >< > https://lh3.googleusercontent.com/-oJq3iWFDFmg/U0RoSaeJluI/DMQ/yQhAr6gT1Z8/s1600/Screenshot+%282%29.png> > > > > AHA! That did it! > > > > So along with comment

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-08 Thread Dima Pasechnik
On 2014-04-08, Evan Oman wrote: > > > > AHA! That did it! > > So along with commenting out the lines in _rinterface that Sebastien > mentioned I have a running Sage install! > > I do

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-08 Thread Evan Oman
AHA! That did it! So along with commenting out the lines in _rinterface that Sebastien mentioned I have a running Sage install! I do have the same documentation issue it seems so

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-08 Thread Sebastien Gouezel
Le 08/04/2014 20:52, Evan Oman a écrit : I tried adding | ||defined(_CYGWIN_) There should be two underscores on each side of CYGWIN, i.e., __CYGWIN__ instead of _CYGWIN_ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-06 Thread Jean-Pierre Flori
or without the -c, don't remember. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sa

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-06 Thread Jean-Pierre Flori
On Sunday, April 6, 2014 11:34:45 PM UTC+2, Evan Oman wrote: > > Alright so total noob question here but how do I make these changes to the > rpy2 files? > > I tried unpacking the tarball in the upstream folder(??), made the > appropriate changes, and then repackaged it but now I get a checksum

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-06 Thread Evan Oman
Alright so total noob question here but how do I make these changes to the rpy2 files? I tried unpacking the tarball in the upstream folder(??), made the appropriate changes, and then repackaged it but now I get a checksum error. Is there some sort of touch or other command I need to use to upd

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-06 Thread Jean-Pierre Flori
On Sunday, April 6, 2014 4:40:35 PM UTC+2, Sebastien Gouezel wrote: > > Le 06/04/2014 13:45, Sebastien Gouezel a écrit : > > I am also trying to compile sage (6.2 beta 4) under Cygwin. I got a > > working copy of sage, but the doc does not build (so, I can not try > > "make test"). Here is the

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-06 Thread Sebastien Gouezel
Le 06/04/2014 13:45, Sebastien Gouezel a écrit : I am also trying to compile sage (6.2 beta 4) under Cygwin. I got a working copy of sage, but the doc does not build (so, I can not try "make test"). Here is the beginning of the log: Building reference manual, first pass. [combinat ] Configurati

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-06 Thread Sebastien Gouezel
I am also trying to compile sage (6.2 beta 4) under Cygwin. I got a working copy of sage, but the doc does not build (so, I can not try "make test"). Here is the beginning of the log: Building reference manual, first pass. [combinat ] Configuration error: [combinat ] There is a syntax error in

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-04 Thread Jean-Pierre Flori
On Friday, April 4, 2014 10:03:44 PM UTC+2, Jean-Pierre Flori wrote: > > IIRC, you should modify lines like the following one: > > https://bitbucket.org/lgautier/rpy2/src/a66387e12e2419141dadb7464ea9205595ef89af/rpy/rinterface/na_values.c?at=default#cl-206 > to include __CYGWIN__ in addition to W

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-04 Thread Jean-Pierre Flori
IIRC, you should modify lines like the following one: https://bitbucket.org/lgautier/rpy2/src/a66387e12e2419141dadb7464ea9205595ef89af/rpy/rinterface/na_values.c?at=default#cl-206 to include __CYGWIN__ in addition to Win32 and Win64. -- You received this message because you are subscribed to the

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-04 Thread Jean-Pierre Flori
On Friday, April 4, 2014 9:14:23 PM UTC+2, Evan Oman wrote: > > Alright so I downloaded 6.2 beta 5, ran it, and fixed a couple issues with > that rebasing script you gave me and other things that we figured out > before. > > I do think the build has progressed more than my previous attempts bu

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-04-04 Thread Evan Oman
Alright so I downloaded 6.2 beta 5, ran it, and fixed a couple issues with that rebasing script you gave me and other things that we figured out before. I do think the build has progressed more than my previous attempts but now it got stuck with this error: ===

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-31 Thread Jean-Pierre Flori
On Friday, March 21, 2014 9:31:40 PM UTC+1, Evan Oman wrote: > > Alright here is the latest error after running the -b version of build, > doesn't mention any dll's but is it the same issue? > > Compiling sage/ext/interpreters/wrapper_el.pyx because it changed. > Cythonizing sage/algebras/lette

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-21 Thread Evan Oman
Alright here is the latest error after running the -b version of build, doesn't mention any dll's but is it the same issue? Compiling sage/ext/interpreters/wrapper_el.pyx because it changed. Cythonizing sage/algebras/letterplace/free_algebra_element_letterplace.pyx Traceback (most recent call la

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-18 Thread Jean-Pierre Flori
On Tuesday, March 18, 2014 4:11:12 PM UTC+1, Evan Oman wrote: > > That line doesn't seem to change anything for me, I will have to try some > of the other rebasing scripts that Dima mentioned. I will let you know if I > find anything that works. >> >> >> There is little hope... Make sure that

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-18 Thread Evan Oman
That line doesn't seem to change anything for me, I will have to try some of the other rebasing scripts that Dima mentioned. I will let you know if I find anything that works. On Tuesday, March 18, 2014 3:09:23 AM UTC-5, Jean-Pierre Flori wrote: > > > > On Tuesday, March 18, 2014 3:13:32 AM UTC

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-18 Thread Jean-Pierre Flori
By the way, some really easy tickets need review for the Cygwin 64 port where there should be less rebasing issues: * http://trac.sagemath.org/ticket/15366 for GCC 4.7.3. * http://trac.sagemath.org/ticket/15678 for R (upstream does not care, I provided a patch and they just closed the bug report

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-18 Thread Jean-Pierre Flori
On Tuesday, March 18, 2014 3:13:32 AM UTC+1, Evan Oman wrote: > > Where should I run this from? ASH console, command prompt, cygwin, or sage > shell? Also should I replace $SAGE_ROOT with my path? Or is that some sort > of path variable. > > You can run it from bash, even without admin privile

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-17 Thread Evan Oman
Where should I run this from? ASH console, command prompt, cygwin, or sage shell? Also should I replace $SAGE_ROOT with my path? Or is that some sort of path variable. On Sunday, March 16, 2014 3:36:21 PM UTC-5, Jean-Pierre Flori wrote: > > I think the easiest way to deal with rebasing right no

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-17 Thread Jean-Pierre Flori
For the only static bz2 issue, I opened http://trac.sagemath.org/ticket/15967. I just slightly modified the existing makefile. Another solution might be to use the autotools build system made by the mingw folk (and use by the cygwin folk, not sure what linux distros do). -- You received this me

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-16 Thread Jean-Pierre Flori
I think the easiest way to deal with rebasing right now is to run: * cd $SAGE_ROOT && find . -name "*.dll" > dlls && rebase -O -T dlls -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-14 Thread Dima Pasechnik
On 2014-03-14, Evan Oman wrote: > Alright I found an old version of freetype in a spkg on here, > installed > it, and the build continued and installed pillow successfully. > > After successfully installing several other compone

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-14 Thread Evan Oman
Alright I found an old version of freetype in a spkg on here, installed it, and the build continued and installed pillow successfully. After successfully installing several other components I got a build fail with this message

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-14 Thread Jean-Pierre Flori
On Friday, March 14, 2014 4:57:33 PM UTC+1, Evan Oman wrote: > > So would a solution be to somehow roll back my version of freetype then? > Or would a more aggressive patch be required? > > That should work unless something in Sage explicitely relies on new features of freetype (if there are an

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-14 Thread Evan Oman
So would a solution be to somehow roll back my version of freetype then? Or would a more aggressive patch be required? On Friday, March 14, 2014 8:30:50 AM UTC-5, Jean-Pierre Flori wrote: > > I reproduced the problem and finally narrowed the issue: > * bzip2 only produces a static lib, > * freety

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-14 Thread Jean-Pierre Flori
I reproduced the problem and finally narrowed the issue: * bzip2 only produces a static lib, * freetype 2.3.5 which we used to ship did not use bz2, whereas freetype 2.5.2 does. * libtool refuses to put the static lib within the shared one (on Cygwin, no problem on Linux). On Friday, March 14, 2

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-13 Thread Evan Oman
I tried the autogen idea with my virtual Ubuntu 12.04, ran the autogen.sh, retared it, and tried reinstalling but with no avail. Here was the end of the make output: collect2: error: ld returned 1 exit status error: command 'gcc' failed with exit status 1 Error building / installing Pillow real

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-13 Thread Jean-Pierre Flori
This might just be another issue like in http://trac.sagemath.org/ticket/15677 Or the order in which arguments are fed to libtool: "-lz -lbz2 -L/home/evan.oman/sage-6.1/local/lib -lpng12 -no-undefined". Whatsoever, it seems freetype decided not to find the bz2 lib and only built a static archive

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-13 Thread Jean-Pierre Flori
I would need the bz2 and freetype logs. On Thursday, March 13, 2014 1:43:51 AM UTC+1, Evan Oman wrote: > > Oh and here is the full Pillow log. It seems to fail after trying this: > > building 'PIL._imagingft' extension > > I remember that being mentioned somewhere but without a solution. > > On We

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Evan Oman
Yep the admin thing did it, successfully installed gf2x. Don't know why I wasn't running cygwin as admin the entire time But now I got an error on Pillows which I understand to be an image manipulation liubrary for python: /home/evan.oman/sage-6.1/local/var/tmp/sage/build/freetype-2.5.2.p0/

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Jean-Pierre Flori
On Wednesday, March 12, 2014 10:08:32 PM UTC+1, Dima Pasechnik wrote: > > On 2014-03-12, Evan Oman > wrote: > > False alarm, I let it sit overnight and it appeared to pass after about > 6 > > hours of running. > > > > However, no surprise, another package halted the build with the error: >

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Dima Pasechnik
On 2014-03-12, Evan Oman wrote: > False alarm, I let it sit overnight and it appeared to pass after about 6 > hours of running. > > However, no surprise, another package halted the build with the error: > > cat ../gf2x/gf2x-thresholds.h > tuned_thresholds.h > ./update-thresholds -o tuned_thresh

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Evan Oman
False alarm, I let it sit overnight and it appeared to pass after about 6 hours of running. However, no surprise, another package halted the build with the error: cat ../gf2x/gf2x-thresholds.h > tuned_thresholds.h ./update-thresholds -o tuned_thresholds.h < tunetoom.res /bin/sh: ./update-thres

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Jean-Pierre Flori
On Wednesday, March 12, 2014 11:10:40 AM UTC+1, Jean-Pierre Flori wrote: > > > > On Wednesday, March 12, 2014 11:07:38 AM UTC+1, Dima Pasechnik wrote: >> >> On 2014-03-12, Evan Oman wrote: >> > Hmm, it is just sitting there on that line again, is it expecting >> input? It >> > seems to be pas

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Jean-Pierre Flori
On Wednesday, March 12, 2014 11:07:38 AM UTC+1, Dima Pasechnik wrote: > > On 2014-03-12, Evan Oman > wrote: > > Hmm, it is just sitting there on that line again, is it expecting input? > It > > seems to be passing all of the tests. > > you might instead just install the relevant Cygwin libs,

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Dima Pasechnik
On 2014-03-12, Evan Oman wrote: > Hmm, it is just sitting there on that line again, is it expecting input? It > seems to be passing all of the tests. you might instead just install the relevant Cygwin libs, and use them, instead of building Altas. See SAGE_ATLAS_LIB in http://www.sagemath.org/do

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-12 Thread Jean-Pierre Flori
Tuning ATLAS is slow. On Wednesday, March 12, 2014 4:19:43 AM UTC+1, Evan Oman wrote: > > Hmm, it is just sitting there on that line again, is it expecting input? > It seems to be passing all of the tests. > > On Tuesday, March 11, 2014 10:08:07 PM UTC-5, Evan Oman wrote: >> >> Awesome, installin

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Evan Oman
Hmm, it is just sitting there on that line again, is it expecting input? It seems to be passing all of the tests. On Tuesday, March 11, 2014 10:08:07 PM UTC-5, Evan Oman wrote: > > Awesome, installing python 2.7.5.p2 got me past the readline error and it > continued building from there. > > It

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Evan Oman
Awesome, installing python 2.7.5.p2 got me past the readline error and it continued building from there. It ran for about 30 minutes(running a ton of sanity tests, a good sign?), then froze here for an hour or two: /cygdrive/c/cygwin//home/evan.oman/sage-6.1/local/var/tmp/sage/build/atlas-3.1

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Jean-Pierre Flori
I did not look at the logs yet, but you definitely need python 2.7.5.p2 which is not in the 6.1 series. See http://trac.sagemath.org/ticket/15317 On Tuesday, March 11, 2014 7:32:28 PM UTC+1, Evan Oman wrote: > > Alright so I have attached the entire Python log so hopefully that will > contain wh

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread mmarco
That is what singular does, right? El martes, 11 de marzo de 2014 11:23:57 UTC+1, Dima Pasechnik escribió: > > On 2014-03-11, Jean-Pierre Flori > wrote: > > > > > > On Tuesday, March 11, 2014 10:20:08 AM UTC+1, mmarco wrote: > >> > >> Is it possible now to build sage on cygwin and obtain some

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Dima Pasechnik
On 2014-03-11, Jean-Pierre Flori wrote: > > > On Tuesday, March 11, 2014 10:20:08 AM UTC+1, mmarco wrote: >> >> Is it possible now to build sage on cygwin and obtain something that can >> be distributed? In that case, maybe we should include that in the download >> section. >> > I'd say mostly y

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Jean-Pierre Flori
On Tuesday, March 11, 2014 10:20:08 AM UTC+1, mmarco wrote: > > Is it possible now to build sage on cygwin and obtain something that can > be distributed? In that case, maybe we should include that in the download > section. > I'd say mostly yes, just like on linux. But some people said we shou

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread mmarco
Is it possible now to build sage on cygwin and obtain something that can be distributed? In that case, maybe we should include that in the download section. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Jean-Pierre Flori
In fact you would need http://trac.sagemath.org/ticket/15317 which is merged but in a 6.2 beta. On Tuesday, March 11, 2014 9:15:53 AM UTC+1, Jean-Pierre Flori wrote: > > You can have a look at http://trac.sagemath.org/wiki/Cygwin64Port. > My last try was with 5.13 on Cygwin64, but some of the iss

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-11 Thread Jean-Pierre Flori
You can have a look at http://trac.sagemath.org/wiki/Cygwin64Port. My last try was with 5.13 on Cygwin64, but some of the issues can be 32/64 agnostic and 5.13 and 6.1 are not that different. The only one on the page which might affect you at this pooint is either rebasing or a problem with syste

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-10 Thread Dima Pasechnik
On 2014-03-11, Evan Oman wrote: > *Within the readline module log? * no, in the python log (it's most probable that the building of python's readline extension failed). (and/or in the full install.log) > > *Everything seems to be fine in there, here is the last bit of the readline > log:* >

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-10 Thread Evan Oman
*Within the readline module log? * *Everything seems to be fine in there, here is the last bit of the readline log:* make[4]: Leaving directory '/home/evan.oman/sage-6.1/local/var/tmp/sage/build/readline-6.2.p4/src/doc' ( cd shlib ; make -w DESTDIR= install ) make[4]: Entering directory '/home

[sage-devel] Re: Building Sage with Cygwin 32 bit

2014-03-10 Thread Dima Pasechnik
On 2014-03-10, Evan Oman wrote: > Hi all, > > I am trying to build Sage 6.1 from source on Cygwin(something I have seen > lots of support pages about so I hope this isn't a repost). > > I have all the required packages and everything runs smoothly until the > Python install section of the build