Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 13:26:21 -0500 (EST)
From:      George Glynn <gglynn@biffduncan.com>
To:        questions@freebsd.org
Subject:   Compiling with -pthread
Message-ID:  <20030316131804.R6564-100000@cornflake.nickelkid.com>

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

I'm attempting to compile mod_php4 with support for Verisign's PayFlow Pro
credit card payment system. Verisign distributes a PayFlow Pro "SDK" (I
use the term loosely, and only because that's what they call it) for
FreeBSD 4.x that contains a precompiled shared library called libpfpro.so
and an associated header file pfpro.h. One of the problems that I'm having
using the library is that it is threaded with POSIX threads, while my
current installation of Apache 1.3 + mod_ssl + mod_php4 is built without
pthread support. I'm not up on programming and compiling threaded
applications, so my questions are:

1) Can I just go ahead and recompile all three components with
   CFLAGS+= -pthread without doing anything unexpected to Apache and
   mod_ssl?

2) Do I have to recompile Apache and mod_ssl with -pthread, or can I
   get away with just recompiling mod_php4?

Thanks in advance,
George



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




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