[sage-devel] Re: no trac email notification

2012-02-25 Thread Dima Pasechnik
In gmane.comp.mathematics.sage.devel, you wrote:
> Some days ago I postet in thread "trac attachment notification", see
> [1], that I don't get mails when a ticket I participated in was
> changed. I posted there, since I thought there was a connection to an
> attachment.
>
> Now I opened a new ticket (#12564} and didn't get a notification mail.
> So it seems that there is a problem.

Could you check that trac emails to you do not land in spam?

>
> Here the message form the other thread:
>
> I do not receive trac e-mail notifications since 10-02-2012. The last
> mail I got was on 09-02-2012. It was from #8718. There should be a
> couple of other notifications on this ticket, but I received none.
> [...]
>
> Daniel
>
> [1] 
> http://groups.google.com/group/sage-devel/browse_thread/thread/be418f2c164155e5
>

-- 
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


[sage-devel] Build of GMP-ECM fails for sage 4.8 (on a buildbot node)

2012-02-25 Thread Jonathan Hanke
Hi,

I was trying to build sage-4.8 on a Sun Fire 4450 server (
parsley.math.uga.edu) running Redhat linux and I'm having some issues.  It
appears to fail when building GMP-ECM, but I'm a little confused because
this machine is included in the automated buildbot testing framework.  I
have included the error message from sage-4.8/spkg/logs/ecm-6.3.p3.log
below.  Any comments are appreciated!  Thanks,

-Jon
 =)



===

jonhanke@[/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8]: make
...
...
...
configure: OpenMP disabled
configure: Memory debugging disabled
make[2]: Entering directory
`/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src/missing
--run aclocal-1.11 -I m4
/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src/missing:
line 52: aclocal-1.11: command not found
WARNING: `aclocal-1.11' is missing on your system.  You should only need it
if
 you modified `acinclude.m4' or `configure.in'.  You might want
 to install the `Automake' and `Perl' packages.  Grab them from
 any GNU archive site.
 cd . && /bin/sh
/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src/missing
--run automake-1.11 --gnu
/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src/missing:
line 52: automake-1.11: command not found
WARNING: `automake-1.11' is missing on your system.  You should only need
it if
 you modified `Makefile.am', `acinclude.m4' or `configure.in'.
 You might want to install the `Automake' and `Perl' packages.
 Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src/missing
--run autoconf
aclocal.m4:20: warning: this file was generated for autoconf 2.63.
You have another version of autoconf.  It may work, but is not guaranteed
to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically
`autoreconf'.
configure:1535: error: possibly undefined macro: _m4_text_wrap_word
  If this token and others are legitimate, please use m4_pattern_allow.
  See the Autoconf documentation.
make[2]: *** [configure] Error 1
make[2]: Leaving directory
`/sage/jonhanke/SAGE_parsley_Build_Testing/sage-4.8/spkg/build/ecm-6.3.p3/src'
Error building GMP-ECM.

real0m41.358s
user0m5.777s
sys 0m9.857s

Error installing package ecm-6.3.p3

...
...
...

-- 
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


Re: [sage-devel] Google PageRank and related methods for Graphs in Sage

2012-02-25 Thread Jorge Catumba Ruiz
I've checked the NetworkX library and I found that PageRank is already 
programmed. So I will program the other methods since these aren't very 
popular, but are important.
>
>
Thanks.

-- 
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


Re: [sage-devel] Google PageRank and related methods for Graphs in Sage

2012-02-25 Thread Jorge Catumba Ruiz
Thanks William, I will check that. My principal interest is in the other
three methods since that are important in the study of Complex Networks. We
use the PageRank in order to make a  comparison with the other methods.

Greetings

-- 
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


Re: [sage-devel] Google PageRank and related methods for Graphs in Sage

2012-02-25 Thread William Stein
On Sat, Feb 25, 2012 at 3:14 PM, Jorge Catumba Ruiz
 wrote:
> Hi,
>
> I'm considering to implement the Google PageRank and related methods for
> Graphs in Sage. Those methods are "MICMAC" method of Michael Godet, "PWP"
> method of Rafael Díaz and "Heat Kernel" method of Fang Chung. What do you
> think about this?

If you type "google page rank python" into google and *look* carefully
through the first few dozen results, you'll get some implementations
of it in Python, which of course means "implementations that would
work in Sage". E.g.,

