Awk issues: system awk vs [ng]awk in ports

Randall Wood rhwood at mac.com
Thu Mar 22 02:47:36 PDT 2007


I maintain the gnome-doc-util port and am using only the system awk  
(Mac OS X 10.4.9 ppc)

I haven't the time to look at the port until this weekend though.

On 21 Mar 2007, at 23:43, Paul Beard wrote:

> Apropos of jkorchok at hotmail.com's issue, I am seeing some errors  
> from awk. Are different versions in use?
>
> This is what I get from a failed upgrade to gnome-doc-utils:
>
> Making all in gnome-doc-make
> make[2]: Nothing to be done for `all'.
> Making all in xslt
> awk -W compat -f "./xsldoc.awk" "../../xslt/docbook/common/db- 
> chunk.xsl" | xsltproc -o "C/db-chunk.xml" --stringparam basename  
> "db-chunk" --stringparam xsl_file "../../xslt/docbook/common/db- 
> chunk.xsl" "./xsldoc.xsl" -
> awk: unknown option -W ignored
>
> awk: can't open file -f
> source line number 1
> -:1: parser error : Document is empty
>
> ^
> -:1: parser error : Start tag expected, '<' not found
>
> ^
> unable to parse -
> make[2]: *** [C/db-chunk.xml] Error 6
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> awk -W compat is not an option in awk on OS X. It *is* on the awk I  
> have on FreeBSD (actually, gawk). So what's happening here?
>
> is one of these a prerequisite but not listed as a dependency?
>
> white:~ paul$ port list | grep awk
> gawk                           @3.1.5          lang/gawk
> nawk                           @20050424       lang/nawk
>
> I didn't realize there were awk variants in the ports tree, but  
> does anyone thing establishing a dependency on them without making  
> that clear is a good idea?
> --
> Paul Beard
> contact info: www.paulbeard.org/paulbeard.vcf
> pictures: http://www.flickr.com/photos/pdb206/
> Are you trying to win an argument or solve a problem?
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users


Randall Wood
rhwood at mac.com

"The rules are simple: The ball is round. The game lasts 90 minutes.  
All the
rest is just philosophy."





More information about the macports-users mailing list