Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
maxima does not build on 64-bit OSX 10.6.8 - logs?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dima Pasechnik  
View profile  
 More options Jul 31 2012, 5:46 am
From: Dima Pasechnik <dimp...@gmail.com>
Date: Tue, 31 Jul 2012 02:46:29 -0700 (PDT)
Local: Tues, Jul 31 2012 5:46 am
Subject: maxima does not build on 64-bit OSX 10.6.8 - logs?

In another thread, it was mentioned that maxima does not build on 64-bit
OSX 10.6.8.
How does one see the log of such a build?
Is there any way?
As all one sees on OSX by default is the following:

Now building Maxima; this takes a few minutes.
Since we're on MacOS X and there is a very weird
bug with buffered output while building Maxima,
you will not be able to see the output of the build
as it occurs.  Don't worry, the build process does
not hang.

Thanks,
Dima


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
François Bissey  
View profile  
 More options Jul 31 2012, 5:52 am
From: François Bissey <francois.bis...@canterbury.ac.nz>
Date: Tue, 31 Jul 2012 21:52:16 +1200
Local: Tues, Jul 31 2012 5:52 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?
On Tue, 31 Jul 2012 02:46:29 Dima Pasechnik wrote:
> In another thread, it was mentioned that maxima does not build on 64-bit
> OSX 10.6.8.
> How does one see the log of such a build?
> Is there any way?
> As all one sees on OSX by default is the following:

> Now building Maxima; this takes a few minutes.
> Since we're on MacOS X and there is a very weird
> bug with buffered output while building Maxima,
> you will not be able to see the output of the build
> as it occurs.  Don't worry, the build process does
> not hang.

Stupid question: Is the file spkg/log/maxima-5.xxxx.log available?

Francois


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dima Pasechnik  
View profile  
 More options Jul 31 2012, 6:46 am
From: Dima Pasechnik <dimp...@gmail.com>
Date: Tue, 31 Jul 2012 03:46:34 -0700 (PDT)
Local: Tues, Jul 31 2012 6:46 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

the attachment here:
https://groups.google.com/d/msg/sage-devel/oYuthqwvtuw/L1L2FFpWeFUJ


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francois Bissey  
View profile  
 More options Jul 31 2012, 7:04 am
From: Francois Bissey <fbis...@slingshot.co.nz>
Date: Tue, 31 Jul 2012 23:04:23 +1200
Local: Tues, Jul 31 2012 7:04 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?
On Tue, 31 Jul 2012 03:46:34 Dima Pasechnik wrote:

ok. so it has nothing in it. As far as I understand the buffering problem is
somewhat specific of the sage building process. I don't have it in a Gentoo
prefix on OS X.

So I suggest starting a sage shell (maxima should be built after sage) and try
to build maxima manually. Go to spkg/build/maxima-5.26.0.p0/src and then
'make' and see what happens.

Francois


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kfiz  
View profile  
 More options Jul 31 2012, 7:59 am
From: kfiz <mitun...@gmx.de>
Date: Tue, 31 Jul 2012 04:59:26 -0700 (PDT)
Local: Tues, Jul 31 2012 7:59 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

Am Dienstag, 31. Juli 2012 13:04:23 UTC+2 schrieb François:

Hi Francois,
when opening a sage-shell I get a huge traceback:

Doro-Roses-MacBook-Pro:sage-5.1 louis$ ./sage
----------------------------------------------------------------------
| Sage Version 5.1, Release Date: 2012-07-09                         |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Applications/sage-5.1/local/bin/<string> in <module>()

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/preparse r_ipython.py
in <module>()
      6
###########################################################################
      7
----> 8 import sage.misc.interpreter
      9
     10 import preparser

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/interpre ter.py
in <module>()
    103
    104 import os
--> 105 import log
    106 import re
    107

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/log.py
in <module>()
     63
     64 import interpreter
---> 65 import latex
     66 import misc
     67

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/latex.py
in <module>()
     55 import types
     56
---> 57 from misc import tmp_dir, graphics_filename
     58 import sage_eval
     59 from sage.misc.sage_ostools import have_program

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/misc.py
in <module>()
   2161     return "0"*(size-len(str(s))) + str(s)
   2162
-> 2163 import sage.server.support
   2164
   2165 def embedded():

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/server/suppor t.py
in <module>()
     17 import sage.misc.pager
     18
