Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently came across this open source compressor that I want to use in my mac app, but it seems to be available for linux/debian.

Is there any way I could use it on mac?

share|improve this question

migrated from Jan 13 '12 at 9:12

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

I think you're better off using the sourcecode and compile that for yourself.

On the other hand there are many other source compressors you might want to consider, for example Yahoo's open source YUI Compressor:

share|improve this answer
java is not preinstalled on lion. I will be using this compressor in my native mac app. – Nimbuz Jan 13 '12 at 8:27
I can compile from source on mac? – Nimbuz Jan 13 '12 at 8:31
Yes, same way you do that on linux... – bardiir Jan 13 '12 at 9:20
I tried but there are a lot of "no"s. please see: -- should I still go ahead and make install? – Nimbuz Jan 13 '12 at 14:03
errors with make – Nimbuz Jan 13 '12 at 14:06

Yes, there is a way you can use this tool on your Mac (assuming you're using OS X and have no intention of installing Debian).

Download the source and build it.

You could even submit a Portfile to Macports to make it easier for your peers.

share|improve this answer

As Johnsyweb states you can also compile the the source code, but to do this you have to install the development tools.

You properly find it on your install DVD as Xcode package or download it direct from Apple. Finally you also need the root passord to install it after using the commands "configure", "make" for installing it using "make install".

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .