Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Requests   » gawk 3.0.4

UBBFriend: Email this page to someone!    
Author Topic: gawk 3.0.4
Clay
Member
Member # 143

posted October 11, 2001 01:52 AM      Profile for Clay   Email Clay   Send New Private Message      Edit/Delete Post  Reply With Quote 
Would love to see gawk ported ...
http://www.gnu.org/manual/gawk/html_chapter/gawk_20.html

Source:
ftp://labrea.stanford.edu/pub/gnu/gawk/gawk-3.0.4.tar.gz

I'll keep my fingers crossed. Thanks!
-Clay


Posts: 16 | Registered: Oct 2001  |  IP: Logged
Clay
Member
Member # 143

posted October 11, 2001 02:33 AM      Profile for Clay   Email Clay   Send New Private Message      Edit/Delete Post  Reply With Quote 
D'oh ... I'm obviously out of it.

How about the latest version?

ftp://sunsite.ualberta.ca/pub/Mirror/gnu/gawk/gawk-3.1.0.tar.gz


Posts: 16 | Registered: Oct 2001  |  IP: Logged
Clay
Member
Member # 143

posted October 11, 2001 11:05 AM      Profile for Clay   Email Clay   Send New Private Message      Edit/Delete Post  Reply With Quote 
Well, the ualberta.ca link is really slow ... so perhaps this is better:
http://ftp.digex.net/pub/gnu/gawk/gawk-3.1.0.tar.gz

Thanks,
Clay


Posts: 16 | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 11, 2001 01:05 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
I'll see what i can do.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
pmercier
Junior Member
Member # 42

posted October 11, 2001 02:14 PM      Profile for pmercier   Email pmercier   Send New Private Message      Edit/Delete Post  Reply With Quote 
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.


Posts: 7 | From: University of Alberta | Registered: Aug 2001  |  IP: Logged
Clay
Member
Member # 143

posted October 11, 2001 02:37 PM      Profile for Clay   Email Clay   Send New Private Message      Edit/Delete Post  Reply With Quote 
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


Posts: 16 | Registered: Oct 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 11, 2001 02:58 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
I'm uploading it right now, please let me know how it works for you. ETA 5 minutes after this post. http://macosx.forked.net/ports/gawk-3.1.0.pkg .
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted October 11, 2001 03:03 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
The warnings you had are easily fixed by editing your Makefile, however they should not be fatal.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2