From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Didier Godefroy Newsgroups: gmane.os.tru64.managers Subject: Compiling php on tru64 5.1b Date: Sat, 29 Jul 2006 17:04:50 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154207133 29204 80.91.229.2 (29 Jul 2006 21:05:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Jul 2006 21:05:33 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat Jul 29 23:05:27 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1G6vzx-0000ur-TE for gotm-tru64-unix-managers@gmane.org; Sat, 29 Jul 2006 23:05:26 +0200 Original-Received: (qmail 20285 invoked by uid 49509); 29 Jul 2006 21:05:07 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20276 invoked from network); 29 Jul 2006 21:05:07 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 29 Jul 2006 21:05:07 -0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3600B02NWJX2@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 29 Jul 2006 17:05:07 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0J3600B02NWCX4@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 29 Jul 2006 17:05:07 -0400 (EDT) Original-Received: from pop-borzoi.atl.sa.earthlink.net (pop-borzoi.atl.sa.earthlink.net [207.69.195.70]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J36007MINW9VO@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 29 Jul 2006 17:05:00 -0400 (EDT) Original-Received: from user-0c6tm0a.cable.mindspring.com ([24.110.216.10] helo=[192.168.1.2]) by pop-borzoi.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1G6vzU-0000G5-00 for tru64-unix-managers@ornl.gov; Sat, 29 Jul 2006 17:04:56 -0400 Original-To: Tru64 Unix managers X-Envelope-from: ldg@ulysium.net User-Agent: Microsoft-Entourage/11.2.5.060620 Thread-Topic: Compiling php on tru64 5.1b Thread-Index: AcazUqE237eWIR9FEduzjAADk8NDuA== X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on spam2.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.4 Xref: news.gmane.org gmane.os.tru64.managers:8981 Archived-At: It really seems like tru64 is more and more neglected by developers. I was able to compile php a few years ago without too much trouble, although a few details always need to be fixed to make it work, it was still possible to get it done. But now I can't find one version of it that compiles properly without many errors. They always break something that used to work before and never fix it for tru64. I'm trying to compile 4.4.2 right now and it's giving me errors on header files that come with tru64 and that most other packages have no trouble using when compiling them. How could most packages compile properly using those header files and not php??? I posted this issue on a php mailing list and got ignored, so I'm thinking someone else using tru64 came across this and hopefully got a solution. I even googled on this issue and didn't find anything helpful. Here's what I get: /bin/sh /usr/local/apache/src/php-4.4.2/libtool --silent --preserve-dup-deps --mode=compile /usr/local/apache/src/php-4.4.2/meta_ccld -DNO_SLACK -I/usr/local/apache/include -DOSF1 -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include -Isapi/apache2handler/ -I/usr/local/apache/src/php-4.4.2/sapi/apache2handler/ -DPHP_ATOM_INC -I/usr/local/apache/src/php-4.4.2/include -I/usr/local/apache/src/php-4.4.2/main -I/usr/local/apache/src/php-4.4.2 -I/usr/local/include -I/usr/local/mysql/include -I/usr/local/apache/src/php-4.4.2/ext/xml/expat -I/usr/local/apache/src/php-4.4.2/TSRM -I/usr/local/apache/src/php-4.4.2/Zend -O4 -g3 -ieee -pthread -DZTS -c /usr/local/apache/src/php-4.4.2/sapi/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo cc: Error: /usr/include/dlfcn.h, line 59: Missing ";". (nosemi) extern int dladdr __((void *, Dl_info *)); -------------------------------^ cc: Error: /usr/include/dlfcn.h, line 63: Missing ";". (nosemi) extern void *dlopen __((const char *, int )); ------------------------^ cc: Error: /usr/include/dlfcn.h, line 64: Missing ";". (nosemi) extern void *dlsym __((void *, const char *)); -----------------------^ cc: Error: /usr/include/dlfcn.h, line 65: Missing ";". (nosemi) extern char *dlerror __((void)); -------------------------^ cc: Error: /usr/include/dlfcn.h, line 66: Missing ";". (nosemi) extern int dlclose __((void *)); -------------------------^ cc: Error: /usr/include/setjmp.h, line 166: Missing ";". (nosemi) extern void longjmp __((jmp_buf, int)); ------------------------^ cc: Error: /usr/include/setjmp.h, line 167: Missing ";". (nosemi) extern int setjmp __((jmp_buf)); -----------------------^ cc: Error: /usr/include/setjmp.h, line 168: Missing ";". (nosemi) extern int sigsetjmp __((sigjmp_buf, int)); --------------------------^ cc: Error: /usr/include/setjmp.h, line 169: Missing ";". (nosemi) extern void siglongjmp __((sigjmp_buf, int)); ---------------------------^ cc: Error: /usr/include/setjmp.h, line 170: Missing ";". (nosemi) extern int _setjmp __((jmp_buf)); ------------------------^ cc: Error: /usr/include/setjmp.h, line 171: Missing ";". (nosemi) extern void _longjmp __((jmp_buf, int)); -------------------------^ cc: Error: /usr/include/time.h, line 220: Missing ";". (nosemi) extern void tzset __((void)); ------------------^ cc: Error: /usr/include/pthread.h, line 973: In this declaration, "pthreadTeb_t" appears to be used as if it named a type, but there is no declared type of that name visible. (typedefnotdef) typedef pthreadTeb_t __pthreadTeb_t; --------^ cc: Error: /usr/include/pthread.h, line 984: Ill-formed parameter type list. (parmtyplist) typedef void __pthreadExtDestructorFunc_t (void*, pthread_t, pthread_key_t); -----------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1038: In this declaration, "pthread_t" appears to be used as if it named a type, but there is no declared type of that name visible. (typedefnotdef) extern pthread_t pthread_self (void); -------^ cc: Error: /usr/include/pthread.h, line 1190: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_sigmask (int, const sigset_t*, sigset_t*); -----------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1192: Missing identifier. (parnoident) extern int pthread_kill (pthread_t, int); ------------------------------------^ cc: Error: /usr/include/pthread.h, line 1217: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_init (pthread_mutexattr_t*); ------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1220: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t*, int*); ----------------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1222: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t*, int); ----------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1231: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t*, int*); -------------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1233: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t*, int); -------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1235: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t*, int*); ------------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1237: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_setpshared (pthread_mutexattr_t*, int); ------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1239: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_gettype (const pthread_mutexattr_t*, int*); ---------------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1241: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_settype (pthread_mutexattr_t*, int); ---------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1243: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutexattr_destroy (pthread_mutexattr_t*); ---------------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1252: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutex_init (pthread_mutex_t*, const pthread_mutexattr_t*); ----------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1264: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutex_destroy (pthread_mutex_t*); -------------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1276: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutex_lock (pthread_mutex_t*); ----------------------------------------------^ cc: Error: /usr/include/pthread.h, line 1281: Error parsing parameter list. Found "*" when expecting one of: ",", ")". (notexpecting) extern int pthread_mutex_getprioceiling (const pthread_mutex_t*, int*); --------------------------------------------------------------^ cc: Severe: More than 30 errors were encountered in the course of compilation. (toomanyerr) *** Exit 1 Stop. -- Didier Godefroy mailto:dg@ulysium.net