Building php-5.2.5 on tru64 5.1b

From: Didier Godefroy <ldg_at_ulysium.net>
Date: Mon, 21 Apr 2008 19:08:20 +0200

Hi all,

I get this error when building php 5.2.5 on tru64 5.1b (2650):

checking for Apache 2.0 handler-module support via DSO through APXS...
configure: error: ZTS currently requires working POSIX threads. We were
unable to verify that your system supports Pthreads

I see many errors in config.log, maybe related:

configure:4068: cc -o conftest -O4 -g3 -pthread -I/usr/local/include -ieee
-I/usr/local/include -L/usr/local/lib -L/usr/local/lib conftest.c -lcpdfm
-lc_r 1>&5
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: Error: /usr/include/pthread.h, line 1283: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting)
extern int pthread_mutex_setprioceiling (pthread_mutex_t*, int, int*);
--------------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1292: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting)
extern int pthread_mutex_trylock (pthread_mutex_t*);
-------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1304: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting)
extern int pthread_mutex_unlock (pthread_mutex_t*);
------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1309: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting)
extern int pthread_condattr_init (pthread_condattr_t*);
----------------------------------------------------^
cc: Error: /usr/include/pthread.h, line 1311: Error parsing parameter list.
Found "*" when expecting one of: ",", ")". (notexpecting)
extern int pthread_condattr_destroy (pthread_condattr_t*);
-------------------------------------------------------^
cc: Severe: More than 30 errors were encountered in the course of
compilation. (toomanyerr)
configure: failed program was:
#line 4050 "configure"
#include "confdefs.h"

Of course as for all other package builds, I am using the -pthread in the
cflags, which never gives any problems ususally.

Is there any workaround someone has used on tru64??


-- 
Didier Godefroy
mailto:dg_at_ulysium.net
Received on Mon Apr 21 2008 - 17:12:28 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT