Closed tcolonel closed 4 years ago
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
/tmp/swoole/ext-postgresql/swoole_postgresql_coro.h:28:33: fatal error: postgresql/libpq-fe.h: No such file or directory
^
compilation terminated. make: *** [swoole_postgresql_coro.lo] Error 1
Thanks.
Just find out where is libpq-fe.h, open _swoole_postgresqlcoro.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
make && make install
Hello.
What about this error:
Thanks.