From owner-freebsd-ports Mon Jun 11 4:30: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 47BF137B403 for ; Mon, 11 Jun 2001 04:30:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5BBU7o32108; Mon, 11 Jun 2001 04:30:07 -0700 (PDT) (envelope-from gnats) Date: Mon, 11 Jun 2001 04:30:07 -0700 (PDT) Message-Id: <200106111130.f5BBU7o32108@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Anton Berezin Subject: Re: ports/27828: eperl fails to build Reply-To: Anton Berezin Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/27828; it has been noted by GNATS. From: Anton Berezin To: Erich Zigler Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/27828: eperl fails to build Date: Mon, 11 Jun 2001 13:19:48 +0200 On Sat, Jun 02, 2001 at 04:35:18AM -0000, Erich Zigler wrote: > Eperl fails to build > > ===> Building for eperl-2.2.14 > cc -pthread -I/usr/libdata/perl/5.00503/mach/CORE -I. -c eperl_main.c > /usr/bin/perl5.00503 eperl_perl5_sm.pl >eperl_perl5_sm.h > cc -pthread -I/usr/libdata/perl/5.00503/mach/CORE -I. -c eperl_perl5.c > eperl_perl5.c: In function `Perl5_ForceUnbufferedStdout': > eperl_perl5.c:74: `thr' undeclared (first use in this function) > eperl_perl5.c:74: (Each undeclared identifier is reported only once > eperl_perl5.c:74: for each function it appears in.) > eperl_perl5.c: In function `Perl5_SetScalar': > eperl_perl5.c:103: `thr' undeclared (first use in this function) > *** Error code 1 Eperl is apparently not compatible with threaded perl. The error above is produced because of #define PL_defoutgv (thr->Tdefoutgv) in the threaded Perl headers, and the fact that the Perl5_ForceUnbufferedStdout() function in eperl_perl5.c does not use dARGS macro properly. Though it is likely possible to fix the port (or eperl itself), the best solution is to not use threaded perl at all - it is evil. Most recent versions of FreeBSD do not have the possibility to build threaded Perl in the base system any longer (of course, one can always build such manually). So, to solve your problem, either upgrade to the most recent -STABLE, or comment out PERL_THREADED=true in your /etc/make.conf and rebuild the system (or just perl). Cheers, +Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message