WITH_THREADS - How?
tuc at ttsg.com
Mon May 12 17:44:57 PDT 2003
> 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
> .if defined(WITH_THREADS)
> CONFIGURE_ARGS+= -Dusethreads=y
> PKGNAMESUFFIX= -threaded
> CONFIGURE_ARGS+= -Dusethreads=n
> 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
> 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.
More information about the freebsd-questions