gnumake: *** No rule to make target `all’
by gregs on Apr.06, 2009, under *nix, mac, os x
I was using MacPorts to install ICU and Jam. After running the installer for the first time I got the following error message:
-
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
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:
-
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.
Turns out you need to do a cleanup before attempting to run the command again:
-
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
Time to continue the Mapnik install.
April 18th, 2009 on 11:26 am
thanks! i got stuck with the same problem
June 4th, 2009 on 3:26 pm
…..and you call me a blabbermouth!
May 23rd, 2010 on 7:07 pm
I just had this same problem with ICU, thanks for posting the fix
–
http://cashforgoldinuk.com