Re: pgadmin4: The python-config executable could not be found.

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: pgadmin4: The python-config executable could not be found.
Дата
Msg-id CAKoxK+6Z16mHS8iti_uwUDFETqaRw1O0jiEM9z7+PsskpxMung@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgadmin4: The python-config executable could not be found.  (Neel Patel <neel.patel@enterprisedb.com>)
Ответы Re: pgadmin4: The python-config executable could not be found.  (Mark Csaba <markcs@gwyll.eu>)
Список pgadmin-support
On Tue, Apr 19, 2016 at 11:00 AM, Neel Patel
<neel.patel@enterprisedb.com> wrote:
> Remove the "-lpython3.4m" from LFLAGS in Makefile and add it at the end in
> "LIBS" variable after linking of Qt libraries as below.

While it compiles with python 2.7 it does not with 3.5.1 (I report
this in the case it is useful):

In file included from qrc_pgAdmin4.cpp:9:0:
qrc_pgAdmin4.cpp:2373: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:2373:1: note: in expansion of macro
‘Q_CONSTRUCTOR_FUNCTION’Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4))^
qrc_pgAdmin4.cpp:2373:24: note: in expansion of macro
‘QT_MANGLE_NAMESPACE’Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4))                      ^ 
g++ -m64 -L/usr/local/Python-3.5.1/lib/python3.5/config-3.5m
-L/usr/local/Python-3.5.1/lib  -lpthread -ldl -lutil -lm -Xlinker
-export-dynamic -Wl,-O1 -o pgAdmin4 pgAdmin4.o BrowserWindow.o
Server.o TabWindow.o WebViewWindow.o ConfigWindow.o
moc_BrowserWindow.o moc_Server.o moc_TabWindow.o moc_WebViewWindow.o
moc_ConfigWindow.o qrc_pgAdmin4.o    -L/usr/lib/x86_64-linux-gnu
-lQtWebKit -lQtGui -lQtNetwork -lQtCore -lpthread -lpython3.5m
/usr/bin/ld: /usr/local/Python-3.5.1/lib/python3.5/config-3.5m/libpython3.5m.a(signalmodule.o):
undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO
missing from command line
collect2: error: ld returned 1 exit status
Makefile:124: recipe for target 'pgAdmin4' failed
make: *** [pgAdmin4] Error 1



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

Предыдущее
От: Neel Patel
Дата:
Сообщение: Re: pgadmin4: The python-config executable could not be found.
Следующее
От: Mark Csaba
Дата:
Сообщение: Re: pgadmin4: The python-config executable could not be found.