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 To: "Hannu Vuolasaho (vuokko AT msn DOT com) [via geda-user AT delorie DOT com]" Subject: RE: [geda-user] New experimental netlist features In-Reply-To: Message-ID: References: ,<55E8773B DOT 9000902 AT jump-ing DOT de>,,<55E8831A DOT 8050307 AT jump-ing DOT de>,,<55E891FA DOT 2010509 AT jump-ing DOT de>,,<55E8AE6C DOT 2090304 AT jump-ing DOT de>,,,,<55F9C1BF DOT 9030603 AT jump-ing DOT de>,,,,,, User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII 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 Precedence: bulk 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?