Re: [ANNOUNCE] pgAdmin 4 v1.0 Released!

Поиск
Список
Период
Сортировка
От Tim Clarke
Тема Re: [ANNOUNCE] pgAdmin 4 v1.0 Released!
Дата
Msg-id 804eb075-4086-59b9-195c-528f9f103102@manifest.co.uk
обсуждение исходный текст
Ответ на Re: [ANNOUNCE] pgAdmin 4 v1.0 Released!  (Devrim Gündüz <devrim@gunduz.org>)
Ответы Re: [ANNOUNCE] pgAdmin 4 v1.0 Released!  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: [ANNOUNCE] pgAdmin 4 v1.0 Released!  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
On 30/09/16 18:35, Devrim Gündüz wrote:
> These are the -devel packages that I installed to build pgadmin4 RPMs:
> BuildRequires:    mesa-libGL-devel
> BuildRequires:    gcc-c++
> BuildRequires:    qt5-qtbase-devel >= 5.1
> BuildRequires:    qt5-qtwebkit-devel
> BuildRequires:    qt-devel >= 4.6
> BuildRequires:    qtwebkit-devel
> BuildRequires:    python3-devel
> BuildRequires:    python-devel
>
> In your case, I think qt-devel and qtwebkit-devel packages are needed.
>
> Regards,
>

Many thanks for that list Devrim, I always get slightly irritated as a
developer on many platforms that the build process isn't slightly more
transport sometimes. Since I'm running Ubuntu here, for the benefit of
others, I had to:

sudo apt-get install qt4-dev-tools libqtwebkit-dev

Now I've compiled it with only:

> /usr/lib/x86_64-linux-gnu/qt4/bin/rcc -name pgAdmin4 pgAdmin4.qrc -o
> qrc_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
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
> -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtWebKit
> -I/usr/include/qt4 -I. -I. -o qrc_pgAdmin4.o qrc_pgAdmin4.cpp
> In file included from qrc_pgAdmin4.cpp:9:0:
> qrc_pgAdmin4.cpp:4142:44: warning:
> ‘qInitResources_pgAdmin4__init_variable__’ defined but not used
> [-Wunused-variable]
>  Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4))
>                                             ^
> /usr/include/qt4/QtCore/qglobal.h:941:21: note: in definition of macro
> ‘Q_CONSTRUCTOR_FUNCTION0’
>     static const int AFUNC ## __init_variable__ = AFUNC();
>                      ^
> qrc_pgAdmin4.cpp:4142:1: note: in expansion of macro
> ‘Q_CONSTRUCTOR_FUNCTION’
>  Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4))
>  ^
> qrc_pgAdmin4.cpp:4142:24: note: in expansion of macro
> ‘QT_MANGLE_NAMESPACE’
>  Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4))
>                         ^


for notes (which I don't think are a problem but I could be wrong), I get:

> timc@tim-573P:~/dev/pgadmin4-1.0/runtime$ ./pgAdmin4 &
> [1] 9195
> timc@tim-573P:~/dev/pgadmin4-1.0/runtime$ Python path:  "/usr/bin/python"
> Python Home:  ""
> Webapp path:  "/home/timc/dev/pgadmin4-1.0/web/pgAdmin4.py"
> Traceback (most recent call last):
>   File "/home/timc/dev/pgadmin4-1.0/web/pgAdmin4.py", line 24, in <module>
>     from pgadmin import create_app
>   File "/home/timc/dev/pgadmin4-1.0/web/pgadmin/__init__.py", line 17,
> in <module>
>     from flask import Flask, abort, request, current_app
> ImportError: No module named flask
> "Failed to launch the application server, server thread exiting."
>
> [1]+  Exit 1                  ./pgAdmin4


when I try to run it despite an attempt to recover by:

> sudo apt-get ^Cstall python-flask

Sigh

--
Tim


Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Rakesh Kumar
Дата:
Сообщение: Re: Multi tenancy : schema vs databases
Следующее
От: ""
Дата:
Сообщение: Re: Graphical entity relation model