[MacPorts] #17492: php5: make: *** No rule to make target `all'. Stop.

MacPorts noreply at macports.org
Mon Jan 12 05:33:06 PST 2009


#17492: php5: make: *** No rule to make target `all'.  Stop.
--------------------------------------------+-------------------------------
  Reporter:  forums@…                       |       Owner:  ryandesign@…           
      Type:  defect                         |      Status:  closed                 
  Priority:  Normal                         |   Milestone:  Port Bugs              
 Component:  ports                          |     Version:  1.6.0                  
Resolution:  invalid                        |    Keywords:  php5                   
      Port:  php5                           |  
--------------------------------------------+-------------------------------

Comment(by akim.demaille@…):

 I have the same problem and the bug is that autoconf213 is broken:

 {{{
 : ${AC_MACRODIR=/opt/local/share/autoconf213/autoconf}
 : ${M4=/opt/local/bin/gm4}
 : ${AWK=}
 case "${M4}" in
 /*) # Handle the case that m4 has moved since we were configured.
     # It may have been found originally in a build directory.
     test -f "${M4}" || M4=m4 ;;
 esac
 }}}

 as you can see, AWK is set to empty, so when autoconf213 tries to run the
 following AWK program:

 {{{
 # Put the real line numbers into configure to make config.log more
 helpful.
 $AWK '
 /__oline__/ { printf "%d:", NR + 1 }
            { print }
 ' $tmpout | sed '
 /__oline__/s/^\([0-9][0-9]*\):\(.*\)__oline__/\2\1/
 ' >&4
 }}}

 then it fails.

 uninstalling and reinstalling autoconf213 fixes the problem. Yet
 autoconf213 should check that it has proper values.

-- 
Ticket URL: <http://trac.macports.org/ticket/17492#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list