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.
> Chandan
> ===>  Extracting for firefox-,1
> => Checksum OK for firefox-
> ===>   firefox-,1 depends on file: /usr/local/bin/perl5.8.7 - found
> ===>  Patching for firefox-,1
> ===>   firefox-,1 depends on file: /usr/local/bin/perl5.8.7 - found
> ===>  Applying FreeBSD patches for firefox-,1
> -e: not found
> *** Error code 127
> 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

    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.

From the firefox port directory, try running:


If the result is not the same as this:

    happy-idiot-talk:...ports/www/firefox:% make -V SED -V REINPLACE_CMD 
    /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.



Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

Attachment: pgpHZ2LyM3N9G.pgp
Description: PGP signature

Reply via email to