ID: | 3237 |
From: | James Battat <jb...@wellesley.edu> |
Date: | Mon, 5 Aug 2019 23:52:41 -0400 |
Subject: | Re: [pcb-rnd] fungw: re-installation required |
in-reply-to: | 3236 from ge...@igor2.repo.hu |
replies: | 3239 from ge...@igor2.repo.hu |
OK -- verified the same output for c, lua, and tcl. But have problems with perl and python: === perl === ˜$ LNG=perl SCRIPT=hello.pl ./test_script ### Set up perl (hello.pl) ### Call hello() ERROR: hello() not found. res=-1 === python === $ LNG=python SCRIPT=hello.py ./test_script ### Set up python (hello.py) hello world from init 33 ### Call hello() Segmentation fault: 11 The perl output is the same as for languages that configure did not find (e.g. python3). But that's strange since ./configure did find perl. From config.log: ###report### Checking for perl... find_perl: trying to find perl... <<<snip>>> ###report### OK ('', '-fno-common -DPERL_DARWIN -mmacosx-version-min=10.12 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV -I/usr/local/Cellar/perl/5.30.0/lib/perl5/5.30.0/darwin-thread-multi-2level/CORE' and '-mmacosx-version-min=10.12 -fstack-protector-strong -L/usr/local/lib -L/usr/local/Cellar/perl/5.30.0/lib/perl5/5.30.0/darwin-thread-multi-2level/CORE -lperl -lpthread -ldl -lm -lutil\ -lc') James On 8/5/19 11:13 PM, gedau@igor2.repo.hu wrote: > > On Mon, 5 Aug 2019, James Battat wrote: > >> OK, make completed successfully, and I was able to run >> trunk/example/test_script >> Output is below (not sure what the expected output is). >> >> I'm guessing that all is well -- thanks for your help getting this worked out. >> >> All the best, >> James >> >> $ LNG=fawk SCRIPT=hello.fawk ./test_script >> >> ### Set up fawk (hello.fawk) >> hello world from init 33.000000 >> >> ### Call hello() >> Hello 12.000000 blobbs >> atoi: 42.000000 >> res=66 > Looks good! Thanks for reporting the bugs and testing fungw on OSX! > > If you plan to use perl or python, running the test with the > corresponding language and test script makes sense, just to make sure that > language works as well. Should produce the same numbers on the output. > > Regards, > > Igor2 > > >
Reply subtree:
3237 Re: [pcb-rnd] fungw: re-installation required from James Battat <jb...@wellesley.edu>
3239 Re: [pcb-rnd] fungw: re-installation required from ge...@igor2.repo.hu