From owner-freebsd-questions@FreeBSD.ORG Mon May 12 17:44:57 2003 Return-Path: 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 80CB237B401 for ; Mon, 12 May 2003 17:44:57 -0700 (PDT) Received: from himinbjorg.ttsg.com (207-237-196-31.c3-0.nyr-ubr3.nyr.ny.cable.rcn.com [207.237.196.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4B0C43F93 for ; Mon, 12 May 2003 17:44:56 -0700 (PDT) (envelope-from tuc@ttsg.com) Received: (from tuc@localhost) by himinbjorg.ttsg.com (8.12.8/8.12.8) id h4D0in1n046095; Mon, 12 May 2003 20:44:49 -0400 (EDT) (envelope-from tuc) From: Tuc Message-Id: <200305130044.h4D0in1n046095@himinbjorg.ttsg.com> To: mij@soupnazi.org (Jim Mock) Date: Mon, 12 May 2003 20:44:49 -0400 (EDT) In-Reply-To: from "Jim Mock" at May 12, 2003 05:41:29 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: WITH_THREADS - How? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 00:44:57 -0000 > > On Monday, May 12, 2003, at 04:17 PM, Tuc wrote: > > Hi, > > > > Want my /usr/ports/lang/perl5.6 to compile with threads, and wondered > > what I need to install to get WITH_THREADS to be defined. > > The perl port doesn't have an option to easily compile with threads > (for whatever reason), but the perl5.8 port does. > Sorry, meant 5.8, not 5.6 > > Without looking too > much into it, you may be able to shove this bit into the perl port's > Makefile: > > .if defined(WITH_THREADS) > CONFIGURE_ARGS+= -Dusethreads=y > PKGNAMESUFFIX= -threaded > .else > CONFIGURE_ARGS+= -Dusethreads=n > .endif > > Then run: > > # make -DWITH_THREADS install > No, its already there in 5.8 . I was thinking that maybe there was something I needed to install that would set the "WITH_THREADS". Usually when something has a "-DXXXXXXX" it states it as you compile. I didn't see that. > > In /usr/ports/lang/perl. If it doesn't work, either email the perl > port maintainer, or use the perl5.8 port if you can. > Thanks, will try! Tuc/TTSG Internet Services, Inc.