Gnumake: *** No Rule to Make Target `all'
I was using MacPorts to install ICU and Jam. After running the installer for the first time I got the following error message:
[code]sudo port install icu jam
Error: Target org.macports.build returned: shell command ” cd “/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/work/icu/source” && gnumake all ” returned error 127
Command output: sh: gnumake: command not found
[/code]
Oops forgot to install XCode (you always forget to install something on a new machine :)). Quickly ran the XCode installer, however when I ran the command again I got a new error:
[code]sudo port install icu jam
—> Building icu
Error: Target org.macports.build returned: shell command ” cd “/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_icu/work/icu/source” && gnumake all ” returned error 2
Command output: gnumake: *** No rule to make target `all’. Stop.
[/code]
Turns out you need to do a cleanup before attempting to run the command again:
[code]sudo port clean –work icu
—> Cleaning icu
sudo port clean –work jam
—> Cleaning jam
sudo port install icu jam
—> Fetching icu
—> Verifying checksum(s) for icu
—> Extracting icu
—> Configuring icu
—> Building icu
—> Staging icu into destroot
—> Installing icu @4.0_0
—> Activating icu @4.0_0
—> Cleaning icu
—> Fetching jam
—> Attempting to fetch jam-2.5.tar from http://distfiles.macports.org/jam/2.5
—> Verifying checksum(s) for jam
—> Extracting jam
—> Applying patches to jam
—> Configuring jam
—> Building jam
—> Staging jam into destroot
—> Installing jam @2.5_1
—> Activating jam @2.5_1
—> Cleaning jam
[/code]
Time to continue the Mapnik install.