---> 19 import sage.misc.sagedoc as sagedoc
     20 import sage.misc.sageinspect as sageinspect
     21

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/sagedoc. py
in <module>()
     38 from sage.misc.viewer import browser
     39 from sage.misc.misc import SAGE_DOC, tmp_dir
---> 40 from sagenb.misc.sphinxify import sphinxify
     41 import sage.version
     42

ImportError: No module named sagenb.misc.sphinxify
WARNING: Failure executing code: 'import sage.misc.preparser_ipython;
 sage.misc.preparser_ipython.magma_colon_equals=True'
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Applications/sage-5.1/local/lib/python2.7/site-packages/IPython/ipmaker.py c
in force_import(modname, force_reload)
     61         reload(sys.modules[modname])
     62     else:
---> 63         __import__(modname)
     64        
     65

/Applications/sage-5.1/local/bin/ipy_profile_sage.py in <module>()
      1 import os
      2 if 'SAGE_CLEAN' not in os.environ:
----> 3     import sage.misc.misc
      4     from sage.misc.interpreter import preparser, _ip
      5     preparser(True)

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/misc.py
in <module>()
   2161     return "0"*(size-len(str(s))) + str(s)
   2162
-> 2163 import sage.server.support
   2164
   2165 def embedded():

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/server/suppor t.py
in <module>()
     17 import sage.misc.pager
     18
---> 19 import sage.misc.sagedoc as sagedoc
     20 import sage.misc.sageinspect as sageinspect
     21

/Applications/sage-5.1/local/lib/python2.7/site-packages/sage/misc/sagedoc. py
in <module>()
     38 from sage.misc.viewer import browser
     39 from sage.misc.misc import SAGE_DOC, tmp_dir
---> 40 from sagenb.misc.sphinxify import sphinxify
     41 import sage.version
     42

ImportError: No module named sagenb.misc.sphinxify
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

<ERROR: name 'sage_prompt' is not defined>

trying to build maxima manually from terminal doesn't work either. I get
the following:

Doro-Roses-MacBook-Pro:src louis$ make
Making all in admin
make[1]: Nothing to be done for `all'.
Making all in src
test -d binary-ecl || mkdir binary-ecl
ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (load
"../lisp-utils/make-depends.lisp") (funcall (intern
"CREATE-DEPENDENCY-FILE" :mk) "binary-ecl/maxima" "ecl-depends.mk") (quit))'
make[1]: ecl: No such file or directory
make[1]: *** [ecl-depends.mk] Error 1
make: *** [all-recursive] Error 1

...or am I doing something wrong here?

Doro


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Francois Bissey  
View profile  
 More options Jul 31 2012, 8:05 am
From: Francois Bissey <fbis...@slingshot.co.nz>
Date: Wed, 01 Aug 2012 00:05:43 +1200
Local: Tues, Jul 31 2012 8:05 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?
On Tue, 31 Jul 2012 04:59:26 kfiz wrote:

I am really sorry Doro. I meant for you to do start a sage shell with
./sage -sh
This loads the variables used by sage in a shell. what you would
have got with "./sage" should be called the sage prompt.
Because the environment was not set the make command was bound to fail.

So please try again after ./sage -sh

Francois


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kfiz  
View profile  
 More options Jul 31 2012, 8:23 am
From: kfiz <mitun...@gmx.de>
Date: Tue, 31 Jul 2012 05:23:04 -0700 (PDT)
Local: Tues, Jul 31 2012 8:23 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

Am Dienstag, 31. Juli 2012 14:05:43 UTC+2 schrieb François:

No problem. I'm rather unexperienced with operations in the shell, so I
probably wouldn't have known the difference. ;-)
So here is what happens when I try to 'make' maxima in a sage-shell:

(sage-sh) louis@Doro-Roses-MacBook-Pro:src$ make
Making all in admin
make[1]: Nothing to be done for `all'.
Making all in src
test -d binary-ecl || mkdir binary-ecl
ecl -norc -eval '(progn (load "../lisp-utils/defsystem.lisp") (load
"../lisp-utils/make-depends.lisp") (funcall (intern
"CREATE-DEPENDENCY-FILE" :mk) "binary-ecl/maxima" "ecl-depends.mk") (quit))'
;;; Loading
"/Applications/sage-5.1/spkg/build/maxima-5.26.0.p0/src/src/../lisp-utils/d efsystem.lisp"
;;; Loading #P"/Applications/sage-5.1/local/lib/ecl/cmp.fas"
An error occurred during initialization:
LOAD: Could not load file
#P"/Applications/sage-5.1/local/lib/ecl-11.1.1/cmp.fas" (Error:
"dlopen(/Applications/sage-5.1/local/lib/ecl-11.1.1/cmp.fas, 10): bad
rebase type 0 in /Applications/sage-5.1/local/lib/ecl-11.1.1/cmp.fas").
make[1]: *** [ecl-depends.mk] Error 1
make: *** [all-recursive] Error 1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
François Bissey  
View profile  
 More options Jul 31 2012, 5:43 pm
