On 12/17/2011 5:44 PM, Kevin Horton wrote:
> Attempts to build firefox8-8.0.1-2 on OS X 10.7 fail with:
>
> Generating /sw/src/fink.build/firefox8-8.0.1-2/mozilla-release/configure 
> using autoconf
> cd /sw/src/fink.build/firefox8-8.0.1-2/mozilla-release; 
> /sw/lib/autoconf2.13/bin/autoconf
> /sw/lib/autoconf2.13/bin/autoconf: line 153: gawk: command not found
> Generating 
> /sw/src/fink.build/firefox8-8.0.1-2/mozilla-release/js/src/configure using 
> autoconf
> cd /sw/src/fink.build/firefox8-8.0.1-2/mozilla-release/js/src; 
> /sw/lib/autoconf2.13/bin/autoconf
> /sw/lib/autoconf2.13/bin/autoconf: line 153: gawk: command not found

Simple answer: install fink's gawk package or rebuild 
autoconf2.13-legacy w/out gawk installed and then try rebuilding 
firefox8.  I prefer the latter.

Longer answer: this is an issue with autoconf2.13-legacy rather than 
firefox8.  /sw/lib/autoconf2.13/bin/autoconf hardcodes the awk binary it 
first finds from mawk, gawk, nawk, and awk (in that order) during 
./configure.  Passing AWK=/usr/bin/awk to ./configure seems to force it 
to use the system awk.

CC'ing fink-devel in case someone there knows why that is the wrong way 
to do this.  firefoxN is the only package that I know that uses 
autoconf2.13-legacy, so it would be nice to have this fixed correctly 
w/out having to force gawk down the dependency chain.

Hanspeter

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to