Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2013 09:56:42 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem compling apr1 from ports
Message-ID:  <CAHHBGkqt%2BEtp5z3zYp1t=6hLWou7i753wnik=Fyai9R%2BGDsN8Q@mail.gmail.com>
In-Reply-To: <50E9738F.2020601@locolomo.org>
References:  <50E86E42.1010300@locolomo.org> <50E9738F.2020601@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 January 2013 07:52, Erik N=F8rgaard <norgaard@locolomo.org> wrote:
> On 05/01/2013 19:17, Erik N=F8rgaard wrote:
>>
>>
>> lt_cv_sys_max_cmd_len=3D262144 /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

Hmm, a bland, un-monkey-ed-with install of python27 here:
% ls -l /usr/local/bin/python*
lrwxr-xr-x  1 root  wheel        7 Dec 27 10:50 /usr/local/bin/python -> py=
thon2
lrwxr-xr-x  1 root  wheel       14 Dec 27 10:50
/usr/local/bin/python-config -> python2-conf
ig
lrwxr-xr-x  1 root  wheel       14 Dec 27 10:50
/usr/local/bin/python-shared -> python-share
d2
lrwxr-xr-x  1 root  wheel       21 Dec 27 10:50
/usr/local/bin/python-shared-config -> pytho
n-shared2-config
lrwxr-xr-x  1 root  wheel       16 Dec 27 10:50
/usr/local/bin/python-shared2 -> python-shar
ed2.7
lrwxr-xr-x  1 root  wheel       23 Dec 27 10:50
/usr/local/bin/python-shared2-config -> pyth
on-shared2.7-config
-r-xr-xr-x  1 root  wheel     4656 Dec 27 10:50 /usr/local/bin/python-share=
d2.7
-r-xr-xr-x  1 root  wheel     1659 Dec 27 10:50
/usr/local/bin/python-shared2.7-config
lrwxr-xr-x  1 root  wheel        9 Dec 27 10:50 /usr/local/bin/python2
-> python2.7
lrwxr-xr-x  1 root  wheel       16 Dec 27 10:50
/usr/local/bin/python2-config -> python2.7-c
onfig
-r-xr-xr-x  1 root  wheel  1484336 Dec 27 10:49 /usr/local/bin/python2.7
-r-xr-xr-x  1 root  wheel     1652 Dec 27 10:50 /usr/local/bin/python2.7-co=
nfig

Do you have something funny set in /etc/make.conf or within
your python options?

--=20
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHBGkqt%2BEtp5z3zYp1t=6hLWou7i753wnik=Fyai9R%2BGDsN8Q>