www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/09/18/05:33:46

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Fri, 18 Sep 2015 11:31:28 +0200 (CEST)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Hannu Vuolasaho (vuokko AT msn DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: RE: [geda-user] New experimental netlist features
In-Reply-To: <DUB125-W546F69CB484847FCCF5CCFC65A0@phx.gbl>
Message-ID: <alpine.DEB.2.11.1509181131240.7136@nimbus>
References: <alpine DOT DEB DOT 2 DOT 11 DOT 1509031356150 DOT 13201 AT nimbus>,<55E8773B DOT 9000902 AT jump-ing DOT de>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509031846370 DOT 7163 AT nimbus>,<55E8831A DOT 8050307 AT jump-ing DOT de>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509032004020 DOT 10628 AT nimbus>,<55E891FA DOT 2010509 AT jump-ing DOT de>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509032039300 DOT 14871 AT nimbus>,<55E8AE6C DOT 2090304 AT jump-ing DOT de>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509040031270 DOT 1962 AT nimbus>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509041040130 DOT 2971 AT nimbus>,<alpine DOT DEB DOT 2 DOT 00 DOT 1509162004460 DOT 3909 AT lichen>,<55F9C1BF DOT 9030603 AT jump-ing DOT de>,<CAGde_xM4LLVK0v9HCfmhW+z+tnC1Z85A9QRjqWoODeq7OZc6mw AT mail DOT gmail DOT com>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509162157140 DOT 25389 AT nimbus>,<CAGde_xP_yGreyviKkkdxXpY2pANdgBtpcLt14_ZiawA2r_ECvA AT mail DOT gmail DOT com>,<DUB125-W10928D5CE6D3C58C77FD6DC65B0 AT phx DOT gbl>,<alpine DOT DEB DOT 2 DOT 11 DOT 1509171355240 DOT 22311 AT nimbus>,<CAGde_xO8fm=SuzvS7ypmOcVjEHGvSJX4aURuqbzAmuzgbvEsTw AT mail DOT gmail DOT com>
<DUB125-W546F69CB484847FCCF5CCFC65A0 AT phx DOT gbl>
User-Agent: Alpine 2.11 (DEB 23 2013-08-11)
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 18 Sep 2015, Hannu Vuolasaho (vuokko AT msn DOT com) [via geda-user AT delorie DOT com] wrote:
> There is small problem with python versions. xorn has #!/usr/bin/python 
> as first line which happens to be python3 on Arch linux.
>
> Can configure/automake/magic put the #! line so that it finds most 
> widest binary. In my case it would be python2? And is this thought 
> enough if someone has python in /usr/local ?

Unfortunately, the #! syntax only works with fixed paths.  For some time, 
the preferred way to invoke Python had been "#!/usr/bin/env python" to 
avoid that problem; this has since changed to "#!/usr/bin/python".

Autotools magic would be possible, but I think returing to the old 
invocation should do.  I changed it to "#!/usr/bin/env python2" which 
should solve both problems.  This depends on there being an actual 
executable called "python2", though; I'm not sure if this is always true.

Just out of curiosity: how did you run into this bug?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019