From: | Luca Ferrari <fluca1978(at)infinito(dot)it> |
---|---|
To: | Darren Duncan <darren(at)darrenduncan(dot)net> |
Cc: | "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: pgadmin4: The python-config executable could not be found. |
Date: | 2016-04-19 08:46:49 |
Message-ID: | CAKoxK+7SCY5m2h96isuVeMJd+S0eFvTxEnzr0TbO3O6iF9QwVQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
On Mon, Apr 18, 2016 at 12:29 AM, Darren Duncan <darren(at)darrenduncan(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Luca Ferrari | 2016-04-19 08:59:32 | Re: pgadmin4: The python-config executable could not be found. |
Previous Message | kamenlitchev | 2016-04-18 12:52:47 | [Bug report] pgAdmin 1.22.1 crashes when connection lost |