Problem compling apr1 from ports

Erik Nørgaard norgaard at locolomo.org
Sun Jan 6 12:52:35 UTC 2013


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


More information about the freebsd-questions mailing list