Displaying 20 results from an estimated 500 matches similar to: "[PATCH] [hivex] Use Python's distutils to determine include and site-packages directories."
2013 May 16
3
[PATCH] Use pkg-config for Python
At least libpython2.7-dev and libpython3.3-dev on current
Debian/unstable ship with pkg-config files. As with the pkg-config
check for Lua, we check for versioned and an unversioned .pc files.
---
configure.ac | 35 ++++++++++++++++++++---------------
python/Makefile.am | 2 +-
2 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/configure.ac b/configure.ac
index
2013 Jun 16
0
Re: [PATCH] Use pkg-config for Python
On Thu, May 16, Hilko Bengen wrote:
> AC_MSG_RESULT([$PYTHON_VERSION])
> -
> - AC_MSG_CHECKING([for Python include path])
> - if test -z "$PYTHON_INCLUDEDIR"; then
> - python_path=`$PYTHON -c "import distutils.sysconfig; \
> - print (distutils.sysconfig.get_python_inc ());"`
> -
2013 Jun 17
2
Re: [PATCH] Use pkg-config for Python
On Sun, Jun 16, 2013 at 02:55:29PM +0200, Olaf Hering wrote:
> On Thu, May 16, Hilko Bengen wrote:
>
> > AC_MSG_RESULT([$PYTHON_VERSION])
> > -
> > - AC_MSG_CHECKING([for Python include path])
> > - if test -z "$PYTHON_INCLUDEDIR"; then
> > - python_path=`$PYTHON -c "import distutils.sysconfig; \
> > -
2013 May 23
3
hivex: Improvents in building Python bindings
Building against multiple versions of Python is a lot of fun as it is.
Add autoconf/automake/libtool (and possible distribution-specific
stuff) to the mix and things get really interesting:
On Debian and Ubuntu, building against python 3.3 requires an extra
include path as documented in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692387>.
As discussed in
2011 Aug 22
1
[PATCH] hivex: Newer Python versions want parentheses around arguments of "print"
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 261c44c..6c019e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -237,8 +237,8 @@ PYTHON_PREFIX=
PYTHON_VERSION=
if test "x$PYTHON" != "xno"; then
- PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
- PYTHON_VERSION=`$PYTHON
2014 Nov 04
1
Re: [PATCH 7/9] python: fix detection of libpython features
On Tue, Nov 04, 2014 at 04:35:30PM +0100, Pino Toscano wrote:
> Instead of querying distutils.sysconfig for the library name, just use
> the $PYTHON_LIBS returned by pkg-config. This makes sure the tests can
> link even with a libpython in a non-standard library directory.
> ---
> configure.ac | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff
2015 Oct 27
1
[PATCH] configure: Move language binding detection to separate files.
This commit starts to split our massive, monolithic configure.ac file
into smaller files, using the m4_include mechanism to combine them.
I don't know if we should really do this, so I'm open to comments
about it. However:
- Our configure.ac script is 1800+ lines long, and that's pretty long.
- configure.ac lacks structure; splitting it up might improve that.
- From what I read,
2019 May 31
0
[PATCH] python: PYTHON_LIBS is not set in Python 3.8 (RHBZ#1705482).
Python 3.8 no longer links C extensions to -lpython, instead relying
on the fact that the python binary itself already contains those
symbols. This means $PYTHON_LIBS is empty and so the Python bindings
are not built.
Use a different test to see if the python module is available.
---
m4/guestfs-python.m4 | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
2011 Dec 10
1
[PATCH] Fixed checks for libpython features
The python3.1 package shipped with Debian/squeeze does not have the
'mu' suffix that was assumed before.
---
configure.ac | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index 28243a2..c2b684b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -738,19 +738,20 @@ AS_IF([test "x$enable_python" !=
2011 Aug 22
1
[PATCH 1/2] python: Don't build static library
---
python/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/python/Makefile.am b/python/Makefile.am
index 5884762..82960d6 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -43,7 +43,7 @@ libguestfsmod_la_SOURCES = guestfs-py.c guestfs-py.h guestfs-py-byhand.c
libguestfsmod_la_CFLAGS = -Wall -I$(PYTHON_INCLUDEDIR) \
-I$(top_srcdir)/src
2014 Nov 04
0
[PATCH 7/9] python: fix detection of libpython features
Instead of querying distutils.sysconfig for the library name, just use
the $PYTHON_LIBS returned by pkg-config. This makes sure the tests can
link even with a libpython in a non-standard library directory.
---
configure.ac | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 87e066c..1bf291c 100644
--- a/configure.ac
+++ b/configure.ac
2008 Dec 15
3
Problems compiling PostgreSQL package from FC8 on CentOS 5
Dear CentOS list
we are a small software company making mostly web driven GIS software.
We started to simplify out sysadmin life making RPM packages of most of
the GIS software stack. For a dependency issue we had to abandon the
upstream 8.1 PostgreSQL and install at least a 8.2 version. Taking the
package from Fedora 8 and rebuilding it for x86_64 went smoothly.
Unfortunatly the same is
2020 Jan 09
9
[PATCH 0/7] Various Python cleanups.
Patch #7 depends on:
https://www.redhat.com/archives/libguestfs/2020-January/msg00035.html
No, Python < 3 support is not dropped yet, however it will be easier
after this series.
Pino Toscano (7):
build: enforce a minimum Python version
python: drop code for Python < 2.5
python: assume support for Capsules
python: remove compile time check for PyString_AsString
python: replace
2019 Sep 11
0
[PATCH nbdkit] python: Drop support for Python 2.
Starting with nbdkit 1.16, Python >= 3.3 will be required.
Python 2 reaches end of life on 2020-01-01:
https://python3statement.org/
https://pythonclock.org/
Debian oldoldstable and RHEL 7 have Python 3.4 and 3.6 respectively,
so it seems pointless to try to support Python < 3.3 which lacked
support for PyUnicode_AsUTF8.
---
README | 13 +++++++------
configure.ac
2016 Mar 07
2
Windows port
Hi!
I would like to ask about current state of Windows port. Is it frozen? It will be cool to know the plans :)
Where are a lot of Windows-branches at GitHub. What is the most actual one?
The Windows builder looks like turned off, am I right that it is not available currently and where were no builds after version 2.6.5-6?
I couldn't find any info about proper environment to build Windows
2002 Mar 11
2
Help with Python, R and RPY
Hi All:
Walter Moreira wrote a small extension module for using the R programming
language from within Python. Tim Church's example at
http://www.cmat.edu.uy/~walterm/rpy was so compelling, I could not resist
installing it on my Linux Mandrake 8.1 box.
But I ran into problems.
I have installed on Mandrake 8.1 both python and R:
R-base-1.4.1-1mdk.i586.rpm
2013 Jun 03
0
[PATCH] python: Build extension with PEP-3149 compliant suffix if defined.
---
configure.ac | 9 +++++++++
python/Makefile.am | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index ea403c3..00ef507 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1163,6 +1163,14 @@ AS_IF([test "x$enable_python" != "xno"],[
AC_MSG_RESULT([$PYTHON_INSTALLDIR])
fi
+
2019 May 28
3
python dist-utils and python-config [SEC=UNOFFICIAL]
UNOFFICIAL
Hi,
I'm trying to build samba-latest on CentOS 7. The PC is not online, so I have to download everything manually.
Most of the prerequisites are on the CentOS Everything ISO so I don't have to download a lot.
I installed all the documented dependencies and configure complained about python3.
So I downloaded and installed
python36-libs-3.6.8-1.el7.x86_64.rpm
2003 Dec 09
2
build glitches
I hit problems building the tools for both xen-1.1 and xen-1.2-devel.
For xen-1.1, the vmm and linux built fine, but the tools failed with something
called ''ant''. ant -v says ''Apache Ant version 1.5.3 compiled on April 9 2003''
ant -buildfile build-cmdline.xml dist
Buildfile: build-cmdline.xml
BUILD FAILED
java.lang.VerifyError: verification failed at PC
2011 Jun 28
13
[PATCH hivex 02/14] maint: remove unnecessary test-before-free
From: Jim Meyering <meyering at redhat.com>
* lib/hivex.c (hivex_node_set_value): Remove unnecessary
test-before-free.
---
lib/hivex.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/hivex.c b/lib/hivex.c
index d042f4f..a72fa77 100644
--- a/lib/hivex.c
+++ b/lib/hivex.c
@@ -2748,8 +2748,7 @@ hivex_node_set_value (hive_h *h, hive_node_h node,
leave_partial: