On 6 January 2013 07:52, Erik Nørgaard norga...@locolomo.org wrote:
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
Hmm, a bland, un-monkey-ed-with install of python27 here:
% ls -l /usr/local/bin/python*
lrwxr-xr-x 1 root wheel7 Dec 27 10:50 /usr/local/bin/python - python2
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-shared2.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 wheel9 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-config
Do you have something funny set in /etc/make.conf or within
your python options?
--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org