Compiling FFTB


#1

Does anyone manage to compile FFTB? I am trying to make it work with the last ACE 0.9.30 without any success so far. I am blocked in the compilation of web.c

What is this liba.h file?

$ make
gcc -O2 -g   -c -o web.o web.c
web.c:16:10: fatal error: liba.h: No such file or directory
#include <liba.h>
         ^~~~~~~~
compilation terminated.
<builtin>: recipe for target 'web.o' failed
make: *** [web.o] Error 1

Help!


#2

For this, you will need liba compiled and installed first:

svn co http://sweaglesw.org/svn/liba/trunk liba

Best,

Woodley


#3

hi Woodley,

could you add the link to this page (which says liba is not available) please?


#4

Thank you @sweaglesw, now a new problem:

$ make
gcc -g -O -shared -fPIC -pthread   -c -o sql.o sql.c
sql.c:6:10: fatal error: postgresql/libpq-fe.h: No such file or directory
 #include <postgresql/libpq-fe.h>
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'sql.o' failed
make: *** [sql.o] Error 1

As you can see from the other posts, I am trying to compile fftb in the Linux system in parallel with my tests with fftb pre-compied to MacOS.


#5

@arademaker, you can either remove sql.o from the liba Makefile (I think that will work, and fftb does not use it) or install the libpq-dev package (postgres libraries) that liba depends on.