I was installing awka on a computer where I have an unprivileged account, and thus I could not do \'make install\'. From the existing documentation, it was unclear how I should use awka if that step was not an option. The awka translator worked fine, but I got errors from gcc. I realized that I needed to inform gcc where to find the header files and object files. In the unpacked awka tarball directory I typed the following to sucessfully compile:
gcc awka_out.c -Ilib -Llib -lawka
The resulting executable worked just fine.
Hopefully I am doing this correctly. Perhaps this will be helpful for other awka newbies.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Apologies for the typos.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Forgot to mention: you would also need to update the LD_LIBRARY_PATH environment variable to include the path to the libawka.so shared library file.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
... and I had to throw in an extra '-lm' option to gcc to get some mathematical functions to work correctly.