Thread: Installing valgrind to check memory leaks

  1. #1
    Registered User
    Join Date
    Nov 2015
    Posts
    54

    Installing valgrind to check memory leaks

    Hi!

    I am doing some exercises, learning C, and have to use Valgrind, so

    I am a newbie.

    I am trying to install Valgrind on Mac OS X 10.7.5. I have googled

    and have found a few sourses, but I am not sure which ones to trust

    because I don't understand commands they propose to use.

    I have understood that I need autotools installed, and have tried to

    run a command
    Code:
     sudo port install automake
    but it

    didn't work. I assume these tools should be in Xcode, then why


    ./autogen.sh doesn't work (I remember downloading Command

    Line Tools for Xcode 4.6.3)?


    Please, help me with the guidance.

    Thanks a lot!

  2. #2
    Registered User
    Join Date
    Nov 2015
    Posts
    54
    I have solved the issue, this thread is not relevant anymore, but I can't delete it to save people's time from looking at it. Is there way to delete threads?

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Users cannot delete threads themselves.

    However, if you explain how you solved this issue, then this thread will have value for any other people who encounter the same issue.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 10-15-2012, 05:16 PM
  2. Memory Allocation Error - /w Valgrind Output
    By Ggregagnew in forum C Programming
    Replies: 5
    Last Post: 12-02-2010, 04:02 PM
  3. Valgrind memory leaks - Dakar or real?
    By DaleCooper in forum C Programming
    Replies: 6
    Last Post: 10-14-2009, 04:40 AM
  4. Valgrind says I suck at memory management :)
    By carrotcake1029 in forum C Programming
    Replies: 6
    Last Post: 02-01-2009, 08:10 PM
  5. Memory usage and memory leaks
    By vsanandan in forum C Programming
    Replies: 1
    Last Post: 05-03-2008, 05:45 AM

Tags for this Thread