Open chrisbangun opened 8 years ago
Hi, I tried to install foma at my local machine by following the written instructions in README. However, I got the following error:
gcc -O3 -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c regex.tab.c -o regex.tab.o regex.y: In function ‘yyparse’: regex.y:369:36: error: expected ‘;’ before ‘}’ token Makefile:81: recipe for target 'regex.tab.o' failed make: *** [regex.tab.o] Error 1
also, I tried to run this command: python setup.py install and then tried to import foma in python. yet, I got this error:
python setup.py install
>>> import foma Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/local/lib/python2.7/dist-packages/foma.so: undefined symbol: apply_med_set_med_limit
can you help me to resolve the error? cheers
There needs to be a ; before the closing } on that line. I've sent in a pull request to fix this.
Hi, I tried to install foma at my local machine by following the written instructions in README. However, I got the following error:
also, I tried to run this command:
python setup.py install
and then tried to import foma in python. yet, I got this error:can you help me to resolve the error? cheers