Well, the ualberta.ca link is really slow ... so perhaps this is better:
<A HREF="http://ftp.digex.net/pub/gnu/gawk/gawk-3.1.0.tar.gz" TARGET=_blank>http://ftp.digex.net/pub/gnu/gawk/gawk-3.1.0.tar.gz</A>
Thanks,
Clay
pmercier
2001-10-11 21:14:00
I believe (I still have to run the tests) I got a functional version by simply doing
1) ./configure ppc
2) make
directly from a terminal window. It created a "gawk" file 591,188 bytes in size.
After finding the latest version, I had similar results ... but was concerned about these warning messages:
/usr/bin/ld: warning multiple definitions of symbol _regcomp
regex.o private external definition of _regcomp in section (__TEXT,__text)
/usr/lib/libm.dylib(regcomp.o) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
regex.o private external definition of _regexec in section (__TEXT,__text)
/usr/lib/libm.dylib(regexec.o) definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
regex.o private external definition of _regfree in section (__TEXT,__text)
/usr/lib/libm.dylib(regfree.o) definition of _regfree
/usr/bin/ld: warning unused multiple definitions of symbol _err
msg.o definition of _err in section (__TEXT,__text)
/usr/lib/libm.dylib(err.o) unused definition of _err
/usr/bin/ld: warning unused multiple definitions of symbol _getopt
getopt.o definition of _getopt in section (__TEXT,__text)
/usr/lib/libm.dylib(getopt.o) unused definition of _getopt
/usr/bin/ld: warning unused multiple definitions of symbol _opterr
getopt.o definition of _opterr in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _opterr
/usr/bin/ld: warning unused multiple definitions of symbol _optind
getopt.o definition of _optind in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optind
/usr/bin/ld: warning unused multiple definitions of symbol _optopt
getopt.o definition of _optopt in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optopt
/usr/bin/ld: warning unused multiple definitions of symbol _optarg
"link editor" definition of _optarg in section (__DATA,__common)
/usr/lib/libm.dylib(getopt.o) unused definition of _optarg
/usr/bin/ld: warning unused multiple definitions of symbol _regerror
regex.o definition of _regerror in section (__TEXT,__text)
/usr/lib/libm.dylib(regerror.o) unused definition of _regerror
source='eval_p.c' object='eval_p.o' libtool=no \
depfile='.deps/eval_p.Po' tmpdepfile='.deps/eval_p.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc -DDEFPATH="\".:/usr/local/share\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I./intl -g -O2 -c -o eval_p.o `test -f eval_p.c || echo './'`eval_p.c
source='profile_p.c' object='profile_p.o' libtool=no \
depfile='.deps/profile_p.Po' tmpdepfile='.deps/profile_p.TPo' \
depmode=gcc /bin/sh ./depcomp \
cc -DDEFPATH="\".:/usr/local/share\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/usr/local/share/locale\"" -I. -I. -I./intl -g -O2 -c -o profile_p.o `test -f profile_p.c || echo './'`profile_p.c
cc -g -O2 -o pgawk array.o awkgram.o builtin.o dfa.o ext.o field.o gawkmisc.o getopt.o getopt1.o io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o eval_p.o profile_p.o ./intl/libintl.a -lm
/usr/bin/ld: warning multiple definitions of symbol _regcomp
regex.o private external definition of _regcomp in section (__TEXT,__text)
/usr/lib/libm.dylib(regcomp.o) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
regex.o private external definition of _regexec in section (__TEXT,__text)
/usr/lib/libm.dylib(regexec.o) definition of _regexec
/usr/bin/ld: warning multiple definitions of symbol _regfree
regex.o private external definition of _regfree in section (__TEXT,__text)
/usr/lib/libm.dylib(regfree.o) definition of _regfree
/usr/bin/ld: warning unused multiple definitions of symbol _err
msg.o definition of _err in section (__TEXT,__text)
/usr/lib/libm.dylib(err.o) unused definition of _err
/usr/bin/ld: warning unused multiple definitions of symbol _getopt
getopt.o definition of _getopt in section (__TEXT,__text)
/usr/lib/libm.dylib(getopt.o) unused definition of _getopt
/usr/bin/ld: warning unused multiple definitions of symbol _opterr
getopt.o definition of _opterr in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _opterr
/usr/bin/ld: warning unused multiple definitions of symbol _optind
getopt.o definition of _optind in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optind
/usr/bin/ld: warning unused multiple definitions of symbol _optopt
getopt.o definition of _optopt in section (__DATA,__data)
/usr/lib/libm.dylib(getopt.o) unused definition of _optopt
/usr/bin/ld: warning unused multiple definitions of symbol _optarg
"link editor" definition of _optarg in section (__DATA,__common)
/usr/lib/libm.dylib(getopt.o) unused definition of _optarg
/usr/bin/ld: warning unused multiple definitions of symbol _regerror
regex.o definition of _regerror in section (__TEXT,__text)
/usr/lib/libm.dylib(regerror.o) unused definition of _regerror
... that seemed like an awful lot of warnings. Nothing to be worried about?
Thanks,
Clay
I'm uploading it right now, please let me know how it works for you. ETA 5 minutes after this post. <A HREF="http://macosx.forked.net/ports/gawk-3.1.0.pkg" TARGET=_blank>http://macosx.forked.net/ports/gawk-3.1.0.pkg</A> .
The warnings you had are easily fixed by editing your Makefile, however they should not be fatal. [img]images/icons/smile.gif"%20border="0[/img]