[opensuse] noobish question about compiling libre office and python configuration
Hi, Not sure if this is the correct forum, but... I am running a fully updates opensuse13.1 on a x64, intel desktop computer. I am wanting to compile libreoffice from source. I am following the instructions from: https://wiki.documentfoundation.org/Development/BuildingOnLinux#Building_Lib... When I run autogen.sh the script says: checking Python.h usability... no checking Python.h presence... no checking for Python.h... no configure: error: Python headers not found. You probably want to set both the PYTHON_CFLAGS and PYTHON_LIBS environment variables. Both these environment variables are null. I am unsure if these should be set by the autogen script, or are part of the python install. My google skills are not giving me a clear picture as to how these should be set. I am thinking there is something wrong with the way python is installed on my machine, so am hoping someone involved with the distribution can help! -- Many thanks, Hugh -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On April 28, 2014 7:30:07 PM EDT, h <hdixon@bigpond.net.au> wrote:
Hi, Not sure if this is the correct forum, but...
I am running a fully updates opensuse13.1 on a x64, intel desktop computer.
I am wanting to compile libreoffice from source. I am following the instructions from: https://wiki.documentfoundation.org/Development/BuildingOnLinux#Building_Lib...
When I run autogen.sh the script says:
checking Python.h usability... no checking Python.h presence... no checking for Python.h... no configure: error: Python headers not found. You probably want to set both the PYTHON_CFLAGS and PYTHON_LIBS environment variables.
Both these environment variables are null.
I am unsure if these should be set by the autogen script, or are part of the python install. My google skills are not giving me a clear picture as to how these should be set.
I am thinking there is something wrong with the way python is installed on my machine, so am hoping someone involved with the distribution can help!
Do you have python-devel installed. It is needed to compile code that links to python. You can install via "sudo zypper in python-devel" Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 28 Apr 2014 22:36:13 -0400 Greg Freemyer <greg.freemyer@gmail.com> wrote:
On April 28, 2014 7:30:07 PM EDT, h <hdixon@bigpond.net.au> wrote:
Hi, Not sure if this is the correct forum, but...
I am running a fully updates opensuse13.1 on a x64, intel desktop computer.
I am wanting to compile libreoffice from source. I am following the instructions from: https://wiki.documentfoundation.org/Development/BuildingOnLinux#Building_Lib...
When I run autogen.sh the script says:
checking Python.h usability... no checking Python.h presence... no checking for Python.h... no configure: error: Python headers not found. You probably want to set both the PYTHON_CFLAGS and PYTHON_LIBS environment variables.
Both these environment variables are null.
I am unsure if these should be set by the autogen script, or are part of the python install. My google skills are not giving me a clear picture as to how these should be set.
I am thinking there is something wrong with the way python is installed on my machine, so am hoping someone involved with the distribution can help!
Do you have python-devel installed. It is needed to compile code that links to python.
You can install via "sudo zypper in python-devel"
Greg
Thankyou for the idea. I had python-devel installed, but it seems to be python2. I explicitly installed the python3 dev files. I have now built and run libre office. Hugh -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Greg Freemyer
-
h