Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jan 2013 13:52:31 +0100
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problem compling apr1 from ports
Message-ID:  <50E9738F.2020601@locolomo.org>
In-Reply-To: <50E86E42.1010300@locolomo.org>
References:  <50E86E42.1010300@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E9738F.2020601>