From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: emanuele.lombardi@casaccia.enea.it Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: symbol "__pthread_self" unresolved in APACHE2 with PHP4 Date: Fri, 23 Aug 2002 16:06:05 +0200 (CEST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200208231406.g7NE68A1540193@botticelli.casaccia.enea.it> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: main.gmane.org 1030111541 18576 127.0.0.1 (23 Aug 2002 14:05:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2002 14:05:41 +0000 (UTC) Cc: emanuele.lombardi@casaccia.enea.it Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17iF4D-0004pS-00 for ; Fri, 23 Aug 2002 16:05:37 +0200 Original-Received: (qmail 23239 invoked by uid 5); 23 Aug 2002 14:06:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23230 invoked by uid 49493); 23 Aug 2002 14:06:47 -0000 Original-Received: from emanuele.lombardi@casaccia.enea.it by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.407593 secs); 23 Aug 2002 14:06:47 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 23 Aug 2002 14:06:47 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1A00LO6V78X2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 23 Aug 2002 10:06:46 -0400 (EDT) Original-Received: from botticelli.casaccia.enea.it (botticelli.casaccia.enea.it [192.107.71.111]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1A00N3IV711R@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 23 Aug 2002 10:06:38 -0400 (EDT) Original-Received: from tintoretto.casaccia.enea.it (tintoretto.casaccia.enea.it [192.107.71.168]) by botticelli.casaccia.enea.it (8.11.5/8.11.5) with ESMTP id g7NE68A1540193; Fri, 23 Aug 2002 16:06:09 +0200 (CEST) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1458 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1458 Dear gurus, I did succed in joining php4 (as a DSO module) and Apache-2.0.40 on our Tru64 5.1A cluster. The problem has been solved simply telling CC to use -ptrhead setenv CC -pthread before configuring and making both apache ./configure --prefix=/usr/local/apache-2.0.40 --enable-mods-shared=most gmake gmake install and php ./configure --with-mysql --with apxs2=/usr/local/apache-2.0.40/bin/apxs --with-pdflib=/usr/local/pdflib --with-jpg-dir==usr/local/lib --with-tiff-dir=/usr/local/lib --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --prefix=/usr/local/php4-STABLE-200208220000 --with-java=/usr/opt/java130 gmake gmake install The php.ini file I'm using is the same of the php4.2.2 version and it is located in /usr/local/php4-STABLE-200208220000 (--prefix) apache-status returns: Server Version: Apache/2.0.40 (Unix) PHP/4.2.3-dev DAV/2 Server Built: Aug 23 2002 10:19:31 phpinfo() returns: PHP Version 4.2.3-dev System OSF1 XXXXX.XXXXXX.XXXXXXX.XXXXXXX V5.1 1885 alpha Build Date Aug 23 2002 10:54:19 Configure Command './configure' '--with-mysql' '--with-apxs2=/usr/local/apache-2.0.40/bin/apxs' '--with-pdflib=/usr/local/pdflib' '--with-jpg-dir==usr/local/lib' '--with-tiff-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--with-zlib-dir=/usr/local/lib' '--prefix=/usr/local/php4-STABLE-200208220000_APACHE2' '--with-java=/usr/opt/java130' Server API Apache 2.0 Filter Virtual Directory Support enabled Configuration File (php.ini) Path /usr/local/php4-STABLE-200208220000_APACHE2/lib/php.ini Debug Build no Thread Safety enabled Hardware: COMPAQ AS4100 & ES40 OS: COMPAQ Tru64 Cluster 5.1A 2nd patch cc: Compaq C V6.4-215 (dtk) many thanks to Mike Caplin. Emanuele -- $$$ Emanuele Lombardi $$$ mail: ENEA CLIM Casaccia $$$ I-00060 S.M. di Galeria (RM) ITALY $$$ mailto:emanuele.lombardi@casaccia.enea.it $$$ tel +39 0630483366 $$$ fax +39 0630484264 ||| $$$ \|/ ;_; $$$ What does a process need | /"\ $$$ to become a daemon ? | \v/ $$$ | | $$$ - a fork o---/!\--- $$$ | |_| $$$ | _/ \_ $$$* Contrary to popular belief, UNIX is user friendly. $$$ It's just very particular about who it makes friends with. $$$* Computers are not intelligent, but they think they are. $$$* True programmers never die, they just branch to an odd address $$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS