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+7SCY5m2h96isuVeMJd+S0eFvTxEnzr0TbO3O6iF9QwVQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgadmin4: The python-config executable could not be found.  (Darren Duncan <darren@darrenduncan.net>)
Ответы Re: pgadmin4: The python-config executable could not be found.  (Neel Patel <neel.patel@enterprisedb.com>)
Список pgadmin-support
On Mon, Apr 18, 2016 at 12:29 AM, Darren Duncan <darren@darrenduncan.net> wrote:
> Akin to Dave's response, perhaps your problem is that the installed python
> package is only complete if you are just running pure Python code against
> it, whereas if you are building anything C-level against Python eg some kind
> of extension then you would need a python-devel like package to give you the
> relevant C header files which you otherwise don't have. -- Darren Duncan


I've installed python 3.5 from the official site, and I can now run
the qmake straight. However, during the make I got:

Server.o: In function `Server::~Server()':
Server.cpp:(.text+0x1f): undefined reference to `Py_Finalize'
Server.o: In function `Server::run()':
Server.cpp:(.text+0x1b5): undefined reference to `PyRun_SimpleStringFlags'
Server.cpp:(.text+0x241): undefined reference to `PyFile_FromFd'
Server.cpp:(.text+0x292): undefined reference to `PyObject_AsFileDescriptor'
Server.cpp:(.text+0x2ad): undefined reference to `PyRun_SimpleFileExFlags'
Server.o: In function `Server::Server(unsigned short)':
Server.cpp:(.text+0x60d): undefined reference to `Py_NoSiteFlag'
Server.cpp:(.text+0x696): undefined reference to `Py_SetProgramName'
Server.cpp:(.text+0x69b): undefined reference to `Py_Initialize'
Server.cpp:(.text+0x785): undefined reference to `PySys_GetObject'
Server.cpp:(.text+0x7fb): undefined reference to `PyBytes_FromString'
Server.cpp:(.text+0x806): undefined reference to `PyList_Append'
collect2: error: ld returned 1 exit status
Makefile:124: recipe for target 'pgAdmin4' failed
make: *** [pgAdmin4] Error 1

and then I'm stucked.

Luca



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

Предыдущее
От: kamenlitchev@mail.bg
Дата:
Сообщение: [Bug report] pgAdmin 1.22.1 crashes when connection lost
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: pgadmin4: The python-config executable could not be found.