Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 04:30:07 -0700 (PDT)
From:      Anton Berezin <tobez@tobez.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/27828: eperl fails to build
Message-ID:  <200106111130.f5BBU7o32108@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/27828; it has been noted by GNATS.

From: Anton Berezin <tobez@tobez.org>
To: Erich Zigler <erich@tacni.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106111130.f5BBU7o32108>