From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 12:52:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7E4E9C5 for ; Sun, 6 Jan 2013 12:52:35 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 951F3EBB for ; Sun, 6 Jan 2013 12:52:35 +0000 (UTC) Received: from gamma.lan.locolomo.org (gamma.lan.locolomo.org [192.168.0.40]) by mail.locolomo.org (Postfix) with ESMTPSA id C8F871C0841 for ; Sun, 6 Jan 2013 13:52:32 +0100 (CET) Message-ID: <50E9738F.2020601@locolomo.org> Date: Sun, 06 Jan 2013 13:52:31 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Problem compling apr1 from ports References: <50E86E42.1010300@locolomo.org> In-Reply-To: <50E86E42.1010300@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 12:52:35 -0000 On 05/01/2013 19:17, Erik Nørgaard wrote: > > lt_cv_sys_max_cmd_len=262144 /bin/sh ./buildconf > buildconf: checking installation... > buildconf: python not found. > You need python installed > to build APR from SVN. > *** [run-autotools] Error code 1 I tried to debug a bit more on this, seems that buildconf calls a script build/PrintPath which returns the path of a program, i.e.: # ./PrintPath perl /usr/bin/perl But when called by buildconf with parameter "python" it returns nothing, there is no "python" binary but a python2.6 # ln -s /usr/local/bin/python2.6 /usr/local/bin/python solves the problem, but is it common to create a link for python as with perl? Is that a patch or a hack? Thanks, Erik -- M: +34 666 334 818 T: +34 915 211 157