Forgive me if this has been addressed, as I'm setting up some FreeBsd boxes after not having tinkered with things in a while.

I've set up a brand new FreeBsd 6 box, updated the ports and went to install /usr/ports/www/apache22. This in turn triggered an install of perm-5.8.8 which failed as follows:

 make install
===>  Vulnerability check disabled, database not found

You may use the following build options:

        WITH_DEBUGGING=yes        Build perl with debugging support.
        WITH_GDBM=yes             Build GDBM_File extension.
        WITHOUT_PERL_MALLOC=yes   Use FreeBSD system malloc
                                  (uses less memory, but slower).
        WITHOUT_PERL_64BITINT=yes Disable 64 bit integers
                                  (affects only 32-bit platforms).
        WITH_THREADS=yes          Build threaded perl.
        ENABLE_SUIDPERL=yes       Also build set-user-id suidperl binary.

===>  Extracting for perl-5.8.8
=> Checksum OK for perl-5.8.8.tar.bz2.
=> Checksum OK for BSDPAN-5.8.8.tar.bz2.
=> Checksum OK for defined-or-5.8.8.bz2.
===>  Patching for perl-5.8.8
===>  Applying distribution patches for perl-5.8.8
===>  Applying FreeBSD patches for perl-5.8.8
/usr/bin/sed -e 's|%%PREFIX%%|/usr/local|g;' -e 's|%%PERL_VER%%|5.8.8|g;' -e 's|%%PERL_VERSION%%|5.8.8|g;' -e 's|%%PERL_ARCH%%|mach|g;' -e 's|%%MAKE_CONF%%|/etc/make.conf|g;' /usr/ports/lang/perl5.8/files/use.perl > /usr/ports/lang/perl5.8/work/use.perl /usr/bin/sed -e 's|%%PERL%%|/usr/local/bin/perl|g;' /usr/ports/lang/perl5.8/files/perl-after-upgrade > /usr/ports/lang/perl5.8/work/perl-after-upgrade /bin/cp /usr/ports/lang/perl5.8/work/use.perl /usr/ports/lang/perl5.8/work/pkg-install /bin/cp /usr/ports/lang/perl5.8/work/use.perl /usr/ports/lang/perl5.8/work/pkg-deinstall -e 's|%%PTHREAD_LIBS%%||g;' -e 's|%%PTHREAD_CFLAGS%%||g;' /usr/ports/lang/perl5.8/work/perl-5.8.8/hints/freebsd.sh
-e: not found
*** Error code 127

Stop in /usr/ports/lang/perl5.8.

The code relating to this seems to be:

post-patch:
        ${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \
                -e 's|%%PERL_VER%%|${PERL_VER}|g;' \
                -e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \
                -e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \
                -e 's|%%MAKE_CONF%%|${__MAKE_CONF}|g;' \
                ${FILESDIR}/use.perl \
                > ${WRKDIR}/use.perl
        ${SED} -e 's|%%PERL%%|${PERL}|g;' \
                ${FILESDIR}/perl-after-upgrade \
                > ${WRKDIR}/perl-after-upgrade
        ${CP} ${WRKDIR}/use.perl ${PKGINSTALL}
        ${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL}
.if defined(WITH_THREADS)
        ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g;' \
                -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g;' \
                ${WRKSRC}/hints/freebsd.sh
.else
        ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%||g;' \
                -e 's|%%PTHREAD_CFLAGS%%||g;' \
                ${WRKSRC}/hints/freebsd.sh
.endif

As near as I can tell (which is not very near) the REINPLACE_CMD seems to be evaluating to nothing. Is this a problem with the Makefile? or the system configuration? I have no idea what REINPLACE_CMD does or is, so any help would be appreciated.

Thanks!

Marc


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to