From owner-freebsd-questions@FreeBSD.ORG Sat Apr 29 16:41:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C748416A401 for ; Sat, 29 Apr 2006 16:41:26 +0000 (UTC) (envelope-from hunter_freebsd@hunter.net) Received: from outgoing.islandnet.com (outgoing.islandnet.com [199.175.106.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81B2E43D46 for ; Sat, 29 Apr 2006 16:41:26 +0000 (GMT) (envelope-from hunter_freebsd@hunter.net) Received: from [199.175.106.57] (helo=cluster.islandnet.com) by outgoing.islandnet.com with ESMTP id 1FZsVW-000EnH-sO for freebsd-questions@freebsd.org; Sat, 29 Apr 2006 09:41:22 -0700 Received: from [24.108.0.208] (port=1380 helo=D59HCM91.hunter.net) by cluster08.islandnet.com with ESMTP id 1FZsVZ-000Hk9-RF for freebsd-questions@freebsd.org; Sat, 29 Apr 2006 09:41:26 -0700 Message-Id: <7.0.1.0.0.20060429093531.01e5c190@hunter.net> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sat, 29 Apr 2006 09:41:32 -0700 To: freebsd-questions@freebsd.org From: Marc Hunter Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-GeoIP: CA Canada Subject: REINPLACE_CMD (perl-5.8.8) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 16:41:27 -0000 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