Displaying 20 results from an estimated 3000 matches similar to: "Re: python 3 bindings on libguestfs"
2018 Jan 31
1
Re: python 3 bindings on libguestfs
On Wed, Jan 31, 2018 at 09:09:11AM +0000, abinaya.manikandan@wipro.com wrote:
> Hi,
>
> We have done on fresh instance.
>
> We have manually installed libguestfs-1.32.10.
> I could see below log while running ./configure:
>
> checking Python version... 3.6
> checking for PYTHON... yes
> checking Python prefix... /opt/python/x86_64/3.6.3-1
> checking for Python
2018 Jan 30
0
Re: python 3 bindings on libguestfs
On Tue, Jan 30, 2018 at 02:05:51PM +0000, abinaya.manikandan@wipro.com wrote:
> Hi,
>
> Finally on our RHEL7 machine we are able to bind python with libguestfs.
> Please find below log:
>
> checking for PYTHON... yes
> checking Python prefix... /opt/python/x86_64/3.6.3-1
> configure: Python install dir /opt/libguestfs/x86_64/1.32.10-1.el7/lib/python3.6/site-packages
>
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" !=
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
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
2019 Dec 13
0
dlopen RTD_LAZY and RTLD_GLOBAL
All,
I use a code which has a python (I use python36) wrapper loading shared
libraries. The code worked fine in RHEL 7 but as I was testing it on
Centos 8, python cannot import the shared library (the import is done via
dlopen with flags set as
> sys.setdlopenflags(os.RTLD_LAZY | os.RTLD_GLOBAL)
python then does a bunch of imports and most results in a shared library
with indefined
2020 Oct 13
2
[RFC] Python 2 / Python 3 status, final step(s)
Hi Folks,
Now that LLVM 11.0.0 has been released, it's time to prepare for the final step
envisionned in the previous RFC named *[RFC] Python 2 / Python 3 status* [0],
ie. requiring Python3.6 for LLVM 12.0.0, to be released in 2021.
At least Fedora already only ships Python3 and we didn't have much bugs reported
wrt. Python compatibility for the LLVM toolchain.
Indeed, all Python scripts
2018 Jan 25
0
Re: python 3 bindings on libguestfs
On Thu, Jan 25, 2018 at 03:09:47PM +0000, abinaya.manikandan@wipro.com wrote:
> Hi,
>
> As per you suggestion I have set PYTHONPATH.
> Now the issue is different.
>
> [root@euca-172-31-15-221 ~]$ echo $PYTHONPATH
> /opt/libguestfs/x86_64/1.32.10/lib64:/opt/libguestfs/x86_64/1.32.10/lib/python3.6/site-packages/:
> [root@euca-172-31-15-221 ~]$ python
> Python 3.6.0
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
+
2000 Mar 31
1
R: one bananna aov() question
Hello world,
I'm trying to do an
anova on data in data.set, dependent variable is a column
named "dep.var", grouping variable is in a column called "indep.var", and
is.factor(indep.var) is TRUE...
why can't I just do aov(dep.var ~ indep.var, data = data.set)?
What have I done to deserve this?! What gives? Am I missing something
totlly obvious?
R-base-1.0.0-1,
2018 Jan 25
0
Re: python 3 bindings on libguestfs
On Thu, Jan 25, 2018 at 01:31:09PM +0000, abinaya.manikandan@wipro.com wrote:
> Hi,
>
> We are trying to build libguestfs RPM package using SPEC file.
This is new information, and good that's how you should be building
libguestfs on RHEL or CentOS.
...
> 4. We could see python-guestfs libraries in below path,
>
> [root@euca-172-31-15-221 site-packages]$ pwd
>
2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
Before this patch, Python would segfault once you pass a non-string key
or value to node_set_value. It was also not possible to set bytes on
Python 3 as Unicode was assumed (Python 2 was not affected by this).
This patch fixes recognition of bytes for Python 3, but in addition it
recognizes ints (includes 'long' in Python 2) for DWORD (LE + BE) and
QWORDs. For this purpose, a new field
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
2024 Jun 29
1
libsamba-policy.cpython: where it is used in samba?
26.05.2024 13:13, Andrew Bartlett wrote:
> On Sat, 2024-05-25 at 14:25 +0300, Michael Tokarev via samba wrote:
>> Hi!
>>
>> I'm trying to find where various components of samba belongs to and where they're used.
>> There are quite a few files with unknown purpose. For example, a cpython library
>> (python code which is to be linked to from a C program)
2018 Jan 30
0
Re: python 3 bindings on libguestfs
The interesting line is this one ...
checking for PyString_AsString in -lc... no
and if you compare that to the code, eg in python/guestfs-py.c:
#ifdef HAVE_PYSTRING_ASSTRING
PyDict_SetItemString (dict, "ftyp",
PyString_FromStringAndSize (&dirent->ftyp, 1));
#else
PyDict_SetItemString (dict, "ftyp",
2024 May 25
1
libsamba-policy.cpython: where it is used in samba?
Hi!
I'm trying to find where various components of samba belongs to and where they're used.
There are quite a few files with unknown purpose. For example, a cpython library
(python code which is to be linked to from a C program) libsamba-policy. On current
debian it is like:
usr/lib/x86_64-linux-gnu/libsamba-policy.cpython-311-x86-64-linux-gnu.so.0.0.1
2018 Aug 23
2
Plans for buster
Hans van Kranenburg writes ("Re: Plans for buster"):
> This can be done from tag debian/4.11.1_pre+1.733450b39b-1_exp1 (which
> is right now the same as the master branch).
Thanks for doing all this work. I have just sent it to experimental.
I did some reviewing and diffing. I have some comments, or, at least,
things I noticed. None of them were IMO blockers for experimental.
2019 Jun 19
0
Can't access DNS from RSAT
Hello,
Yes. My DC server is fully functional. The only thing that I cannot to do,
is open the DNS Management through do RSAT using a Windows XP SP3 machine.
I'm logged with Administrator account of my domain controller. I tried with
an account member of Domain Admins but don't obtained positive results too.
Two things occurred during install process:
1) I could not install this
2020 Feb 15
0
Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC)
Subject: Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC)
Subject: Teo En Ming's Manual for Setting Up Samba 4.11.6 and CentOS 8.1 (1911) Linux Server QEMU/KVM Virtual Machine as an Active Directory Domain Controller (AD DC)
PUBLISHED 15 FEB 2020 SATURDAY, SINGAPORE, SINGAPORE,
2012 Mar 28
0
[LLVMdev] GSoC 2012 Proposal: Python bindings for LLVM
Hello all,
Here is my GSoC 2012 proposal: Python bindings for LLVM. Any feedback are
welcome!
*Title: Python bindings for LLVM*
*Abstract: * llvm-py provides Python bindings for LLVM. The latest llvm-py
supports bindings with Python 2.x version for LLVM 2.x. This project is to
improve llvm-py to make it compatible with both Python 2.x and Python 3 for
LLVM 3.
*Motivation*
LLVM is used as a