Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 6, 2011, 11:54 PM   #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, 04: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, 06: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, 06: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, 11:01 AM   #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, 10: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, 05: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to install iOS 5 on Mac? sap12690 iCloud and Apple Services 4 Oct 12, 2011 10:09 PM
How to install windows XP on MAC Laptop ?! hanyfreedom Windows, Linux & Others on the Mac 4 Jul 15, 2010 02:07 AM
How to install tar.gz files on Mac ? antreasavva Mac Programming 4 Apr 15, 2010 08:35 AM
How to install .pkg file on MAC OS X10.4.9?? pinkpeace7 OS X 24 Mar 28, 2009 07:04 PM
How to install x86 linux on Mac Virtual PC 7 budugu Mac Applications and Mac App Store 1 Feb 16, 2006 01:53 AM


All times are GMT -5. The time now is 06:59 AM.

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

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