On Wed, Apr 29, 2009 at 12:05 AM, Beavis <[email protected]> wrote:
> you might want to check your $PATH and make sure python's there. it
> would be nice as well to include your openbsd version and if it's
> -stable or -current to make the folks aware and try to test it out for
> you as well.
>
> -b
>
> On Wed, Apr 29, 2009 at 12:13 AM, Aaron Stellman <[email protected]>
> wrote:
>> mozilla-firefox 3.0.10 configure doesn't pick up python.
>> 3.0.9 built fine a week ago or so
>>
>>
>> Script started on Tue Apr 28 23:09:43 2009
>> # make update
[snip]
>> ===> Extracting for mozilla-firefox-3.0.10
>> ===> Patching for mozilla-firefox-3.0.10
>> Running autoconf-2.13 in /usr/obj/ports/mozilla-firefox-3.0.10/mozilla
>> ===> Configuring for mozilla-firefox-3.0.10
>> perl -pi -e 's|_LOCALBASE_|/usr/local|g; s|_X11BASE_|/usr/X11R6|g'
>> /usr/obj/ports/mozilla-firefox-3.0.10/mozilla/browser/app/mozilla.in
>> /usr/obj/ports/mozilla-firefox-3.0.10/mozilla/extensions/spellcheck/hunspell/src/mozHunspell.cpp
>>
>> /usr/obj/ports/mozilla-firefox-3.0.10/mozilla/js/src/xpconnect/shell/Makefile.in
>>
>> /usr/obj/ports/mozilla-firefox-3.0.10/mozilla/toolkit/xre/nsXREDirProvider.cpp
[snip]
>> checking for perl5... no
>> checking for perl... /usr/bin/perl
>> checking for minimum required perl version >= 5.006... 5.010000
>> checking for full perl installation... yes
>> checking for python... no
>> configure: error: python was not found in $PATH
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mozilla-firefox (line 2147 of
>> /usr/ports/infrastructure/mk/bsd.port.mk).
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mozilla-firefox (line 1427 of
>> /usr/ports/infrastructure/mk/bsd.port.mk).
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mozilla-firefox (line 1967 of
>> /usr/ports/infrastructure/mk/bsd.port.mk).
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mozilla-firefox (line 1477 of
>> /usr/ports/infrastructure/mk/bsd.port.mk).
You need to update your ports tree the MODPY_BIN variable is now being
pulled in from the python module:
----------------------------
revision 1.116
date: 2009/04/26 11:01:05; author: ajacoutot; state: Exp; lines: +1 -2
CONFIGURE_ENV += PYTHON="${MODPY_BIN}" is inherited from the python module
----------------------------
or apply the following one-line change to your mozilla-firefox Makefile.
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/mozilla-firefox/Makefile,v
retrieving revision 1.117
diff -u -p -r1.117 Makefile
--- Makefile 28 Apr 2009 21:50:16 -0000 1.117
+++ Makefile 29 Apr 2009 07:43:22 -0000
@@ -110,6 +110,7 @@ MAKE_ENV= MOZ_CO_PROJECT=browser \
SO_VERSION="${SO_VERSION}"
CONFIGURE_ENV= ${MAKE_ENV} \
MOZ_ENABLE_COREXFONTS=1 \
+ PYTHON="${MODPY_BIN}" \
topsrcdir=${WRKSRC}
MODPY_RUNDEP= No