2016-08-05 7 views
0

configureThrift/Fedora 24 kein Python-Bibliothek

thrift 1.0.0-dev 

Building C++ Library ......... : yes 
Building C (GLib) Library .... : yes 
Building Java Library ........ : yes 
Building C# Library .......... : no 
Building Python Library ...... : **no** 
Building Ruby Library ........ : no 
Building Haxe Library ........ : no 
Building Haskell Library ..... : no 
Building Perl Library ........ : no 
Building PHP Library ......... : yes 
Building Dart Library ........ : no 
Building Erlang Library ...... : no 
Building Go Library .......... : yes 
Building D Library ........... : no 
Building NodeJS Library ...... : yes 
Building Lua Library ......... : no 

C++ Library: 
    Build TZlibTransport ...... : yes 
    Build TNonblockingServer .. : yes 
    Build TQTcpServer (Qt4) .... : no 
    Build TQTcpServer (Qt5) .... : yes 

Java Library: 
    Using javac ............... : javac 
    Using java ................ : java 
    Using ant ................. : /bin/ant 

PHP Library: 
    Using php-config .......... : /bin/php-config 

Go Library: 
    Using Go................... : /bin/go 
    Using Go version........... : go version go1.6.3 linux/amd64 

NodeJS Library: 
    Using NodeJS .............. : /bin/node 
    Using NodeJS version....... : v4.4.6 

If something is missing that you think should be present, 
please skim the output of configure to find the missing 
component. Details are present in config.log. 

jedoch während der Ausgabe sagt es sowohl Python und python3 zu finden sind. Ich habe auch python-devel und python3-devel

[[email protected] thrift]# dnf list installed | grep 'python-devel' 
Failed to synchronize cache for repo 'rpmforge', disabling. 
python-devel.x86_64     2.7.12-1.fc24    @updates  
[[email protected] thrift]# dnf list installed | grep 'python3-devel' 
Failed to synchronize cache for repo 'rpmforge', disabling. 
python3-devel.x86_64     3.5.1-12.fc24    @updates  
[[email protected] thrift]# 

Antwort

1

Von installiert: https://github.com/apache/thrift/blob/master/configure.ac#L279-L289

if test "$with_python" = "yes"; then 
    AC_PATH_PROG([PIP], [pip]) 
    AC_PATH_PROG([TRIAL], [trial]) 
    if test -n "$TRIAL" && test "x$PYTHON" != "x" && test "x$PYTHON" != "x:" ; then 
    have_python="yes" 
    fi 
fi 

Dies erfordert die Existenz der Binärdateien: pip und trial. Versuchen Sie die Installation:

dnf install python2-twisted python3-twisted python-pip python3-pip 
Verwandte Themen