How to install tar.gz on Mac

Discussion in 'Mac Programming' started by badsector, Sep 6, 2011.

  1. macrumors newbie

    Aug 19, 2011
    trying to install libpng

    how do i install on mac lion?
    i'm a newbie on mac osx :)

    thanks in advance
  2. macrumors 65816


    Dec 16, 2010

    1. Follow the link to the Mac OS X binaries on that page you quoted.
    2. Install via macports or fink.
    3. Download the source code, extract it, follow the instructions in the README file (basically configure, make, then sudo make install).
  3. thread starter macrumors newbie

    Aug 19, 2011
    thanks jiminaus.

    looks like .... not an easy task for non programmer. :eek:
  4. macrumors 6502a

    Apr 1, 2007
    Go with nr. 3 then, the readme will give you the steps which are literally 4. is an alternative too.

    But why do you need libpng if you've never installed anything via terminal nor are you a programmer?
  5. thread starter macrumors newbie

    Aug 19, 2011
    was trying to view iphone png files.

    in windows, i use i-funbox, simply copying over to explorer it will auto convert the png.
    but i couldn't find a solution in mac os. iclarified has the solution, but the libpng was the old version
  6. macrumors 6502a

    Oct 13, 2007
    libpng is not going to do what you think it does. It is a library for programmers to use to be able to manipulate (or create, or decode for display) png images. However, the important point you are missing is that png is a normal image type (just like gif or jpeg). Preview (or Safari, or Pages, or QuickTime, or any other program that can view images) will happily display them for you.
  7. macrumors 6502a

    Apr 1, 2007
    No iPhone pngs are not standard PNGs.

    He just needs to compile it and then follow that guide.

Share This Page