Error while `make && make install`
tcolonel opened this issue · comments
Hello.
What about this error:
/tmp/swoole/ext-postgresql/swoole_postgresql_coro.h:28:33: fatal error: postgresql/libpq-fe.h: No such file or directory
#include <postgresql/libpq-fe.h>
^
compilation terminated.
make: *** [swoole_postgresql_coro.lo] Error 1
Thanks.
Just find out where is libpq-fe.h, open swoole_postgresql_coro.h and change the path to the libpq-fe.h:
#ifdef __linux__
#include </usr/include/libpq-fe.h>
#endif
and run again make && make install