http://www.lifeyun.com/the-google-pagerank-algorithm-in-126-lines-of-python.html

>
> Thanks in advance,
>
> Jorge Catumba
>
> --
> 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



-- 
William Stein
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


[sage-devel] $CC in sage/atlas packages

2012-02-25 Thread Michael Orlitzky

I've been cleaning up this old ticket,

  http://trac.sagemath.org/sage_trac/ticket/2999

because most of the issues are either fixed or being worked on 
independently. I don't know anything about {atlas,sage}.spkg though.


Does anyone know if the ticket is still valid for them?

--
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


[sage-devel] Google PageRank and related methods for Graphs in Sage

2012-02-25 Thread Jorge Catumba Ruiz
Hi,

I'm considering to implement the Google PageRank and related methods for 
Graphs in Sage. Those methods are "MICMAC" method of Michael Godet, "PWP" 
method of Rafael Díaz and "Heat Kernel" method of Fang Chung. What do you 
think about this?

Thanks in advance,

Jorge Catumba

-- 
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


[sage-devel] Re: Help with simple C++/Cython Example

2012-02-25 Thread Volker Braun
By a dubious design decision, OSX has case-insensitive filenames. So the 
auto-generated Rectangle.cpp clobbers the rectangle.cpp file. This should 
be considered to be a OSX bug, really.


On Saturday, February 25, 2012 2:12:49 PM UTC-8, jonh...@gmail.com wrote:
>
> Any comments are appreciated.  Also, it seems that Cython converts the 
> Rectangle.cpp file to a "cythoned" file rectangle.cpp, deleting the 
> original file in the process.  Is this normal/ok?
>
>

-- 
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


[sage-devel] Help with simple C++/Cython Example

2012-02-25 Thread Jonathan Hanke
Hi,

I was trying to get the C++ cython example described in the docs (
http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html) to build in
Sage 4.8, but I'm getting some errors I don't understand.  I created a
separate development branch called "sage-c_extensions", added extension
lines

Extension('sage.quadratic_forms.rectangle',
  sources = ['sage/quadratic_forms/rectangle/rectangle.pyx',
 'sage/quadratic_forms/rectangle/Rectangle.cpp'],
  language = "c++"),

in the file sage-c_extensions/sage/module_list.py, copied the Rectangle.h
and Rectangle.cpp files from the tutorial into a new
folder sage-c_extensions/sage/quadratic_forms/rectangle/, and created a
rectangle.pyx file in that folder with contents

cdef extern from "Rectangle.h" namespace "shapes":
cdef cppclass Rectangle:
Rectangle(int, int, int, int)
int x0, y0, x1, y1
int getLength()
int getHeight()
int getArea()
void move(int, int)


cdef class PyRectangle:
cdef Rectangle *thisptr  # hold a C++ instance which we're wrapping
def __cinit__(self, int x0, int y0, int x1, int y1):
self.thisptr = new Rectangle(x0, y0, x1, y1)
def __dealloc__(self):
del self.thisptr
def getLength(self):
return self.thisptr.getLength()
def getHeight(self):
return self.thisptr.getHeight()
def getArea(self):
return self.thisptr.getArea()
def move(self, dx, dy):
self.thisptr.move(dx, dy)


When I run "./sage -br c_extensions" I get the error message

Updating Cython code
Building modified file sage/quadratic_forms/rectangle/rectangle.pyx.
Executing 1 command (using 1 thread)
python `which cython` --cplus --old-style-globals
--disable-function-redefinition --embed-positions --directive
cdivision=True,autotestdict=False,fast_getattr=True
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/devel/sage-c_extensions -o
sage/quadratic_forms/rectangle/rectangle.cpp
sage/quadratic_forms/rectangle/rectangle.pyx
sage/quadratic_forms/rectangle/rectangle.pyx -->
/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/lib/python2.6/site-packages//sage/quadratic_forms/rectangle/rectangle.pyx
Time to execute 1 command: 16.2038929462 seconds
Finished compiling Cython code (time = 31.5890960693 seconds)
running install
running build
running build_py
running build_ext
building 'sage.quadratic_forms.rectangle' extension
Executing 1 command (using 1 thread)
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/include
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/include/csage
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/devel/sage/sage/ext
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/include/python2.6 -c
sage/quadratic_forms/rectangle/rectangle.cpp -o
build/temp.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle/rectangle.o
-w
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -I/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/include
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/include/csage
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/devel/sage/sage/ext
-I/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/include/python2.6 -c
sage/quadratic_forms/rectangle/Rectangle.cpp -o
build/temp.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle/Rectangle.o
-w
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
C/ObjC but not for C++
g++ -L/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/lib -bundle -undefined
dynamic_lookup
build/temp.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle/rectangle.o
build/temp.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle/Rectangle.o
-L/Users/jonhanke/Dropbox/SAGE/sage-4.8/local/lib -lcsage -lstdc++ -lntl -o
build/lib.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle.so
ld: duplicate symbol _initrectangle in
build/temp.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle/Rectangle.o
and
build/temp.macosx-10.6-i386-2.6/sage/quadratic_forms/rectangle/rectangle.o
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1
sage: There was an error installing modified sage library code.


Any comments are appreciated.  Also, it seems that Cython converts the
Rectangle.cpp file to a "cythoned" file rectangle.cpp, deleting the
original file in the process.  Is this normal/ok?

Thanks,

-Jon
 =)

-- 
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


Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Jan Groenewald
Hi

As an aside, can I get a hold of the scripts that build the binaries
available
for download on sagemath.org and mirrors (for Ubuntu LTS only). As a first
step to getting packaging skills and having a deb for people to install, I
could
try make a virtual debian package that contains the sage prebuilt, and
untars
it, sets permissions, and sets the SAGE_ROOT in the launch script.

Regards,
Jan


On 25 February 2012 22:01, Jan Groenewald  wrote:

> Hi
>
> On 25 February 2012 21:33, Francois Bissey wrote:
>
>> Hi Jan,
>>
>> we'll need a bit more of your output, especially if you ran parallel make.
>> If you could link to the whole maxima build log (in skpg/log) that would
>> be most useful.
>>
>>
> The maxima bild logs:
>
> http://users.aims.ac.za/~jan/maxima-5.23.2.p3.log.lzma
>
> That says
> /usr/bin/ld: unrecognized option '-Bsymbolic-functions -Wl'
>
> I hear on #ubtuntu-motu that debuild sets these flags. I'm googling it,
> but not finding much.
>
>
> Regards,
> Jan
>
>
> --
>   .~.
>   /V\ Jan Groenewald
>  /( )\www.aims.ac.za
>  ^^-^^
>
>


-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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


Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Jan Groenewald
Hi

On 25 February 2012 21:33, Francois Bissey  wrote:

> Hi Jan,
>
> we'll need a bit more of your output, especially if you ran parallel make.
> If you could link to the whole maxima build log (in skpg/log) that would
> be most useful.
>
>
The maxima bild logs:

http://users.aims.ac.za/~jan/maxima-5.23.2.p3.log.lzma

That says
/usr/bin/ld: unrecognized option '-Bsymbolic-functions -Wl'

I hear on #ubtuntu-motu that debuild sets these flags. I'm googling it,
but not finding much.

Regards,
Jan


-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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


Re: [sage-devel] Compilation failure of pari (ARM, gcc 4.6.2)

2012-02-25 Thread Julien Puydt
Le samedi 04 février, Julien Puydt a écrit:
> I'll try to investigate where the problem is (pari? gcc? other?), but
> I thought sharing early would raise good suggestions.

Well, the problem was in the gcc version used for precise on ARM, which
has been updated since : I just compiled 5.0beta5 on my AC100 (still
building docs though) ; I only needed the new flint spkg
(http://trac.sagemath.org/sage_trac/ticket/10328).

Snark on #sagemath

-- 
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


Re: [sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Francois Bissey
On Sat, 25 Feb 2012 21:02:46 Jan Groenewald wrote:
> Hi
> 
> I am looking for a Debian or Ubuntu packaging mentor.
> 
> I am not an experienced debian packager, I am learning everything from
> scratch.
> But I am an experienced system administrator.
> 
> I am hoping to find a mentor familiar with both Debian/Ubuntu and sage to
> assist me.
> 
> I am trying to build a deb package for sage. I am doing this on launchpad
> for Ubuntu using
> http://developer.ubuntu.com/packaging/html/packaging-new-software.html
> I would not mind getting Sage into Debian first, but found the Ubuntu
> documentation
> more accessible and am an Ubuntu user.
> 
> I am NOT trying to debianize sage fully -- i.e. I do not want to have sage
> depend
> on debian/ubuntu versions of all the spkg'es, my goal is just to make Sage
> easy to
> install on Ubuntu through a personal package archive, including all sage
> versions of
> spkg'es.
> 
> I have succesfully built sage-4.8 on Ubuntu 12.04 (yes, the development
> version).
> However, when running debuild, maxima fails to build:
> 
> l,-z,relro -L/home/jan/sage-4.8/sagemath/local/lib
> -Wl,--rpath,/home/jan/sage-4.8/sagemath/local/lib
> -L/home/jan/sage-4.8/sagemath/local/lib -lecl -lgmp -lgc -ldl -lm make[4]:
> *** [binary-ecl/maxima] Error 1
> make[4]: Leaving directory
> `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src'
> ***
> Error: Failed to build Maxima.
> ***
> 
> real4m21.449s
> user3m49.458s
> sys0m19.189s
> 
> Error installing package maxima-5.23.2.p3
> 
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>   /home/jan/sage-4.8/sagemath/spkg/logs/maxima-5.23.2.p3.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3 and type 'make' or
> whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>   (cd '/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3' &&
> '/home/jan/sage-4.8/sagemath/sage' -sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> 
> make[2]: *** [installed/maxima-5.23.2.p3] Error 1
> make[2]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg'
> 
> real145m34.953s
> user127m7.853s
> sys8m51.233s
> Error building Sage.
> make[1]: *** [build] Error 1
> make[1]: Leaving directory `/home/jan/sage-4.8/sagemath'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> debuild: fatal error at line 1350:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
> 29 jan@osprey:~/sage-4.8/sagemath$
> 
Hi Jan,

we'll need a bit more of your output, especially if you ran parallel make.
If you could link to the whole maxima build log (in skpg/log) that would
be most useful.

Francois

-- 
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


[sage-devel] Building a deb for sage on Debian/Ubuntu

2012-02-25 Thread Jan Groenewald
Hi

I am looking for a Debian or Ubuntu packaging mentor.

I am not an experienced debian packager, I am learning everything from
scratch.
But I am an experienced system administrator.

I am hoping to find a mentor familiar with both Debian/Ubuntu and sage to
assist me.

I am trying to build a deb package for sage. I am doing this on launchpad
for Ubuntu using
http://developer.ubuntu.com/packaging/html/packaging-new-software.html
I would not mind getting Sage into Debian first, but found the Ubuntu
documentation
more accessible and am an Ubuntu user.

I am NOT trying to debianize sage fully -- i.e. I do not want to have sage
depend
on debian/ubuntu versions of all the spkg'es, my goal is just to make Sage
easy to
install on Ubuntu through a personal package archive, including all sage
versions of
spkg'es.

I have succesfully built sage-4.8 on Ubuntu 12.04 (yes, the development
version).
However, when running debuild, maxima fails to build:

l,-z,relro -L/home/jan/sage-4.8/sagemath/local/lib
-Wl,--rpath,/home/jan/sage-4.8/sagemath/local/lib
-L/home/jan/sage-4.8/sagemath/local/lib -lecl -lgmp -lgc -ldl -lm make[4]:
*** [binary-ecl/maxima] Error 1
make[4]: Leaving directory
`/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3/src'
***
Error: Failed to build Maxima.
***

real4m21.449s
user3m49.458s
sys0m19.189s

Error installing package maxima-5.23.2.p3

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/jan/sage-4.8/sagemath/spkg/logs/maxima-5.23.2.p3.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3 and type 'make' or
whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/home/jan/sage-4.8/sagemath/spkg/build/maxima-5.23.2.p3' &&
'/home/jan/sage-4.8/sagemath/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.

make[2]: *** [installed/maxima-5.23.2.p3] Error 1
make[2]: Leaving directory `/home/jan/sage-4.8/sagemath/spkg'

real145m34.953s
user127m7.853s
sys8m51.233s
Error building Sage.
make[1]: *** [build] Error 1
make[1]: Leaving directory `/home/jan/sage-4.8/sagemath'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc failed
29 jan@osprey:~/sage-4.8/sagemath$




Regards,
Jan


-- 
  .~.
  /V\ Jan Groenewald
 /( )\www.aims.ac.za
 ^^-^^

-- 
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


Re: [sage-devel] Cannot compile sage

2012-02-25 Thread William Stein
On Sat, Feb 25, 2012 at 10:57 AM, Mike Zabrocki
 wrote:
> I've never been able to compile sage for some reason and I always gave

The reason is surely "cruft" in /usr/local.   How about if you rename
/usr/local to /usr/local.orig,
do a clean build, then report what happens?

After your build finishes, you could rename /usr/local.orig back to /usr/local.

William

> up instead of following the instructions to report the error.  OK,
> here goes
>
> I am currently trying to compile sage-4.8
>
> I am using MacOS X 10.5.8 with Dev Tools 3.1.3 (the latest that seems
> to be compatible with OSX 10.5)
>
> 45 minutes into the complie I get errors ... here is what happens in
> the output just before:
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include -fPIC -g
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/ -MT
> wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c  -fno-common -DPIC -o
> .libs/wbmp.o
>  gcc -DHAVE_CONFIG_H -I. -I. -I.
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include -fPIC -g
> -I/Users/zabrocki/Downloads/sage-4.8/local/include
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/ -MT
> wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c -o wbmp.o >/dev/null 2>&1
> /bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g
> -I"/Users/zabrocki/Downloads/sage-4.8/local/include"
> -I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/
> -L/Users/zabrocki/Downloads/sage-4.8/local/lib
> -L/Users/zabrocki/Downloads/sage-4.8/local/lib  -o libgd.la -rpath
> /Users/zabrocki/Downloads/sage-4.8/local/lib -version-info 2:0:0
> gd.lo gdfx.lo gd_security.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo
> gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo
> gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo
> gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo
> gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -liconv -lfontconfig
> -lfreetype -lpng12 -lz
> grep: /usr/local/lib/libfreetype.la: No such file or directory
> sed: /usr/local/lib/libfreetype.la: No such file or directory
> libtool: link: `/usr/local/lib/libfreetype.la' is not a valid libtool archive
> make[4]: *** [libgd.la] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> Error building gd.
>
> real    0m20.361s
> user    0m9.704s
> sys     0m9.796s
> 
> Error installing package gd-2.0.35.p6
> 
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the relevant part of the log file
>  /Users/zabrocki/Downloads/sage-4.8/spkg/logs/gd-2.0.35.p6.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /Users/zabrocki/Downloads/sage-4.8/spkg/build/gd-2.0.35.p6 and type
> 'make' or whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>  (cd '/Users/zabrocki/Downloads/sage-4.8/spkg/build/gd-2.0.35.p6' &&
> '/Users/zabrocki/Downloads/sage-4.8/sage' -sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> 
> make[1]: *** [installed/gd-2.0.35.p6] Error 1
>
> real    51m2.655s
> user    37m16.063s
> sys     10m30.873s
> Error building Sage.
> make: *** [build] Error 1
>
>
> help?
>
> --
> 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



-- 
William Stein
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


[sage-devel] Cannot compile sage

2012-02-25 Thread Mike Zabrocki
I've never been able to compile sage for some reason and I always gave
up instead of following the instructions to report the error.  OK,
here goes

I am currently trying to compile sage-4.8

I am using MacOS X 10.5.8 with Dev Tools 3.1.3 (the latest that seems
to be compatible with OSX 10.5)

45 minutes into the complie I get errors ... here is what happens in
the output just before:

 gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2
-I/Users/zabrocki/Downloads/sage-4.8/local/include
-I/Users/zabrocki/Downloads/sage-4.8/local/include -fPIC -g
-I/Users/zabrocki/Downloads/sage-4.8/local/include
-I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/ -MT
wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c  -fno-common -DPIC -o
.libs/wbmp.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.
-I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2
-I/Users/zabrocki/Downloads/sage-4.8/local/include
-I/Users/zabrocki/Downloads/sage-4.8/local/include -fPIC -g
-I/Users/zabrocki/Downloads/sage-4.8/local/include
-I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/ -MT
wbmp.lo -MD -MP -MF .deps/wbmp.Tpo -c wbmp.c -o wbmp.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc  -fPIC -g
-I"/Users/zabrocki/Downloads/sage-4.8/local/include"
-I/Users/zabrocki/Downloads/sage-4.8/local/include/freetype2/
-L/Users/zabrocki/Downloads/sage-4.8/local/lib
-L/Users/zabrocki/Downloads/sage-4.8/local/lib  -o libgd.la -rpath
/Users/zabrocki/Downloads/sage-4.8/local/lib -version-info 2:0:0
gd.lo gdfx.lo gd_security.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo
gd_gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo
gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo
gdfontl.lo gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdhelpers.lo
gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -liconv -lfontconfig
-lfreetype -lpng12 -lz
grep: /usr/local/lib/libfreetype.la: No such file or directory
sed: /usr/local/lib/libfreetype.la: No such file or directory
libtool: link: `/usr/local/lib/libfreetype.la' is not a valid libtool archive
make[4]: *** [libgd.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
Error building gd.

real0m20.361s
user0m9.704s
sys 0m9.796s

Error installing package gd-2.0.35.p6

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /Users/zabrocki/Downloads/sage-4.8/spkg/logs/gd-2.0.35.p6.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/zabrocki/Downloads/sage-4.8/spkg/build/gd-2.0.35.p6 and type
'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd '/Users/zabrocki/Downloads/sage-4.8/spkg/build/gd-2.0.35.p6' &&
'/Users/zabrocki/Downloads/sage-4.8/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.

make[1]: *** [installed/gd-2.0.35.p6] Error 1

real51m2.655s
user37m16.063s
sys 10m30.873s
Error building Sage.
make: *** [build] Error 1


help?

-- 
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


Re: [sage-devel] review when one patchbot says TestFailed and the others say TestPassed

2012-02-25 Thread David Roe
If the errors on the normal patchbot were all something like "Killed," you
can go ahead and give a positive review.  The processes running tests in
the patchbot are killed sometimes and we don't understand exactly why
David

On Sat, Feb 25, 2012 at 10:28, Daniel Krenn  wrote:

> I'm currently reviewing tickets #5491 and #12471. In both tickets the
> patchbot for 4.8 (linux/ubuntu/hardy/sage.math.washington.edu) failed,
> whereas the other two patchbots (one also for 4.8 and one for
> 5.0.beta3) passed the test, see [1] and [2]. The tests on my computer
> also passed.
>
> How do I proceed here? Giving a positive review?
>
> Daniel
>
> [1] http://patchbot.sagemath.org/ticket/5491/
> [2] http://patchbot.sagemath.org/ticket/12471/
>
> --
> 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
>

-- 
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


Re: [sage-devel] review when one patchbot says TestFailed and the others say TestPassed

2012-02-25 Thread William Stein
On Sat, Feb 25, 2012 at 10:28 AM, Daniel Krenn  wrote:
> I'm currently reviewing tickets #5491 and #12471. In both tickets the
> patchbot for 4.8 (linux/ubuntu/hardy/sage.math.washington.edu) failed,
> whereas the other two patchbots (one also for 4.8 and one for
> 5.0.beta3) passed the test, see [1] and [2]. The tests on my computer
> also passed.
>
> How do I proceed here? Giving a positive review?

I would test the code yourself and decide.  And obviously look at the
actual failures in each case.  What to do should depend entirely on
that.

Also, 5.0.beta3 should trump 4.8.

>
> Daniel
>
> [1] http://patchbot.sagemath.org/ticket/5491/
> [2] http://patchbot.sagemath.org/ticket/12471/
>
> --
> 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



-- 
William Stein
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


[sage-devel] review when one patchbot says TestFailed and the others say TestPassed

2012-02-25 Thread Daniel Krenn
I'm currently reviewing tickets #5491 and #12471. In both tickets the
patchbot for 4.8 (linux/ubuntu/hardy/sage.math.washington.edu) failed,
whereas the other two patchbots (one also for 4.8 and one for
5.0.beta3) passed the test, see [1] and [2]. The tests on my computer
also passed.

How do I proceed here? Giving a positive review?

Daniel

[1] http://patchbot.sagemath.org/ticket/5491/
[2] http://patchbot.sagemath.org/ticket/12471/

-- 
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