ETS installation to non-standard location

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ETS installation to non-standard location

John
Hello, I'm trying to install ETS using:

python ets.py install --prefix=/my/custom/location

But I keep getting this ERROR:

[snip]
building extension "enthought.kiva.agg._agg" sources
swig++: enthought/kiva/agg/agg.i
swig -python -c++ -Ienthought/kiva/agg/src
-Ienthought/kiva/agg/agg-24/include
-Ienthought/kiva/agg/agg-24/font_freetype
-Ienthought/kiva/agg/freetype2/src/autofit
-Ienthought/kiva/agg/freetype2/src/base
-Ienthought/kiva/agg/freetype2/src/bdf
-Ienthought/kiva/agg/freetype2/src/cache
-Ienthought/kiva/agg/freetype2/src/cff
-Ienthought/kiva/agg/freetype2/src/cid
-Ienthought/kiva/agg/freetype2/src/gxvalid
-Ienthought/kiva/agg/freetype2/src/gzip
-Ienthought/kiva/agg/freetype2/src/lzw
-Ienthought/kiva/agg/freetype2/src/otvalid
-Ienthought/kiva/agg/freetype2/src/pcf
-Ienthought/kiva/agg/freetype2/src/pfr
-Ienthought/kiva/agg/freetype2/src/psaux
-Ienthought/kiva/agg/freetype2/src/pshinter
-Ienthought/kiva/agg/freetype2/src/psnames
-Ienthought/kiva/agg/freetype2/src/raster
-Ienthought/kiva/agg/freetype2/src/sfnt
-Ienthought/kiva/agg/freetype2/src/smooth
-Ienthought/kiva/agg/freetype2/src/tools
-Ienthought/kiva/agg/freetype2/src/truetype
-Ienthought/kiva/agg/freetype2/src/type1
-Ienthought/kiva/agg/freetype2/src/type42
-Ienthought/kiva/agg/freetype2/src/winfonts
-Ienthought/kiva/agg/freetype2/src/gzip
-Ienthought/kiva/agg/freetype2/include
-Ienthought/kiva/agg/freetype2/src -I/usr/include/python2.6 -o
build/src.linux-x86_64-2.6/enthought/kiva/agg/agg_wrap.cpp -outdir
build/src.linux-x86_64-2.6/enthought/kiva/agg enthought/kiva/agg/agg.i
unable to execute swig: No such file or directory
error: command 'swig' failed with exit status 1
   Error running command in package Enable:

[snip]

Any ideas?

Thanks,
john
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: ETS installation to non-standard location

Peter Wang
On Sun, Nov 7, 2010 at 4:01 PM, John <[hidden email]> wrote:
> Hello, I'm trying to install ETS using:
>> python ets.py install --prefix=/my/custom/location
> But I keep getting this ERROR:
...snip..
> unable to execute swig: No such file or directory
> error: command 'swig' failed with exit status 1
>   Error running command in package Enable:

Your error is not related to the fact that ETS is being installed to a
custom location, but rather the fact that you don't have SWIG
installed.  I don't know what distro of linux you are running, but
most have a recent version of SWIG readily available in their
respective package repositories.

-Peter
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev