|
|
Home » Developing U++ » Releasing U++ » Not compile example reference/SQL_MySql in ROSA Linux R6
|
Re: Not compile example reference/SQL_MySql in ROSA Linux R6 [message #45939 is a reply to message #45936] |
Thu, 28 January 2016 20:14   |
|
Hello Navadvipa Chandra das,
Welcome to the forum 
The code was actually correct when it was lowercase. It does not refer to the header in MySql U++ package, but to the header for libmysql, usually located in /usr/include/mysql/mysql.h. To get this to your system, you'll need to install libmysqlclient-devel via your distributions package manager.
Let us know if that doesn't solve the problem.
Best regards,
Honza
|
|
|
|
Re: Not compile example reference/SQL_MySql in ROSA Linux R6 [message #45945 is a reply to message #45943] |
Sat, 30 January 2016 08:33   |
|
Hello,
Navadvipa Chandra das wrote on Fri, 29 January 2016 22:06In file included from /home/navadvipa/upp/uppsrc/PostgreSQL/PostgreSQL.cpp:1:0:
/home/navadvipa/upp/uppsrc/PostgreSQL/PostgreSQL.h:10:33: fatal error: postgresql/libpq-fe.h: No such file or directory
#include <postgresql/libpq-fe.h>
I installed the packages:
$ sudo urpmi postgresql postgresql-plpgsql postgresql-server postgresql-contrib postgresql-devel postgresql-docs
This looks like a bug. The file is actually located in /usr/include/libpq-fe.h. Quick file search would tell you that So the postgresql/ shouldn't be there, the only systems where this works are those based on Debian, where the path is for some reason different. For a quick fix, just remove the "postgresql/" from the include.
Best regards,
Honza
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 18:13:00 CEST 2025
Total time taken to generate the page: 0.03267 seconds
|
|
|