Install .deb on Mac?

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?

-

migrated from stackoverflow.comJan 13 '12 at 9:12

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

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: http://yuilibrary.com/download/yuicompressor/

-
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: pastebin.com/SCdTiNbE -- should I still go ahead and make install? –  Nimbuz Jan 13 '12 at 14:03
errors with make pastebin.com/GW5GFSHS –  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).