[PyQt] Bug with CDPATH

Martin Blais blais at furius.ca
Tue Aug 5 21:59:40 BST 2008


Hi,

There has been a bug with building sip for a while, which
manifests itself both on my Linux and Mac setups:

  tangerine:~/src/qt/sip-4.7.7-snapshot-20080726$ make 
  cd: 1: can't cd to sipgen
  make[1]: Entering directory `/home/blais/src/qt/sip-4.7.7-snapshot-20080726'
  cd: 1: can't cd to sipgen
  make[2]: Entering directory `/home/blais/src/qt/sip-4.7.7-snapshot-20080726'
  ...

If I unset CDPATH, it works as it should::

  tangerine:~/src/qt/sip-4.7.7-snapshot-20080726$ make
  make[1]: Entering directory `/home/blais/src/qt/sip-4.7.7-snapshot-20080726/sipgen'
  gcc -c -pipe -O2 -w -I. -o main.o main.c
  gcc -c -pipe -O2 -w -I. -o transform.o transform.c
  gcc -c -pipe -O2 -w -I. -o gencode.o gencode.c
  ...

I think there is a way to fully qualify the cd commands in
the Makefile to avoid this.
Thanks!

cheers,




More information about the PyQt mailing list