as (the assembler, based on GAS 1.3.8) is retarded. Anyways, it's easy to patch up.
Edit the pngcrush Makefile and replace the GAS_VERSION macro as such:
# OLD #GAS_VERSION := $(shell as --version | grep "GNU assembler" | sed -e 's/GNU assembler //' -e 's/ .*//') # MAC OS X GAS_VERSION := $(shell echo "" | as -v 2>&1 | grep "GNU assembler" | sed -e 's/.*GNU assembler version //')
then do make, etc.
And if that doesn't work, change it to GAS_VERSION:= "Apple"
I'm sure this applies to other versions of pngcrush and other versions of OS X
Update 29-Aug-2007: You can use the most excellent macports to install this instead.
sudo ports -v install pngcrush
0 comments:
Post a Comment