From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) by sourceware.org (Postfix) with ESMTPS id 09AED3858C2C for ; Wed, 25 Mar 2020 23:24:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 09AED3858C2C Received: by mail-pj1-x1042.google.com with SMTP id kx8so1647562pjb.5 for ; Wed, 25 Mar 2020 16:24:13 -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=ASt0FDsPdbMTHB7dYHq2pwsZ9oiyEPFxk5uiwb7v5ZA=; b=qTAOGd7ncIkdaQoqZVvtkTd5kKI6rHJcOoKvCQ2Y2Kt4kglgGzrrsGrbgcU/j2Cat4 nq1R13tqGzO7N6chIzyTWvsadzTRYCYPW6xBtJHp5dhxhIbkvBAO40bsZSrY1qoVWNPn +5FlBHYmqUswI3nHhd/NPiRcbKF7sowgHAn3TG9oO6Noc8b/UwE8Q5G/6AKO5d6uBx97 TdVUBmBD9dMHEhhCgwFF3FHNbHTT5EMyvf8Swja5QLiW8rQoYI22I/XGCBXjwHdnri9a ISgL18jnvn5xYaEa8HjLk546xH+fez4/OiVJFt5WkncwYn8vMaHF/uq1JAF8rP040/u9 DfXw== X-Gm-Message-State: ANhLgQ1Om61R3+xQYYPjmrmHst+Ka49Lo12tzEzESmVnK2/bIIJAGXz5 ur3NizwBssC0RR0ujguRRGgAW3xK X-Google-Smtp-Source: ADFU+vtHLXo9voGsZ7y/awa9cZ2vrhMU1EhWqq7RviTyjg4xUL83MxEQMhyvtbH6gA4ZA2SZ0CT0xA== X-Received: by 2002:a17:902:7297:: with SMTP id d23mr5418754pll.63.1585178652931; Wed, 25 Mar 2020 16:24:12 -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 c19sm180031pfo.205.2020.03.25.16.24.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Mar 2020 16:24:12 -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> <63388801-ba43-ecab-7384-c396515a32bc@gmail.com> From: PGNet Dev Message-ID: <7191c88e-a7d8-6070-0e78-d8176f563bb1@gmail.com> Date: Wed, 25 Mar 2020 16:24:11 -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.9 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 23:24:15 -0000 On 3/25/20 3:55 PM, Christian Biesinger wrote: >> export LDFLAGS="-L/usr/local/pyenv/versions/3.8-dev/lib" >> (does this^ need to be rpath'd? need to poke around in here ...) > > If you can run python3.8, you probably already set things up correctly for that? i 1st stumbled on this^ issue trying to run distro-pkg'd gdb in my pyenv. it keeps insisting on hardcoded python pkg versions/paths that are the distro's default. annoying :-/ rpath with export LDFLAGS="-L/usr/local/pyenv/versions/3.8-dev/lib -Wl,-rpath,/usr/local/pyenv/versions/3.8-dev/lib" export LIBS="-lpython3.8" is a better-safe-than-sorry choice; and shouldn't hurt >> _does_ seem to get past the 'python unfound' problem, dropping me into the next issue ... which seems unrelated > > Yeah. Unfortunately I have no idea about that error, hopefully someone > else can comment. thx. i'll split off a new thread.