From: François Bissey <francois.bis...@canterbury.ac.nz>
Date: Wed, 01 Aug 2012 09:43:37 +1200
Local: Tues, Jul 31 2012 5:43 pm
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?
On Tue, 31 Jul 2012 05:23:04 kfiz wrote:

OK so it looks like ecl may have problems. Do I read correctly that you are
building sage in the /Applications folder of OS X?

Francois


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kfiz  
View profile  
 More options Aug 2 2012, 11:00 am
From: kfiz <mitun...@gmx.de>
Date: Thu, 2 Aug 2012 08:00:23 -0700 (PDT)
Local: Thurs, Aug 2 2012 11:00 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

yes, I'm trying to build sage in the "Applications" folder.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dima Pasechnik  
View profile  
 More options Aug 3 2012, 12:08 am
From: Dima Pasechnik <dimp...@gmail.com>
Date: Thu, 2 Aug 2012 21:08:43 -0700 (PDT)
Local: Fri, Aug 3 2012 12:08 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

On Thursday, 2 August 2012 23:00:23 UTC+8, kfiz wrote:

> yes, I'm trying to build sage in the "Applications" folder.

I'm not a big OSX expert, but I might expect that one needs to use sudo
sometimes  to change things there properly.
I would rather build in a "normal" user directory, and then move the whole
tree to /Applications

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Welsh  
View profile  
 More options Aug 3 2012, 2:38 am
From: Michael Welsh <yom...@yomcat.geek.nz>
Date: Fri, 3 Aug 2012 18:38:30 +1200
Local: Fri, Aug 3 2012 2:38 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?
On 3/08/2012, at 4:08 PM, Dima Pasechnik <dimp...@gmail.com> wrote:

> On Thursday, 2 August 2012 23:00:23 UTC+8, kfiz wrote:

>> yes, I'm trying to build sage in the "Applications" folder.

> I'm not a big OSX expert, but I might expect that one needs to use sudo
> sometimes  to change things there properly.

In my experience, this has never happened. Some installs install with sudo (well, they ask for my password), but I've never needed it. Normally its used when applications install libraries and such in /Library instead of ~/Library (so every user can access them), but this doesn't happen with Sage.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kfiz  
View profile  
 More options Aug 3 2012, 8:02 pm
From: kfiz <mitun...@gmx.de>
Date: Fri, 3 Aug 2012 17:02:40 -0700 (PDT)
Local: Fri, Aug 3 2012 8:02 pm
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

Am Freitag, 3. August 2012 08:38:30 UTC+2 schrieb yomcat:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kfiz  
View profile  
 More options Aug 8 2012, 11:00 am
From: kfiz <mitun...@gmx.de>
Date: Wed, 8 Aug 2012 08:00:10 -0700 (PDT)
Local: Wed, Aug 8 2012 11:00 am
Subject: Re: [sage-devel] maxima does not build on 64-bit OSX 10.6.8 - logs?

Am Samstag, 4. August 2012 02:02:40 UTC+2 schrieb kfiz:

After an extremely long and interesting journey I finally succeded in
building sage-5.2 from source on my machine.
It turned out that I had to upgrade my Xcode version from Xcode 3.2.6 to
Xcode 4.2.
I figured that as my original trials always crashed during the linking
stage of building gcc that probably my ln, as, libtools etc. where outdated.
So I checked for a cctools update (apples equivalent of binutils), which I
got with the Xcode 4.2 install.
As far as building sage was concerned I compiled everything with gcc-4.6.0
to which I had upgraded in the meantime from gcc-4.2.
Thanks to everyone for the support!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »