Varun Hiremath | 2 Dec 16:30

Re: Installing ETS on a Debian (Sid) System

Hi,

On Sun, Nov 30, 2008 at 11:37 PM, Ed Swarthout <else-bs+DcK7cjk954TAoqtyWWQ@public.gmane.org> wrote:
On Thursday 20 November 2008 09:45:55 pm Varun Hiremath wrote:
>
> Thanks for testing the packages.

I installed everything from http://newpeople.debian.org/~ varun on my i386
Lenny machine and only found one problem when running mayavi2.
I fixed it by manually installing python-configobj from Lenny:

$ mayavi2
Traceback (most recent call last):
 File "/usr/bin/mayavi2", line 451, in <module>
   raise e
ImportError: No module named configobj
________________________________________________________________________________
Could not load envisage. Do you have the EnvisageCore and EnvisagePlugins
installed?
...

Thanks, that looks like a missing dependency. I shall add that.

Regards,
Varun
_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
James Pruitt | 19 Nov 03:37

Installing ETS on a Debian (Sid) System

I initially thought I had a working ETS setup nut when I checked, I only tried import enthought.chaco which ran fine but upon trying the Chaco tutorial, I get an error (Python Error) and easy_install ETS yields the error below that.

Python Error:

  File "/usr/lib/python2.5/site-packages/enthought/enable/base.py", line 36, in <module>
    from enthought.kiva import font_metrics_provider
  File "/usr/lib/python2.5/site-packages/enthought/kiva/__init__.py", line 116, in <module>
    raise RuntimeError("no kiva backend for %s" % ETSConfig.toolkit)
RuntimeError: no kiva backend for wx

Easy Install Error:
error: Setup script exited with error: Command "g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/build/src.linux-i686-2.5/enthought/kiva/agg/agg_wrap.o -Lbuild/temp.linux-i686-2.5 -lkiva_src -lagg24_src -lfreetype2_src -lGL -lGLU -o build/lib.linux-i686-2.5/enthought/kiva/agg/_agg.so" failed with exit status 1

I have tried to figure out what library lGL would be but no avail after having installed several. Long story short, how do I install ETS on a Debian Sid system?

--
-Jimmy
_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Dave Peterson | 19 Nov 04:09

Re: Installing ETS on a Debian (Sid) System

James Pruitt wrote:
I initially thought I had a working ETS setup nut when I checked, I only tried import enthought.chaco which ran fine but upon trying the Chaco tutorial, I get an error (Python Error) and easy_install ETS yields the error below that.

Python Error:
  File "/usr/lib/python2.5/site-packages/enthought/enable/base.py", line 36, in <module>
    from enthought.kiva import font_metrics_provider
  File "/usr/lib/python2.5/site-packages/enthought/kiva/__init__.py", line 116, in <module>
    raise RuntimeError("no kiva backend for %s" % ETSConfig.toolkit)
RuntimeError: no kiva backend for wx

Easy Install Error:
error: Setup script exited with error: Command "g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/build/src.linux-i686-2.5/enthought/kiva/agg/agg_wrap.o -Lbuild/temp.linux-i686-2.5 -lkiva_src -lagg24_src -lfreetype2_src -lGL -lGLU -o build/lib.linux-i686-2.5/enthought/kiva/agg/_agg.so" failed with exit status 1

I have tried to figure out what library lGL would be but no avail after having installed several. Long story short, how do I install ETS on a Debian Sid system?

--
-Jimmy
That would be the flag -l with the library 'GL' (and a second -l with library GLU.)   These are OpenGL libs.   Do you have OpenGL and GLUT installed on your system?


-- Dave

_______________________________________________
Enthought-dev mailing list
Enthought-dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Gael Varoquaux | 2 Dec 16:52
Favicon

Re: Installing ETS on a Debian (Sid) System

On Tue, Dec 02, 2008 at 10:30:02AM -0500, Varun Hiremath wrote:
>    Thanks, that looks like a missing dependency. I shall add that.

That's indeed my interpretation. Thanks a lot for your attention to
quality.

Gaƫl

Gmane