From owner-freebsd-questions@FreeBSD.ORG Sat Apr 29 18:58:15 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 BE4DB16A401 for ; Sat, 29 Apr 2006 18:58:15 +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 72E4A43D45 for ; Sat, 29 Apr 2006 18:58:15 +0000 (GMT) (envelope-from hunter_freebsd@hunter.net) Received: from [199.175.106.55] (helo=cluster.islandnet.com) by outgoing.islandnet.com with ESMTP id 1FZudv-000F84-pi for freebsd-questions@freebsd.org; Sat, 29 Apr 2006 11:58:11 -0700 Received: from [24.108.0.208] (port=2971 helo=DB0HL211.hunter.net) by cluster06.islandnet.com with ESMTP id 1FZudy-000H2e-Kx for freebsd-questions@freebsd.org; Sat, 29 Apr 2006 11:58:15 -0700 Message-Id: <6.2.5.6.0.20060429120235.032d8d00@hunter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Sat, 29 Apr 2006 12:03:05 -0700 To: freebsd-questions@freebsd.org From: Marc In-Reply-To: <7.0.1.0.0.20060429093531.01e5c190@hunter.net> References: <7.0.1.0.0.20060429093531.01e5c190@hunter.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-GeoIP: CA Canada Subject: Re: 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 18:58:15 -0000 My bad.... an out of date ports-base was to blame... Marc At 09:41 AM 04/29/2006, Marc Hunter wrote: >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 "freebsd-questions-unsubscribe@freebsd.org" > >