From owner-freebsd-questions Sun Mar 16 10:26:18 2003 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 01A4737B401 for ; Sun, 16 Mar 2003 10:26:17 -0800 (PST) Received: from cornflake.nickelkid.com (cornflake.nickelkid.com [216.116.135.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 147E543F75 for ; Sun, 16 Mar 2003 10:26:16 -0800 (PST) (envelope-from gglynn@biffduncan.com) Received: from cornflake.nickelkid.com (localhost [127.0.0.1]) by cornflake.nickelkid.com (8.12.8/8.12.8) with ESMTP id h2GIQM17006601 for ; Sun, 16 Mar 2003 13:26:22 -0500 (EST) (envelope-from gglynn@biffduncan.com) Received: from localhost (gglynn@localhost) by cornflake.nickelkid.com (8.12.8/8.12.8/Submit) with ESMTP id h2GIQLaK006598 for ; Sun, 16 Mar 2003 13:26:22 -0500 (EST) X-Authentication-Warning: cornflake.nickelkid.com: gglynn owned process doing -bs Date: Sun, 16 Mar 2003 13:26:21 -0500 (EST) From: George Glynn X-X-Sender: gglynn@cornflake.nickelkid.com To: questions@freebsd.org Subject: Compiling with -pthread Message-ID: <20030316131804.R6564-100000@cornflake.nickelkid.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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