Re: pgadmin server-status does not display

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Walter Nordmann <wnordmann(at)gmx(dot)de>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgadmin server-status does not display
Date: 2016-11-11 17:03:07
Message-ID: CA+OCxow7ZW7d82uZrrT2Rco9fqnLzrE2PkagQe_UxRx3WDUYHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

On Fri, Nov 11, 2016 at 2:34 PM, Walter Nordmann <wnordmann(at)gmx(dot)de> wrote:
>
> Problems making pgadmin4
>
> /opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ qmake
> Project MESSAGE: Building for QT5+...
> Project MESSAGE: Building for Linux/Mac...
> Project MESSAGE: Using /usr/bin/python-config
> Project MESSAGE: Python2 detected.
> walter(at)server2:/opt/install/postgresql/pgadmin4/pgadmin4-1.1/runtime$ make
> g++ -c -m64 -pipe -I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I.
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o pgAdmin4.o
> pgAdmin4.cpp
> ...
> ...
> ...
> g++ -c -m64 -pipe -I/usr/include/python2.7
> -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB
> -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem
> /usr/include/x86_64-linux-gnu/qt5 -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I.
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o ConfigWindow.o
> ConfigWindow.cpp
> In file included from ConfigWindow.cpp:13:0:
> ui_ConfigWindow.h:13:25: fatal error: QtGui/QAction: Datei oder Verzeichnis
> nicht gefunden
> #include <QtGui/QAction>
> ^
>
> and make is right. there is no QtGui/Qaction on my system (fresh installed
> qt5 dev packages)

Hmm, I'm not an Ubuntu user, but I grabbed a copy and gave it a try
and found I needed to install the following:

qt5-default
python-dev
libqt5webkit5-dev

That was enough to build the runtime - of course, there's more to do
to get the Python side going, but the README should help with that.

One caveat - for v1.2 we're moving from QtWebKit to QtWebEngine by
default, plus we have some other fixes in the runtime to make it more
stable. Unfortunately it seems that Ubuntu don't yet include
QtWebEngine, though it is on it's way according to
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1579265/comments/6

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Дмитрий Воронин 2016-11-11 18:32:17 pgadmin III and future support
Previous Message Walter Nordmann 2016-11-11 14:34:33 Re: pgadmin server-status does not display