#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    27
    Rep Power
    0

    Building valgrind in python


    Hi,

    I am trying to enable valgrind in python 2.7.5. So, i have configured with the following command:

    ./configure --without-pymalloc --with-pydebug --with-valgrind

    I got the below error:
    configure: error: Valgrind support requested but headers not available

    How can i resolve this error? Can anyone advice me?
  2. #2
  3. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Posts
    5,971
    Rep Power
    509
    put /usr/include/valgrind/ onto your include path?
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Posts
    27
    Rep Power
    0
    I did not find valgrind under /usr/include/. Did i miss anything?
  6. #4
  7. Contributing User
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Aug 2011
    Posts
    5,971
    Rep Power
    509
    Perhaps it's not installed?
    sudo apt-get install valgrind
    or yum or whatever software installation happens to be on your distribution.
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo