Hi there,
This might be a trivial, but several Eggs (including mine) won't compile on BSD based OS's. It seems include flags for external libraries aren't being set when compiling the final C code.
Here's an example error message:
'/usr/local/bin/csc' -feature compiling-extension -setup-mode -J -v -s -O3 -d1 -llink-grammar -emit-type-file link-grammar.types link-grammar.scm
'/usr/local/bin/chicken' 'link-grammar.scm' -output-file 'link-grammar.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -setup-mode -emit-all-import-libraries -verbose -optimize-level 3 -debug-level 1 -emit-type-file link-grammar.types
generating import library `link-grammar.import.scm' for module `link-grammar' ...
'gcc' 'link-grammar.c' -o 'link-grammar.o' -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -fPIC -DPIC -DC_SHARED -I/usr/local/include/chicken
link-grammar.c:13:40: error: link-grammar/link-includes.h: No such file or directory
link-grammar.c:14:40: error: link-grammar/link-features.h: No such file or directory
I'm not sure where to add the correct flags in the setup/meta files of the Egg i.e. /usr/local/include/
I would appreciate any suggestions. Here is my compile procedure for the above Egg: