Date: Wed, 2 Aug 2006 12:25:55 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Chandan Haldar <chandanh@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Firefox 1.5.0.5 port build error Message-ID: <20060802112555.GA49403@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <44CF05A7.902@ieee.org> References: <44CF05A7.902@ieee.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Aug 01, 2006 at 01:11:27PM +0530, Chandan Haldar wrote:
> Having another crack at building firefox 1.5 on FreeBSD 6.0 Release...
> Anyone knows what this cryptic error could be due to? Thanks in advance.
>=20
> Chandan
>=20
>=20
> =3D=3D=3D> Extracting for firefox-1.5.0.5,1
> =3D> Checksum OK for firefox-1.5.0.5-source.tar.bz2.
> =3D=3D=3D> firefox-1.5.0.5,1 depends on file: /usr/local/bin/perl5.8.7 =
- found
> =3D=3D=3D> Patching for firefox-1.5.0.5,1
> =3D=3D=3D> firefox-1.5.0.5,1 depends on file: /usr/local/bin/perl5.8.7 =
- found
> =3D=3D=3D> Applying FreeBSD patches for firefox-1.5.0.5,1
> -e: not found
> *** Error code 127
>=20
> Stop in /home/newports/www/firefox.
This is usually a symptom of not updating the whole ports tree. If I
remember correctly, the trouble is caused by a missing definition of
one of the standard command variables from /usr/ports/Mk/bsd.port.mk.
In this case it seems it would be one of either the SED or the
REINPLACE_CMD --
happy-idiot-talk:...ports/www/firefox:% grep -e '-e ' Makefile
@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' \
@${REINPLACE_CMD} -e
'/accessibility.typeaheadfind.enablesound/s/true/false/ ;
\
So make(1) is trying to run '-e' as a command, and that doesn't work.
=46rom the firefox port directory, try running:
make -V SED -V REINPLACE_CMD
If the result is not the same as this:
happy-idiot-talk:...ports/www/firefox:% make -V SED -V REINPLACE_CMD=20
/usr/bin/sed
/usr/bin/sed -i.bak
then you need to track down exactly where SED or REINPLACE_CMD are
being mangled, and fix that. Check for potential breakage in
/etc/make.conf, and use cvsup or portsnap or your method of choice to
grab a clean copy of the whole ports tree.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
iD8DBQFE0IvD8Mjk52CukIwRAkwSAJ9IlV/FFY+fKZMz8IGdJpFFDMLB5gCfWAh8
Hgyi/BBNZUN+7HnwDxOtkn0=
=hIQP
-----END PGP SIGNATURE-----
--nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060802112555.GA49403>
