Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 21:58:03 -0500 (CDT)
From:      Doug Lee <dgl@visi.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20165: PERL_THREADED=true fails; "yes" works; make.conf says true
Message-ID:  <200007250258.VAA11216@kirk.dsl.visi.com>

next in thread | raw e-mail | index | archive | help

>Number:         20165
>Category:       bin
>Synopsis:       PERL_THREADED=true fails; "yes" works; make.conf says true
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 20:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Doug Lee
>Release:        FreeBSD 4.0-20000718-STABLE i386
>Organization:
>Environment:

	

>Description:

Many people make /etc/make.conf by copying all or part of
/etc/defaults/make.conf and editing.  /etc/defaults/make.conf says:.

# To build perl with thread support
#PERL_THREADED=	true

But "true" is ignored and treated as "no."  To compile with thread
support, you must use "yes" instead.

Reason:  /usr/src/gnu/usr.bin/perl/perl/Makefile compares
PERL_THREADED to "yes" but not to "true."

>How-To-Repeat:

Try setting PERL_THREADED to true in /etc/make.conf and doing make
depend/make in /usr/src/gnu/usr.bin/perl to rebuild perl.  Thread
support will not be included.  If you set PERL_THREADED to yes in
/etc/make.conf, it will.

>Fix:

Change /etc/default/make.conf to say "yes" or (perhaps better) make
perl's makefile(s) notice "true" settings properly.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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