How to use rule-based CLIPS engine in linux environment
I am new to computer science. My project requires a rule based CLIPS engine and it runs on a RHEL field. Looking at the clip download link ( http://sourceforge.net/projects/clipsrules/files/CLIPS/6.30/ ) there is no linux package. I was wondering if this means I need to create it from source files in order to use it in RHEL?
Thanks in advance.
+3
source to share
2 answers
Section 2 of the Advanced Programming Guide contains instructions at http://clipsrules.sourceforge.net/documentation/v630/apg.htm for recompiling CLIPS on different platforms. The easiest way to create an executable is to put the kernel source in a directory and compile it with one line:
gcc -o clips -DLINUX=1 *.c -lm
If you get any errors, try compiling with the GENERIC flag, not LINUX:
gcc -o clips -DGENERIC=1 *.c -lm
+2
source to share