Why do you need to install swig?
If we have no intention to use a scripting language for libpfm4, should it be 
required that a default build have swig? This seems like an unnecessary 
constraint placed on the build environment. I'd rather see the python stuff 
built optionally with a command line argument or an environment variable or 
something.
- d

On Jun 23, 2010, at 5:52 PM, stephane eranian wrote:

> You need to install swig.
> 
> 
> On Wed, Jun 23, 2010 at 11:38 PM, Corey Ashford
> <cjash...@linux.vnet.ibm.com> wrote:
>> Hello,
>> 
>> I'm seeing a build problem with the current libpfm4.  I cloned a fresh
>> copy today on a Power6 machine, and when I do a make, I get this error:
>> 
>> ...
>> make[1]: Entering directory `/home/corey/libpfm4/libpfm4/python'
>> ./setup.py build
>> running build
>> running build_py
>> file src/perfmon_int.py (for module perfmon.perfmon_int) not found
>> file src/perfmon_int.py (for module perfmon.perfmon_int) not found
>> running build_ext
>> building 'perfmon._perfmon_int' extension
>> swigging src/perfmon_int.i to src/perfmon_int_wrap.c
>> swig -python -I../include -o src/perfmon_int_wrap.c src/perfmon_int.i
>> unable to execute swig: No such file or directory
>> error: command 'swig' failed with exit status 1
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory `/home/corey/libpfm4/libpfm4/python'
>> make: *** [all] Error 2
>> 
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> perfmon2-devel mailing list
>> perfmon2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>> 
> 
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate 
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
> lucky parental unit.  See the prize list and enter to win: 
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to