On Fri, May 26, 2006 at 03:15:22PM -0400, Jason Tackaberry wrote:
> 
> Ok, those look good.  Can you paste the output when you run 'python
> setup.py build' in kaa/canvas? 
> 
The error is related to the shell I'm using. I think some time ago I had
similar problems.
I have /bin/sh poiting to /bin/dash instead on /bin/bash. dash is supposed
to be posix compatible and smaller than bash but it seems to conflict in
some way with the python script.
With /bin/bash the script called with os.system in the check_library function
works well. It returns 32512 as exit code if the executable is not found.
With dash, os.system returns 0 and the code does not check the pkg-config
branch.

If I call os.system with /bin/dash and this string the exit code is ok and
the script semms to work.

  "%s-config --version 2>/dev/null >/dev/null"

with the one that it's in the code, dash exits with 0.

  "%s-config --version &>/dev/null"

The construction &>/dev/null seems a bash-ism. I think you should change the
strings

-- 

Attachment: signature.asc
Description: Digital signature

Reply via email to