From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 14:56:48 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 BEB324DE for ; Sun, 6 Jan 2013 14:56:48 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ia0-f173.google.com (mail-ia0-f173.google.com [209.85.210.173]) by mx1.freebsd.org (Postfix) with ESMTP id 779632D6 for ; Sun, 6 Jan 2013 14:56:48 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id w21so15469848iac.18 for ; Sun, 06 Jan 2013 06:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=f72O2m7Yaze8S94LAWdfNzoP/MFtJz7GAMJZMTCXQow=; b=gZfFDZBbRT2LPAP08Cy5hTi/SuVSVC1NyBxpJxIG2xF0J/FQRl1Hy51BSCWhnVzSfQ SKFbU9GKV++cjUz5oR/agnvUhrWeN6EyVhAB5NQjGlGcwC0TKOboMj5FHB6+cBxrHrWY TMFqpo33HZv8is5P0fe4rTPOX8KZMY5oxOb734uigq108SpqboxEXYsmTYVBENLGm7Th lWzqjNEmJEouMQEwKjYCOXRIFsn6kbL/tkEVFf1/aDKtmvNvCmyZOU2nrHC5kHXeihhn hQcCtwcovLE3crV0ZrhCxRA9SQO2pF1lcuZ2eU6KbHZ2jjg210c3VgvNhFjeSSSJHPdo TIUQ== MIME-Version: 1.0 X-Received: by 10.50.220.166 with SMTP id px6mr3414088igc.8.1357484202569; Sun, 06 Jan 2013 06:56:42 -0800 (PST) Received: by 10.64.30.11 with HTTP; Sun, 6 Jan 2013 06:56:42 -0800 (PST) In-Reply-To: <50E9738F.2020601@locolomo.org> References: <50E86E42.1010300@locolomo.org> <50E9738F.2020601@locolomo.org> Date: Sun, 6 Jan 2013 09:56:42 -0500 Message-ID: Subject: Re: Problem compling apr1 from ports From: "illoai@gmail.com" To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org 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 14:56:48 -0000 On 6 January 2013 07:52, Erik N=F8rgaard 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 --