Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to compile on ubuntu 12.04 #13

Closed
wants to merge 1 commit into from

Conversation

avances123
Copy link

Maybe the relative name -libpq works as well (line 13)

Maybe the relative name -libpq works as well (line 13)
@shulcsm
Copy link

shulcsm commented Sep 27, 2012

+1 also viable for debian

@charafau
Copy link

I compiled this today on 12.04. You just need to add path where you have libpq.so to GLOBAL_INCLUDES in pgmodeler.pro and then just do qmake pgmodeler.pro and then make

@rkhaotix
Copy link
Member

Thanks avances123, but if I merge this patch to master branch other users, like me, that does'nt use default installations (e.g. PostgreSQL libs at /usr/lib) will have problems on build. I prefer that the user changes the GLOBAL_{INCLUDES | LIBS} manually until I can make an automated process to find the necessary libraries to use on compilation.

@lopesivan
Copy link

para rodar no ubuntu.
sudo apt-get install postgresql-server-dev-all libpq-dev

e no arquivo pgmodeler.pro , faça:

unix {

GLOBAL_INCLUDES = .
/usr/include/postgresql/
/usr/include
/usr/include/libxml2

GLOBAL_LIBS = /usr/lib/libpq.so
-lxml2

@hexum
Copy link

hexum commented Jan 7, 2014

I have a cure:
export PKG_CONFIG_PATH+=:/usr/lib/postgresql/pkgconfig

For now it works on Gentoo linux. Someone, please test on Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants