Re: [sage-devel] sage-env always sets LDFLAGS, which clobbers Numpy's distutils Fortran compiler support

2013-09-23 Thread Felix Salfelder
On Mon, Sep 23, 2013 at 02:21:39PM -0700, Bill Janssen wrote: > I was trying to compile the Python+Fortran Assimulo package on Sage (5.11) > on OS X, and I couldn't figure out why the gfortran link step kept failing > -- the correct linker flags for shared libraries weren't being used. Turns >

[sage-devel] Re: Build Error in gf2x package on AMD Athlon XP 2600+

2013-09-23 Thread Emmanuel Thomé
On Tuesday, September 24, 2013 2:41:58 AM UTC+2, Andrew Fiori wrote: > > The linked tar.gz file doesn't appear to fix the problem (I am assuming > this is what you wanted me to test). > It still tries to compile with sse2 on the non-sse 2 machine > > I am attaching the config.log as well as the o

Re: [sage-devel] broken prompts in Emacs shell-mode

2013-09-23 Thread Bill Janssen
Thanks, Nils. That worked. Use "sage -ipython profile list" to find out where your profile is (it wasn't using ~/.ipython/, it was using ~/.sage/ipython-0.12/), then put the following lines into ~/.sage/ipython-0.12/profile_default/ipython_config.py: c = get_config() try: import curses

[sage-devel] Re: Build Error in gf2x package on AMD Athlon XP 2600+

2013-09-23 Thread Emmanuel Thomé
On Friday, September 20, 2013 3:01:13 PM UTC+2, Andrew Fiori wrote: > > This is likely a build error bug on all systems which do not support SSE2 > but where building is done using the current version of gcc. It may also > manifest as a runtime error on binary builds installed on systems which

Re: [sage-devel] broken prompts in Emacs shell-mode

2013-09-23 Thread Bill Janssen
Same problem with straight ipython. Bill On Friday, September 20, 2013 11:12:37 AM UTC-7, William wrote: > > Hi, > > What happens if you run straight ipython? > >sage -ipython > > If the problem is the same, you could ask on the ipython list... > (since sage's command line is ipython). >

[sage-devel] Re: Parsing XML in Sage

2013-09-23 Thread Bill Janssen
I have an spkg for lxml (required for JModelica) and I intend to make it available in the near future. Bill On Tuesday, September 17, 2013 4:45:22 AM UTC-7, Nathann Cohen wrote: > > Hell everybody ! > > We have in Sage an interface with ISGCI [1], and most of the code it > contains amou

[sage-devel] How can an spkg extend the interactive Sage environment?

2013-09-23 Thread Bill Janssen
I'm building JModelica for Sage. It installs into its own little private directory (I'm using ${SAGE_LOCAL}/JModelica-1.11), including its Python code. When I fire up the interactive Sage prompt, I'd like it to be able to locate the JModelica Python modules. To do that, I need to integrate J

[sage-devel] sage-env always sets LDFLAGS, which clobbers Numpy's distutils Fortran compiler support

2013-09-23 Thread Bill Janssen
I was trying to compile the Python+Fortran Assimulo package on Sage (5.11) on OS X, and I couldn't figure out why the gfortran link step kept failing -- the correct linker flags for shared libraries weren't being used. Turns out that the "fcompiler" support in Numpy's distutils will *always* lo

[sage-devel] Re: Build Error in gf2x package on AMD Athlon XP 2600+

2013-09-23 Thread Zimmermann Paul
Jean-Pierre, [please forward to sage-devel, since I'm not subscribed, thus my mail will be rejected] thank you for forwarding us that message: > Date: Fri, 20 Sep 2013 11:36:26 -0700 (PDT) > From: Jean-Pierre Flori > Cc: Zimmermann Paul > > [1:multipart/alternative Hide] > [1/1:text/p