[sage-support] Re: no math module!
In the installation guide http://www.sagemath.org/doc/installation/source.html#environment-variables it is mentioned that for OS X 10.6 and greater you don't need to set SAGE64=yes to get a 64 bit install. Do you get the same error without the SAGE64=yes? I've managed to build 4.7.2.alpha2 on my macbook pro with OS X 10.6.8 without problems. (Also some older versions of sage but I don't know the exact numbers) -- 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 URL: http://www.sagemath.org
[sage-support] Re: no math module!
so Id better not use mac I guess... On 20 sep, 19:20, kod da wrote: > I didn t saw any before (when searching for 'error' or "fail" in the log) > and math.h is detected. > > *** Detecting C library capabilities... > > checking for ANSI C header files... (cached) yes > checking for strings.h... (cached) yes > checking alloca.h usability... yes > checking alloca.h presence... yes > checking for alloca.h... yes > checking errno.h usability... yes > checking errno.h presence... yes > checking for errno.h... yes > checking math.h usability... yes > checking math.h presence... yes > checking for math.h... yes > ... > > still there are some warnings like > Modules/main.c: In function 'usage': > Modules/main.c:115: warning: format not a string literal and no format > arguments > Modules/main.c:116: warning: format not a string literal and no format > arguments > Modules/main.c:117: warning: format not a string literal and no format > arguments > > and > > ranlib: file: libpython2.6.a(pymath.o) has no symbols > ar cr libpython2.6.a Modules/config.o Modules/getpath.o Modules/main.o > Modules/gcmodule.o > ranlib: file: libpython2.6.a(pymath.o) has no symbols > ar cr libpython2.6.a Modules/threadmodule.o Modules/signalmodule.o > Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o > Modules/_sre.o Modu\ > les/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o > Modules/xxsubtype.o > ranlib: file: libpython2.6.a(pymath.o) has no symbols > ranlib libpython2.6.a > ranlib: file: libpython2.6.a(pymath.o) has no symbols > > best > > 2011/9/20 Robert Bradshaw > > > > > > > > > > > On Mon, Sep 19, 2011 at 10:45 PM, kod da wrote: > > > Thanks for your response. > > > I found the same error when not setting SAGE64=yes. I noticed I got this > > > message higher in the install log: > > > Failed to find the necessary bits to build these modules: > > > bsddb185 dl gdbm > > > imageop linuxaudiodev ossaudiodev > > > spwd sunaudiodev > > > > would it be related to python not finding the math module? Are these > > modules > > > necessary? > > > No, but the math one is. This is indicative of no extension modules > > compiling, probably something messed up with distutils or compiler > > flags. Presumably there are earlier errors as part of the build? > > > - Robert > > > -- > > 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 > > URL:http://www.sagemath.org > > -- > David -- 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 URL: http://www.sagemath.org
[sage-support] Re: no math module!
On Wednesday, September 21, 2011 8:15:49 PM UTC-7, kodda wrote: > > so Id better not use mac I guess... > Plenty of people here build Sage on Macs. OS X 10.7 is not supported, but 10.6.7 should be. I don't know if there are significant differences between Mac OS X 10.6.7 and Mac OS X Server 10.6.7 w.r.t. building Sage. As far as the error messages you reported building Python, I see those in my (successful) build of Sage. So those are not the problem. Try making sure that neither SAGE64 nor SAGE_CHECK is set, type "make distclean" and then "make". (If you set SAGE64 to "yes" and started the build, then later unset it and continued the build, at least some parts of the build will still act as if it were set. Hence "make distclean" to get rid of all traces of the earlier build attempts.) -- John -- 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 URL: http://www.sagemath.org
Re: [sage-support] Re: no math module!
Thanks for your response. I found the same error when not setting SAGE64=yes. I noticed I got this message higher in the install log: Failed to find the necessary bits to build these modules: bsddb185 dl gdbm imageoplinuxaudiodev ossaudiodev spwd sunaudiodev would it be related to python not finding the math module? Are these modules necessary? 2011/9/20 Maarten Derickx > In the installation guide > http://www.sagemath.org/doc/installation/source.html#environment-variablesit > is mentioned that for OS X 10.6 and greater you don't need to set > SAGE64=yes to get a 64 bit install. Do you get the same error without the > SAGE64=yes? I've managed to build 4.7.2.alpha2 on my macbook pro with OS X > 10.6.8 without problems. (Also some older versions of sage but I don't know > the exact numbers) > > -- > 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 > URL: http://www.sagemath.org > -- David -- 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 URL: http://www.sagemath.org
Re: [sage-support] Re: no math module!
On Mon, Sep 19, 2011 at 10:45 PM, kod da wrote: > Thanks for your response. > I found the same error when not setting SAGE64=yes. I noticed I got this > message higher in the install log: > Failed to find the necessary bits to build these modules: > bsddb185 dl gdbm > imageop linuxaudiodev ossaudiodev > spwd sunaudiodev > > would it be related to python not finding the math module? Are these modules > necessary? No, but the math one is. This is indicative of no extension modules compiling, probably something messed up with distutils or compiler flags. Presumably there are earlier errors as part of the build? - Robert -- 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 URL: http://www.sagemath.org
Re: [sage-support] Re: no math module!
I didn t saw any before (when searching for 'error' or "fail" in the log) and math.h is detected. *** Detecting C library capabilities... checking for ANSI C header files... (cached) yes checking for strings.h... (cached) yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes ... still there are some warnings like Modules/main.c: In function 'usage': Modules/main.c:115: warning: format not a string literal and no format arguments Modules/main.c:116: warning: format not a string literal and no format arguments Modules/main.c:117: warning: format not a string literal and no format arguments and ranlib: file: libpython2.6.a(pymath.o) has no symbols ar cr libpython2.6.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o ranlib: file: libpython2.6.a(pymath.o) has no symbols ar cr libpython2.6.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modu\ les/_codecsmodule.o Modules/zipimport.o Modules/symtablemodule.o Modules/xxsubtype.o ranlib: file: libpython2.6.a(pymath.o) has no symbols ranlib libpython2.6.a ranlib: file: libpython2.6.a(pymath.o) has no symbols best 2011/9/20 Robert Bradshaw > On Mon, Sep 19, 2011 at 10:45 PM, kod da wrote: > > Thanks for your response. > > I found the same error when not setting SAGE64=yes. I noticed I got this > > message higher in the install log: > > Failed to find the necessary bits to build these modules: > > bsddb185 dl gdbm > > imageoplinuxaudiodev ossaudiodev > > spwd sunaudiodev > > > > would it be related to python not finding the math module? Are these > modules > > necessary? > > No, but the math one is. This is indicative of no extension modules > compiling, probably something messed up with distutils or compiler > flags. Presumably there are earlier errors as part of the build? > > - Robert > > -- > 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 > URL: http://www.sagemath.org > -- David -- 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 URL: http://www.sagemath.org