Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 7, 2011, 12:54 AM   #1
badsector
macrumors newbie
 
Join Date: Aug 2011
How to install tar.gz on Mac

trying to install libpng

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

thanks in advance
badsector is offline   0 Reply With Quote
Old Sep 7, 2011, 05:29 AM   #2
jiminaus
macrumors 65816
 
Join Date: Dec 2010
Location: Sydney
Either
  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).
jiminaus is offline   0 Reply With Quote
Old Sep 7, 2011, 07:10 AM   #3
badsector
Thread Starter
macrumors newbie
 
Join Date: Aug 2011
thanks jiminaus.

looks like .... not an easy task for non programmer.
badsector is offline   0 Reply With Quote
Old Sep 7, 2011, 07:32 AM   #4
Hansr
macrumors 6502a
 
Join Date: Apr 2007
Go with nr. 3 then, the readme will give you the steps which are literally 4.

http://mxcl.github.com/homebrew/ is an alternative too.

But why do you need libpng if you've never installed anything via terminal nor are you a programmer?
Hansr is offline   0 Reply With Quote
Old Sep 7, 2011, 12:01 PM   #5
badsector
Thread Starter
macrumors newbie
 
Join Date: Aug 2011
Quote:
Originally Posted by Hansr View Post
Go with nr. 3 then, the readme will give you the steps which are literally 4.

http://mxcl.github.com/homebrew/ is an alternative too.

But why do you need libpng if you've never installed anything via terminal nor are you a programmer?
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
badsector is offline   0 Reply With Quote
Old Sep 7, 2011, 11:42 PM   #6
larkost
macrumors 6502a
 
Join Date: Oct 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.
larkost is offline   0 Reply With Quote
Old Sep 8, 2011, 06:06 AM   #7
Hansr
macrumors 6502a
 
Join Date: Apr 2007
Quote:
Originally Posted by larkost View Post
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.
No iPhone pngs are not standard PNGs.

Quote:
The PNG images found on the iPhone include extra data before the PNG header and compressed image data without the traditional headers and footers. Also, the red blue pixels are flipped (BGRA instead of RGBA)
He just needs to compile it and then follow that guide.
Hansr is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
/usr/bin/tar not found (brew install wont work) idch OS X 10.8 Mountain Lion 23 Jun 8, 2013 10:06 PM
Tar do not take --exclude into account sandy-locke Mac Programming 3 Jan 16, 2013 02:39 PM
Garagebandextracontent.tar virus? markus843 MacBook Pro 4 Oct 27, 2012 12:51 PM
Help downloading/installing a .tar program. bluegrace Mac Basics and Help 2 Aug 4, 2012 02:48 AM
My Mac won't install anything else than Leopard after clean install nampramos MacBook Pro 3 Jul 29, 2012 10:22 AM

Forum Jump

All times are GMT -5. The time now is 05:51 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC