Browse Source

Update include path, and install postgres developer libraries

Hamilton Turner 11 years ago
parent
commit
34ff245448

+ 2 - 0
frameworks/C++/cpoll_cppsp/install.sh

@@ -1,2 +1,4 @@
 #!/bin/bash
 
+sudo apt-get install -y postgresql-server-dev-9.3 libpq-dev
+

+ 1 - 1
frameworks/C++/cpoll_cppsp/www/db_pg_async

@@ -1,4 +1,4 @@
-<%!-lpq%><%!-I/usr/include/postgresql%><%@ class mypage %><%#
+<%!-lpq%><%!-I/usr/include/postgresql%><%!-I/usr/include/postgresql/9.3/server%><%@ class mypage %><%#
 #include <libpq-fe.h>
 #include <postgres.h>
 #include <catalog/pg_type.h>

+ 1 - 1
frameworks/C++/cpoll_cppsp/www/db_pg_threadpool

@@ -1,4 +1,4 @@
-<%!-lpq%><%!-I/usr/include/postgresql%><%@ class mypage %><%#
+<%!-lpq%><%!-I/usr/include/postgresql%><%!-I/usr/include/postgresql/9.3/server%><%@ class mypage %><%#
 #include <libpq-fe.h>
 #include <postgres.h>
 #include <catalog/pg_type.h>