./configure --prefix=/usr --disable-documentation --enable-zstd

2018-04-08 9:17 GMT+02:00 Nikolay Borisov <nbori...@suse.com>:
>
>
> On  7.04.2018 23:40, Menion wrote:
>> I am adding - - prefix=/usr that seems you are not using
>>
>
> Clearly you haven't shared all the necessary information, post your
> entire configure line
>
>> 2018-04-07 21:55 GMT+02:00 Nikolay Borisov <nbori...@suse.com>:
>>>
>>>
>>> On  7.04.2018 20:16, Menion wrote:
>>>> Hi all
>>>> Apparently it is not possible to compile with python bindings the
>>>> btrfs progs on ubuntu xenial
>>>>
>>>> checking for a Python interpreter with version >= 3.4... python3
>>>> checking for python3... /usr/bin/python3
>>>> checking for python3 version... 3.5
>>>> checking for python3 platform... linux
>>>> checking for python3 script directory... 
>>>> ${prefix}/lib/python3.5/site-packages
>>>> checking for python3 extension module directory...
>>>> ${exec_prefix}/lib/python3.5/site-packages
>>>> checking for python-3.5... no
>>>> configure: error: Package requirements (python-3.5) were not met:
>>>>
>>>> No package 'python-3.5' found
>>>>
>>>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>>>> installed software in a non-standard prefix.
>>>>
>>>> Alternatively, you may set the environment variables PYTHON_CFLAGS
>>>> and PYTHON_LIBS to avoid the need to call pkg-config.
>>>> See the pkg-config man page for more details.
>>>>
>>>> /usr/lib/python3.5/site-packages exists, but on Ubuntu the package
>>>> name is python3.5 and not python-3.5
>>>
>>>
>>> Works for me, I'm also on xenial:
>>>
>>> checking for python3... /usr/bin/python3
>>> checking for python3 version... 3.5
>>> checking for python3 platform... linux
>>> checking for python3 script directory... 
>>> ${prefix}/lib/python3.5/site-packages
>>> checking for python3 extension module directory... 
>>> ${exec_prefix}/lib/python3.5/site-packages
>>> checking for PYTHON... yes
>>> checking for lzo_version in -llzo2... yes
>>> configure: creating ./config.status
>>> config.status: creating Makefile.inc
>>> config.status: creating Documentation/Makefile
>>> config.status: creating version.h
>>> config.status: creating config.h
>>>
>>>         btrfs-progs v4.16
>>>
>>>         prefix:             /usr/local
>>>         exec prefix:        ${prefix}
>>>
>>>         bindir:             ${exec_prefix}/bin
>>>         libdir:             ${exec_prefix}/lib
>>>         includedir:         ${prefix}/include
>>>
>>>         compiler:           gcc
>>>         cflags:             -g -O1 -Wall -D_FORTIFY_SOURCE=2
>>>         ldflags:
>>>
>>>         documentation:      no
>>>         doc generator:      none
>>>         backtrace support:  yes
>>>         btrfs-convert:      no
>>>         btrfs-restore zstd: no
>>>         Python bindings:    yes
>>>         Python interpreter: /usr/bin/python3
>>>
>>>
>>>
>>>
>>>>
>>>> Bye
>>>> --
>>>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>>>> the body of a message to majord...@vger.kernel.org
>>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>>
>>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to