From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id 9DDFF385E009 for ; Wed, 25 Mar 2020 22:14:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9DDFF385E009 Received: by mail-pf1-x444.google.com with SMTP id 23so1770792pfj.1 for ; Wed, 25 Mar 2020 15:14:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Fi6vxmTULSU78ZQpoX0gX39mevdAqDqUUIGoqOGa2uA=; b=aF0rdjvxle49OT27+XXbGzqkFTJbkbomcE59tTcx/OOSRBG04C8WLp9J61ICg/YGLE biWddLvP/4PTfHVi+KoWFkm+sf+K6nGahmg6InnHnjWfyIIPBlIuw24XCeEf1v3ZtY9A 5RMIN2U/iIEJMIl83YisGrZ5UrT8fGJ+cIQZG7wR2en90gH9WKcrnNb/iXdv+Q8P07ZT j7xy/ofkjd7WAXjqK9oIwjCHoPNcDCRE+yXvKs/SOYoPb5zCPhWB1h5oqkjZ6PMUkP0z 1Zn98Q1cgDchnJeeNoy+0v2xPTjdnsd8OBlzscGDZqO7kTV7F/RAKde93vqefVVCnYXR Tpag== X-Gm-Message-State: ANhLgQ1R6pUPzdzfkg+HxdttvtjrMKjnG38VWnSB3No6YUZCIknKqQ56 Fyj0zYH/qYb9MjoavY2E0AAB/CEQ X-Google-Smtp-Source: ADFU+vuASPwfhz4aA0kE9jCGjbY/JQxDp7Ig3axoD+5ZZ1NoRzQqCPtiUY/K2oo17dYppg139Nqu6w== X-Received: by 2002:aa7:8815:: with SMTP id c21mr5476335pfo.86.1585174491504; Wed, 25 Mar 2020 15:14:51 -0700 (PDT) Received: from mua.localhost (99-7-172-215.lightspeed.snmtca.sbcglobal.net. [99.7.172.215]) by smtp.gmail.com with ESMTPSA id 11sm125051pfv.43.2020.03.25.15.14.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Mar 2020 15:14:51 -0700 (PDT) Reply-To: pgnet.dev@gmail.com Subject: Re: gdb/head build, --with-python= FAILs @ "no usable python found " ? To: Christian Biesinger Cc: gdb@sourceware.org References: <03e669b7-9db7-cbbf-abb3-2c4869c526e9@gmail.com> From: PGNet Dev Message-ID: <63388801-ba43-ecab-7384-c396515a32bc@gmail.com> Date: Wed, 25 Mar 2020 15:14:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2020 22:14:54 -0000 On 3/25/20 2:57 PM, Christian Biesinger wrote: ... > Yes, Python 3 is known to work, though Python 2.7 is also supported. gr8, thx > - What does gdb/config.log say? ==> https://pastebin.com/ZPaKjG9Z > - Do you also have the headers yep. ls -al /usr/local/pyenv/versions/3.8-dev/include/python3.8/Python.h -rw-r--r-- 1 root root 3.6K Mar 20 20:44 /usr/local/pyenv/versions/3.8-dev/include/python3.8/Python.h ... etc ... > and libraries installed? ls -al /usr/local/pyenv/versions/3.8-dev/lib/ total 17M drwxr-xr-x 4 root root 4.0K Mar 20 20:44 ./ drwxr-xr-x 7 root root 4.0K Mar 20 20:49 ../ lrwxrwxrwx 1 root root 19 Mar 20 20:44 libpython3.8.so -> libpython3.8.so.1.0* -rwxr-xr-x 1 root root 17M Mar 20 20:44 libpython3.8.so.1.0* -rwxr-xr-x 1 root root 8.6K Mar 20 20:44 libpython3.so* drwxr-xr-x 2 root root 4.0K Mar 20 20:44 pkgconfig/ drwxr-xr-x 35 root root 4.0K Mar 20 20:44 python3.8/ atm, NO add'l *FLAGS set to either ... > - Just to confirm, /usr/local/pyenv/versions/3.8-dev/bin/python3.8 is the binary and not a directory, right? correct. ls -ald /usr/local/pyenv/versions/3.8-dev/bin/python3.8 -rwxr-xr-x 1 root root 15K Mar 20 20:44 /usr/local/pyenv/versions/3.8-dev/bin/python3.8* /usr/local/pyenv/versions/3.8-dev/bin/python3.8 -V Python 3.8.2+