Yes, the variables are defined. Using setup.py gives the same error.
As a note, I am using a download of the master branch.
Mikhail Khodak

On Wed, Jun 24, 2015 at 7:15 AM, Lisandro Dalcin <dalcinl@gmail.com> wrote:
On 23 June 2015 at 12:15, Mikhail Khodak <mkhodak@princeton.edu> wrote:
> Thank you for reviewing this. The errors for the command 'pip2 install .'
> inside the petsc4py directory are attached, along with the configure/make
> logs for the PETSc build.
> Best,
> Mikhail Khodak
>

Not sure what's going on.

Do you have PETSC_DIR and PETSC_ARCH in your environment?

Does it work if you just do "python setup.py build" ?


--
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Numerical Porous Media Center (NumPor)
King Abdullah University of Science and Technology (KAUST)
http://numpor.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 4332
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459