tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Building php-5.2.5 on tru64 5.1b
@ 2008-04-21 17:08 Didier Godefroy
  0 siblings, 0 replies; only message in thread
From: Didier Godefroy @ 2008-04-21 17:08 UTC (permalink / raw)
  To: Tru64 Unix managers

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@ulysium.net




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-21 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 17:08 Building php-5.2.5 on tru64 5.1b Didier Godefroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox