From: | Neel Patel <neel(dot)patel(at)enterprisedb(dot)com> |
---|---|
To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
Cc: | "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAdmin 4 as Web application |
Date: | 2016-08-08 16:02:01 |
Message-ID: | CACCA4P3QZ5vbhDbZre7Dt=fQHHRHwuLqJHzo5BzH3Zqh5RY1XQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
From the logs, it looks like - Qt webkit component is missing in Qt4
installation.
Are you building Qt from source, If yes then there will be option in
configure script to build Qt4 with webkit.
If you are not using source code, try installing webkit with yum (e.g. yum
install libqt4-webkit).
Thanks,
Neel Patel
On Mon, Aug 8, 2016 at 8:37 PM, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
wrote:
> I'm trying to follow
> https://www.pgadmin.org/docs4/dev/server_deployment.html
> to install pgAdmin 4 as web application on RHEL 6, but I didn't get very
> far:
>
> There is no file "pgAdmin4.wsgi" available for download.
> Did I miss something obvious?
>
>
> So I tried to build from source, and failed immediately with
>
> laurenz:~/rpmbuild/pgadmin4-1.0-beta3/runtime> qmake-qt4
> Project MESSAGE: Building for QT4...
> Project MESSAGE: Building for Linux/Mac...
> Project MESSAGE: Using /usr/bin/python-config
> Project MESSAGE: Python2 detected.
>
> laurenz:~/rpmbuild/pgadmin4-1.0-beta3/runtime> make
> g++ -c -m64 -pipe -I/usr/include/python2.6 -I/usr/include/python2.6 -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT
> -DPYTHON2 -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
> -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I.
> -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui
> -I/usr/include/QtWebKit -I/usr/include -I. -I. -o pgAdmin4.o pgAdmin4.cpp
> In file included from TabWindow.h:16,
> from BrowserWindow.h:16,
> from pgAdmin4.cpp:28:
> WebViewWindow.h:20:20: error: QWebView: No such file or directory
> In file included from TabWindow.h:16,
> from BrowserWindow.h:16,
> from pgAdmin4.cpp:28:
> WebViewWindow.h:24: error: expected class-name before ‘{’ token
> make: *** [pgAdmin4.o] Error 1
>
> I searched the web, but could not find any answers how to install
> Qt Webkit on RHEL 6.
>
> Can you help?
>
> Yours,
> Laurenz Albe
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2016-08-08 16:10:10 | Re: pgAdmin 4 as Web application |
Previous Message | Dave Page | 2016-08-08 15:51:06 | pgAdmin 4 commit: Update message catalog. |